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

#include <feature.hpp>

Collaboration diagram for alps::accumulators::has_result_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::result_type *)
 
template<typename U >
static double check (...)
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<typename T>
struct alps::accumulators::has_result_type< T >

Definition at line 34 of file feature.hpp.

Member Typedef Documentation

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

Definition at line 37 of file feature.hpp.

Member Function Documentation

template<typename T >
template<typename U >
static char alps::accumulators::has_result_type< T >::check ( typename U::result_type *  )
static
template<typename T >
template<typename U >
static double alps::accumulators::has_result_type< T >::check (   ...)
static

Member Data Documentation

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

Definition at line 38 of file feature.hpp.


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