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

#include <Traits.h>

Classes

struct  has_sig
 

Static Public Member Functions

template<typename C >
static SFINAE::yestest (has_sig< void(C::*)(const VAL &),&C::push_back > *)
 
template<typename C >
static SFINAE::notest (...)
 

Static Public Attributes

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

Detailed Description

template<typename T, typename VAL>
struct YODA::Pushable< T, VAL >

Todo:
Replace with C++11 std stuff

Definition at line 66 of file Traits.h.

Member Function Documentation

◆ test() [1/2]

template<typename T , typename VAL >
template<typename C >
static SFINAE::yes& YODA::Pushable< T, VAL >::test ( has_sig< void(C::*)(const VAL &),&C::push_back > *  )
static

◆ test() [2/2]

template<typename T , typename VAL >
template<typename C >
static SFINAE::no& YODA::Pushable< T, VAL >::test (   ...)
static

Member Data Documentation

◆ value

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

Definition at line 70 of file Traits.h.


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