This class provide a STL-conforming input iterator over values used for testing (see section [24.2.3 input.iterators]of the C++11 standard. A TestValuesArrayIterator provide access to elements of parameterized type VALUE. An iterator is considered dereferenceable all of the following are satisfied: 1. The iterator refers to a valid element (not end). 2. The iterator has not been dereferenced. 3. The iterator is not a copy of another iterator of which operator++ have been invoked. An iterator is comparable if the iterator is not a copy of another iterator of which operator++ have been invoked.
Declared in <bsltf_testvaluesarray.h>
template<class VALUE>
class TestValuesArrayIterator;
This class is not thread-safe: different iterator objects manipulate shared state without synchronization. This is rarely a concern for the test scenarios supported by this component.
| Name | Description |
|---|---|
difference_type | Alias for ptrdiff_t. |
iterator_category | Alias for std::input_iterator_tag. |
pointer | Alias for a pointer to const VALUE. |
reference | Alias for a reference to const VALUE. |
value_type | Alias for the iterated VALUE. |
| Name | Description |
|---|---|
TestValuesArrayIterator [constructor] | Constructors |
operator= | Assign to this object the value of the specified other object. The behavior is undefined unless other is valid. |
address | Return the position (address) referenced by this iterator. |
operator* | Return the value referred to by this object. This object is no longer dereferenceable after a call to this function. The behavior is undefined unless this iterator is dereferenceable. |
operator++ | Increment operators |
operator-> | Return the address of the element (of the template parameter VALUE) at which this iterator is positioned. The behavior is undefined unless this iterator is dereferenceable. |
| Name | Description |
|---|---|
BloombergLP::bsltf::operator!= | Return true if the specified sentinel and iterator do not refer to the same element, and false otherwise. |
BloombergLP::bsltf::operator!= | Return true if the specified iterator and sentinel do not refer to the same element, and false otherwise. |
BloombergLP::bsltf::operator== | Return true if the specified sentinel and iterator refer to the same element, and false otherwise. |
BloombergLP::bsltf::operator== | Return true if the specified iterator and sentinel refer to the same element, and false otherwise. |
BloombergLP::bsltf::operator!= | Return true if the specified iterators do not refer to the same element, and false otherwise. |
BloombergLP::bsltf::operator== | Return true if the specified iterators refer to the same element, and false otherwise. |
| Name | Description |
|---|---|
operator!= | Return true if the specified lhs and the specified rhs do not refer to the same element, and false otherwise. The behavior is undefined unless lhs and rhs are comparable. |
operator!= | Return true if the specified lhs and the specified rhs do not refer to the same element, and false otherwise. The behavior is undefined unless lhs and rhs are comparable. |
operator== | Return true if the specified lhs and the specified rhs refer to the same element, and false otherwise. The behavior is undefined unless lhs and rhs are comparable. |
operator== | Return true if the specified lhs and the specified rhs refer to the same element, and false otherwise. The behavior is undefined unless lhs and rhs are comparable. |