Alexandria  2.19
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Static Public Member Functions | Static Public Attributes | List of all members
Euclid::Histogram::HasComputeBins< BinType, IterType > Struct Template Reference

Classes

struct  SFINAE
 

Static Public Member Functions

template<typename U >
static char Test (SFINAE< U > *)
 
template<typename U >
static int Test (...)
 

Static Public Attributes

static constexpr bool value = sizeof(Test<BinType>(0)) == sizeof(char)
 

Detailed Description

template<typename BinType, typename IterType>
struct Euclid::Histogram::HasComputeBins< BinType, IterType >

This class as a constexpr static member "value" which will be 'true' iff BinType has a method computeBins that can receive two instances of IterType as parameters

Template Parameters
BinType
IterType

Definition at line 74 of file ComputationImpl.icpp.

Member Function Documentation

template<typename BinType , typename IterType >
template<typename U >
static char Euclid::Histogram::HasComputeBins< BinType, IterType >::Test ( SFINAE< U > *  )
static
template<typename BinType , typename IterType >
template<typename U >
static int Euclid::Histogram::HasComputeBins< BinType, IterType >::Test (   ...)
static

Member Data Documentation

template<typename BinType , typename IterType >
constexpr bool Euclid::Histogram::HasComputeBins< BinType, IterType >::value = sizeof(Test<BinType>(0)) == sizeof(char)
static

Definition at line 81 of file ComputationImpl.icpp.


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