Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Attributes | Static Protected Member Functions
CLHEP::is_ptr_convertible< From, To > Struct Template Reference

#include <type_traits.h>

Static Public Attributes

static bool const value = sizeof( take( static_cast<From*>(0) ) ) == sizeof(tt::yes_t)
 

Static Protected Member Functions

static tt::yes_t take (To *)
 
static tt::no_t take (...)
 

Detailed Description

template<typename From, typename To>
struct CLHEP::is_ptr_convertible< From, To >

Definition at line 154 of file type_traits.h.

Member Function Documentation

template<typename From , typename To >
static tt::yes_t CLHEP::is_ptr_convertible< From, To >::take ( To *  )
staticprotected
template<typename From , typename To >
static tt::no_t CLHEP::is_ptr_convertible< From, To >::take (   ...)
staticprotected

Field Documentation

template<typename From , typename To >
bool const CLHEP::is_ptr_convertible< From, To >::value = sizeof( take( static_cast<From*>(0) ) ) == sizeof(tt::yes_t)
static

Definition at line 1310 of file type_traits.h.


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