ALPSCore reference
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
alps::has_value_type< T > Struct Template Reference

#include <has_value_type.hpp>

Inheritance diagram for alps::has_value_type< T >:
Inheritance graph
Collaboration diagram for alps::has_value_type< T >:
Collaboration graph

Public Types

typedef std::integral_constant< bool, sizeof(char)==sizeof(check< T >0))> type
 

Static Public Member Functions

template<typename U >
static char check (typename U::value_type *)
 
template<typename U >
static double check (...)
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<typename T>
struct alps::has_value_type< T >

Definition at line 16 of file has_value_type.hpp.

Member Typedef Documentation

template<typename T >
typedef std::integral_constant<bool, sizeof(char) == sizeof(check<T>0))> alps::has_value_type< T >::type

Definition at line 19 of file has_value_type.hpp.

Member Function Documentation

template<typename T >
template<typename U >
static char alps::has_value_type< T >::check ( typename U::value_type *  )
static
template<typename T >
template<typename U >
static double alps::has_value_type< T >::check (   ...)
static

Member Data Documentation

template<typename T >
constexpr bool alps::has_value_type< T >::value = type::value
static

Definition at line 20 of file has_value_type.hpp.


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