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

#include <binning_analysis.hpp>

Collaboration diagram for alps::accumulators::has_feature< T, binning_analysis_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::autocorrelation))> *)
 
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, binning_analysis_tag >

Definition at line 51 of file binning_analysis.hpp.

Member Typedef Documentation

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

Definition at line 55 of file binning_analysis.hpp.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 56 of file binning_analysis.hpp.


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