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

Checks if a type is a sequence container. More...

Inherits gears::concepts::And< Container< T >, Or< TraitOf< detail::is_sequence_container, T >, TraitOf< detail::is_array_sequence, T >, TraitOf< detail::is_forward_list, T > > >.

Detailed Description

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

A Unary concept that checks if a type is a sequence container.

It must meet the Container concept. In addition to that, the following expressions must be valid:

T x(size_type{}, value_type{});
T y(iterator{}, iterator{});
iterator a = x.emplace(iterator{}, args...);
iterator b = x.insert(iterator{}, value_type{});
iterator c = x.insert(iterator{}, size_type{}, value_type{});
iterator d = x.insert(iterator{}, iterator{}, iterator{});
iterator e = x.erase(const_iterator{});
iterator f = x.erase(const_iterator{}, const_iterator{});
x.clear();
x.assign(iterator{}, iterator{});
x.assign(size_type{}, value_type{});
Template Parameters
TType to check

Definition at line 299 of file container.hpp.