All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gears::concepts::AllocatorAwareContainer< T > Struct Template Reference

Checks if a type is a container with an allocator. More...

Inherits gears::concepts::And< Container< T >, TraitOf< detail::is_allocator_aware, T > >.

Detailed Description

template<typename T>
struct gears::concepts::AllocatorAwareContainer< T >

A Unary concept that checks if a type is a container that has an allocator.

It must meet the Container concept. In addition to that, it must have the allocator_type typedef defined and the following expression must be valid:

auto a = x.get_allocator(); // returns allocator_type

Where x is an instance of T.

Template Parameters
TType to check

Definition at line 272 of file container.hpp.