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

#include <max_num_binning.hpp>

Collaboration diagram for alps::accumulators::has_feature< T, max_num_binning_tag >:
Collaboration graph

Public Types

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

Static Public Member Functions

template<typename R , typename C >
static char helper (R(C::*)() const)
 
template<typename C >
static char check (std::integral_constant< std::size_t, sizeof(helper(&C::max_num_binning))> *)
 
template<typename C >
static double check (...)
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<typename T>
struct alps::accumulators::has_feature< T, max_num_binning_tag >

Definition at line 96 of file max_num_binning.hpp.

Member Typedef Documentation

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

Definition at line 100 of file max_num_binning.hpp.

Member Function Documentation

template<typename T >
template<typename C >
static char alps::accumulators::has_feature< T, max_num_binning_tag >::check ( std::integral_constant< std::size_t, sizeof(helper(&C::max_num_binning))> *  )
static
template<typename T >
template<typename C >
static double alps::accumulators::has_feature< T, max_num_binning_tag >::check (   ...)
static
template<typename T >
template<typename R , typename C >
static char alps::accumulators::has_feature< T, max_num_binning_tag >::helper ( R(C::*)()  const)
static

Member Data Documentation

template<typename T >
constexpr bool alps::accumulators::has_feature< T, max_num_binning_tag >::value = type::value
static

Definition at line 101 of file max_num_binning.hpp.


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