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

CLHEP::is_ptr_convertible< From, To > Struct Template Reference

#include <type_traits.h>

List of all members.

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

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

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


Member Data 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:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7