|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <mfcstl_list_adaptor.h>
Public Methods | |
| list_adaptor (C &c) | |
| Constructs an instance of the list adaptor. | |
| size_type | size () const |
| Returns the number of elements in the sequence. | |
| ms_bool_t | empty () const |
| Indicates whether the search sequence is empty. | |
| const_iterator | begin () const |
| Begins the iteration. | |
| const_iterator | end () const |
| Ends the iteration. | |
Static Public Methods | |
| size_type | max_size () |
| Returns the maximum number of elements in the sequence. | |
This class takes a container type, e.g. CStringList, as its primary (and only non-default) template argument, C. The second template parameter, T, defaults to list_adaptor_traits<C>, for which specialisations are provided for the following types
| C | The container type |
| T | The traits type. With translators that support default template arguments, this is defaulted to list_adaptor_traits<C> |
|
|
Constructs an instance of the list adaptor.
|
|
|
Begins the iteration.
|
|
|
Indicates whether the search sequence is empty.
|
|
|
Ends the iteration.
|
|
|
Returns the maximum number of elements in the sequence.
|
|
|
Returns the number of elements in the sequence.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |