MADNESS  version 0.9
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
madness::has_result_type< T > Struct Template Reference

#include <typestuff.h>

Public Types

typedef char yes [1]
 
typedef char no [2]
 

Static Public Member Functions

template<typename C >
static yestest (typename C::result_type *)
 
template<typename >
static notest (...)
 

Static Public Attributes

static const bool value = sizeof(test<T>(0)) == sizeof(yes)
 

Member Typedef Documentation

template<typename T >
typedef char madness::has_result_type< T >::no[2]
template<typename T >
typedef char madness::has_result_type< T >::yes[1]

Member Function Documentation

template<typename T >
template<typename C >
static yes& madness::has_result_type< T >::test ( typename C::result_type *  )
static
template<typename T >
template<typename >
static no& madness::has_result_type< T >::test (   ...)
static

Member Data Documentation

template<typename T >
const bool madness::has_result_type< T >::value = sizeof(test<T>(0)) == sizeof(yes)
static

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