yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis  1.7.2
YODA::CIterable< T > Struct Template Reference

#include <Traits.h>

Static Public Member Functions

template<typename C >
static SFINAE::yestest (typename C::const_iterator *c)
 
template<typename >
static SFINAE::notest (...)
 

Static Public Attributes

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

Detailed Description

template<typename T>
struct YODA::CIterable< T >

Todo:
Replace with C++11 std stuff

Definition at line 56 of file Traits.h.

Member Function Documentation

◆ test() [1/2]

template<typename T >
template<typename C >
static SFINAE::yes& YODA::CIterable< T >::test ( typename C::const_iterator *  c)
static

◆ test() [2/2]

template<typename T >
template<typename >
static SFINAE::no& YODA::CIterable< T >::test (   ...)
static

Member Data Documentation

◆ value

template<typename T >
const bool YODA::CIterable< T >::value = sizeof(test<T>(0)) == sizeof(SFINAE::yes)
static

Definition at line 59 of file Traits.h.


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