HepMC3 event record library
Static Public Member Functions | Static Public Attributes
container_traits< T > Struct Template Reference

Static Public Member Functions

template<typename T2 >
static std::true_type test_comparable (decltype(std::declval< const T2 & >()==std::declval< const T2 & >())*)
 
template<typename T2 >
static std::false_type test_comparable (...)
 
template<typename T2 >
static std::true_type test_value (typename T2::value_type *)
 
template<typename T2 >
static std::false_type test_value (...)
 
template<typename T2 >
static std::true_type test_pair (typename T2::first_type *, typename T2::second_type *)
 
template<typename T2 >
static std::false_type test_pair (...)
 

Static Public Attributes

static constexpr const bool is_comparable = std::is_same<std::true_type, decltype(test_comparable<T>(nullptr))>::value
 
static constexpr const bool is_pair = std::is_same<std::true_type, decltype(test_pair<T>(nullptr, nullptr))>::value
 
static constexpr const bool is_vector = std::is_same<std::true_type, decltype(test_value<T>(nullptr))>::value
 
static constexpr const bool is_element = !is_pair && !is_vector
 

Detailed Description

template<typename T>
struct container_traits< T >

Definition at line 22 of file stl_bind.h.


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