Checks if a type is a container. More...
Inherits gears::concepts::And< Or< TraitOf< detail::is_container, T >, TraitOf< detail::is_forward_list, T > >, Regular< T >, EqualityComparable< T >, Copyable< T >, Destructible< T > >.
A Unary concept that checks if a type is a container.
A type that meets this concept must provide the following typedefs:
value_type
reference
const_reference
iterator
const_iterator
difference_type
size_type
It must meet the following concepts:
The following expressions must be valid:
Where x and y are instances of T.
There is a specialisation for std::forward_list<T>
to make it a valid container.
T | Type to check. |
Definition at line 221 of file container.hpp.