Classes | Static Public Attributes | Private Types | Static Private Member Functions | List of all members
cet::_::has_clone< T > Struct Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_06_01/source/cetlib/value_ptr.h"

Classes

struct  cloneable
 

Static Public Attributes

static bool constexpr value {sizeof(test<T>(0)) == sizeof(yes_t)}
 

Private Types

typedef char(& yes_t)[1]
 
typedef char(& no_t)[2]
 

Static Private Member Functions

template<class U >
static yes_t test (cloneable< U > *)
 
template<class >
static no_t test (...)
 

Detailed Description

template<class T>
struct cet::_::has_clone< T >

Definition at line 70 of file value_ptr.h.

Member Typedef Documentation

template<class T >
typedef char(& cet::_::has_clone< T >::no_t)[2]
private

Definition at line 128 of file value_ptr.h.

template<class T >
typedef char(& cet::_::has_clone< T >::yes_t)[1]
private

Definition at line 127 of file value_ptr.h.

Member Function Documentation

template<class T >
template<class U >
static yes_t cet::_::has_clone< T >::test ( cloneable< U > *  )
staticprivate
template<class T >
template<class >
static no_t cet::_::has_clone< T >::test (   ...)
staticprivate

Member Data Documentation

template<class T >
bool constexpr cet::_::has_clone< T >::value {sizeof(test<T>(0)) == sizeof(yes_t)}
static

Definition at line 139 of file value_ptr.h.


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