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

Static Public Attributes | Static Protected Member Functions
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 (...)
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 1302 of file Matrix/CLHEP/Utility/type_traits.h.


Member Function Documentation

template<typename From , typename To >
static tt::yes_t CLHEP::is_ptr_convertible< From, To >::take ( To *  ) [static, protected]
template<typename From , typename To >
static tt::yes_t CLHEP::is_ptr_convertible< From, To >::take ( To *  ) [static, protected]
template<typename From , typename To >
static tt::yes_t CLHEP::is_ptr_convertible< From, To >::take ( To *  ) [static, protected]
template<typename From , typename To >
static tt::yes_t CLHEP::is_ptr_convertible< From, To >::take ( To *  ) [static, protected]
template<typename From , typename To >
static tt::yes_t CLHEP::is_ptr_convertible< From, To >::take ( To *  ) [static, protected]
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::no_t CLHEP::is_ptr_convertible< From, To >::take (   ...) [static, protected]
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::no_t CLHEP::is_ptr_convertible< From, To >::take (   ...) [static, protected]
template<typename From , typename To >
static tt::no_t CLHEP::is_ptr_convertible< From, To >::take (   ...) [static, protected]

Member Data Documentation

template<typename From , typename To >
static 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 Matrix/CLHEP/Utility/type_traits.h.


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