CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Static Public Attributes | Static Protected Member Functions | List of all members
CLHEP::is_ptr_convertible< From, To > Struct Template Reference

#include <type_traits.h>

Static Public Attributes

static const bool 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 (...)
 
static tt::yes_t take (To *)
 
static tt::no_t take (...)
 
static tt::yes_t take (To *)
 
static tt::no_t take (...)
 
static tt::yes_t take (To *)
 
static tt::no_t take (...)
 
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 Matrix/CLHEP/Utility/type_traits.h.

Member Function Documentation

◆ take() [1/10]

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

◆ take() [2/10]

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

◆ take() [3/10]

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

◆ take() [4/10]

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

◆ take() [5/10]

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

◆ take() [6/10]

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

◆ take() [7/10]

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

◆ take() [8/10]

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

◆ take() [9/10]

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

◆ take() [10/10]

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

Member Data Documentation

◆ value

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

Definition at line 1310 of file Matrix/CLHEP/Utility/type_traits.h.


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