Inherits gears::concepts::And< Container< T >, TraitOf< detail::is_associative_container, T > >.
template<typename T>
struct gears::concepts::AssociativeContainer< T >
A Unary concept that checks if a type is an associative container.
It must meet the Container concept. In addition, the following typedefs must be defined:
key_type
key_compare
value_compare
and the following expressions must be valid:
T x;
key_compare kc = x.key_comp();
value_compare vc = x.value_comp();
iterator a = x.emplace(args...);
iterator b = x.emplace_hint(iterator{}, args...);
iterator c = x.insert(iterator{});
iterator d = x.insert(iterator{}, value_type{});
iterator e = x.insert(iterator{}, iterator{});
iterator f = x.erase(const_iterator{});
iterator g = x.erase(const_iterator{}, const_iterator{});
size_type h = x.erase(key_type{});
x.clear();
iterator i = x.find(key_type{});
size_type j = x.count(key_type{});
iterator k = x.lower_bound(key_type{});
iterator l = x.upper_bound(key_type{});
std::pair<iterator, iterator> m = x.equal_range(key_type{});
- Template Parameters
-
Definition at line 340 of file container.hpp.