General Utility Library for C++14  2.11
gul14::IsContainerLike< T, typename > Struct Template Reference

Detailed Description

template<typename T, typename = int>
struct gul14::IsContainerLike< T, typename >

Helper type trait object to determine if a type is a container.

A container is identified by the presense of the cbegin() and cend() member functions and a value_type type alias.

If the type specified as template parameter has the required members std::true_type is returned, otherwise std::false_type.

Template Parameters
TType to check
Returns
std::true_type if the type is probably a container
Since
GUL version 2.6

#include <traits.h>

Inherits std::false_type.


The documentation for this struct was generated from the following file: