| Flow 2.0.0
    Flow project: Full implementation reference. | 
Properties of various container types. More...
#include <traits.hpp>
| Static Public Attributes | |
| static constexpr bool | S_CHANGE_INVALIDATES_ITERATORS = false | 
| If false, a change (erasure, addition of an element) in the Containerwill invalidate NO iterator to thatContainer, previously obtained, except for potentially any iterator to the element being erased (if applicable).  More... | |
| static constexpr bool | S_SORTED = false | 
| trueif and only if iterating over the elements of aContaineryields them in sorted order.  More... | |
| static constexpr bool | S_CONSTANT_TIME_SEARCH = false | 
| trueif and only if finding an element ofContainerby key takes at most constant amortized time.  More... | |
| static constexpr bool | S_CONSTANT_TIME_INSERT = false | 
| trueif and only if adding an element to aContainer(anywhere) takes at most constant amortized time.  More... | |
| Private Member Functions | |
| Container_traits ()=delete | |
| Forbid all instantion. | |
Properties of various container types.
For example, "Container_traits<std::vector>::S_CHANGE_INVALIDATES_ITERATORS == true", while "Container_traits<std::list>::S_CHANGE_INVALIDATES_ITERATORS == false". The template defines the interface, then the specializations for various container types define the implementations.
| Container | The container type being described. | 
Definition at line 42 of file traits.hpp.
| 
 | staticconstexpr | 
If false, a change (erasure, addition of an element) in the Container will invalidate NO iterator to that Container, previously obtained, except for potentially any iterator to the element being erased (if applicable). 
Definition at line 52 of file traits.hpp.
| 
 | staticconstexpr | 
true if and only if adding an element to a Container (anywhere) takes at most constant amortized time. 
Definition at line 58 of file traits.hpp.
| 
 | staticconstexpr | 
true if and only if finding an element of Container by key takes at most constant amortized time. 
Definition at line 56 of file traits.hpp.
| 
 | staticconstexpr | 
true if and only if iterating over the elements of a Container yields them in sorted order. 
Definition at line 54 of file traits.hpp.