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

#include <Traits.h>

Static Public Member Functions

template<typename C >
static SFINAE::yestest (typename C::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::Iterable< T >

Todo:
Replace with C++11 std stuff

Definition at line 46 of file Traits.h.

Member Function Documentation

◆ test() [1/2]

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

◆ test() [2/2]

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

Member Data Documentation

◆ value

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

Definition at line 49 of file Traits.h.


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