Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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 1302 of file type_traits.h.

Member Function Documentation

◆ take() [1/2]

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

◆ take() [2/2]

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 >
bool const CLHEP::is_ptr_convertible< From, To >::value = sizeof( take( static_cast<From*>(0) ) ) == sizeof(tt::yes_t)
static

Definition at line 1309 of file type_traits.h.


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