IsCppContainer

IsCppContainer struct

Checks if specific type is STL-style container. To do so, checks for iterator and const_iterator member types existance. If both exist, inherits std::true_type, otherwise inherits std::false_type.

template<typename T,typename Enable>class IsCppContainer : public std::false_type

Template parameters

ParameterDescription
TType to check.
EnableFormal argument for SFINAE to work.

See Also