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

#include <mean.hpp>

Collaboration diagram for alps::accumulators::has_feature< T, mean_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::mean))> *)
 
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, mean_tag >

Definition at line 39 of file mean.hpp.

Member Typedef Documentation

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

Definition at line 43 of file mean.hpp.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 44 of file mean.hpp.


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