This class provides a container to store values of the (template parameter) type VALUE, and also provides the iterators to access the values. The iterators are designed to conform to a standard input iterator, and report any misuse of the iterator.
Synopsis
Declared in <bsltf_testvaluesarray.h>
template<
class VALUE,
class ALLOCATOR = bsl::allocator<VALUE>,
class CONVERTER = TestValuesArray_DefaultConverter<VALUE, ALLOCATOR>,
bool USE_SENTINEL = false>
class TestValuesArray;
Type Aliases
Name |
Description |
Alias for the type returned by |
|
Alias for the type returned by |
|
Alias for the const input iterator over this container. |
|
Alias for the const end sentinel for this container. |
|
Alias for the mutable input iterator over this container. |
|
Alias for the mutable end sentinel for this container. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this container and all contained elements. |
Return an iterator providing non‐modifiable access to the first |
|
Return the address of the non‐modifiable first element in this container. |
|
|
|
Return an iterator to the element at the specified |
|
Return a reference providing non‐modifiable access to the element at the specified |
|
|
|
Make all iterators dereferenceable and comparable again. |
|
Return number of elements in this container. |
Created with MrDocs