pretty_print::has_begin_end_OLD< T > Struct Template Reference

Classes

struct  ChT
 
struct  Derived
 
struct  Dummy
 
struct  Fallback
 

Public Types

typedef std::conditional< has_const_iterator< T >::value, T, Dummy >::type TType
 
typedef TType::const_iterator iter
 

Static Public Member Functions

template<typename C >
static char(& f (ChT< iter(Fallback::*)() const,&C::begin > *))[1]
 
template<typename C >
static char(& f (...))[2]
 
template<typename C >
static char(& g (ChT< iter(Fallback::*)() const,&C::end > *))[1]
 
template<typename C >
static char(& g (...))[2]
 

Static Public Attributes

static bool const beg_value = sizeof(f<Derived>(0)) == 2
 
static bool const end_value = sizeof(g<Derived>(0)) == 2
 

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