A trait for access to a map container.
More...
#include <containertrait.h>
template<typename Container_>
struct OTest2::MapContainerTrait< Container_ >
A trait for access to a map container.
The trait must offer:
- typedef KeyType: type of the keys
- typedef ValueType: type of the mapped values
- function begin(container_): access to the beginning iterator. The iterator must points a std::pair<KeyType, ValueType>.
- function end(container_): access to the ending iterator.
- function equalRange(container_, key_): the function returns a pair of iterators pointing a range of items mapped with the same key.
- function keyEqual(container_, key1_, key2_): the function returns true if the keys equal.
Definition at line 167 of file containertrait.h.
The documentation for this struct was generated from the following file: