StatMech
Loading...
Searching...
No Matches
is_container< T > Class Template Reference

#include <IntegerComposition.hpp>

Collaboration diagram for is_container< T >:
Collaboration graph

Static Public Attributes

static constexpr bool value = decltype(test((T*)nullptr))::value
 

Static Private Member Functions

template<class U , void * dummy = (&U::operator[], &U::resize, nullptr)>
static std::true_type test (U *)
 
static std::false_type test (...)
 

Member Function Documentation

◆ test() [1/2]

template<class T >
static std::false_type is_container< T >::test (   ...)
staticprivate

◆ test() [2/2]

template<class T >
template<class U , void * dummy = (&U::operator[], &U::resize, nullptr)>
static std::true_type is_container< T >::test ( U *  )
staticprivate

Member Data Documentation

◆ value

template<class T >
constexpr bool is_container< T >::value = decltype(test((T*)nullptr))::value
staticconstexpr

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