thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::Pointer::PtrTraits< const T * > Struct Template Reference

Specialization of the PtrTraits class for standard bare const pointers. More...

#include <PtrTraits.h>

Inheritance diagram for ThePEG::Pointer::PtrTraits< const T * >:

Public Types

typedef T value_type
 Template argument typedef. More...
 
typedef T & reference
 Template argument typedef. More...
 
typedef const T & const_reference
 Template argument typedef. More...
 
typedef T * pointer
 Template argument typedef. More...
 
typedef T * const_pointer
 Template argument typedef. More...
 

Static Public Member Functions

static const T * barePointer (const T *p)
 Return the bare pointer of the given pointer object.
 
static pointer create ()
 Create an object and return a pointer to it.
 
static pointer create (const_reference t)
 Create an copy of an object and return a pointer to it.
 
static void destroy (pointer tp)
 Destroy the object pointed to.
 
template<class R >
static const_pointer DynamicCast (const R *r)
 Cast dynamically.
 
static const_pointer ConstCast (const T *r)
 Do not cast away constness.
 
static const_pointer PtrCast (const T *t)
 Cast from a basic pointer.
 

Static Public Attributes

static const bool reference_counted = false
 The bare pointer is not reference counted.
 

Detailed Description

template<class T>
struct ThePEG::Pointer::PtrTraits< const T * >

Specialization of the PtrTraits class for standard bare const pointers.

Definition at line 106 of file PtrTraits.h.

Member Typedef Documentation

◆ const_pointer

template<class T >
typedef T* ThePEG::Pointer::PtrTraits< const T * >::const_pointer

Template argument typedef.

Definition at line 117 of file PtrTraits.h.

◆ const_reference

template<class T >
typedef const T& ThePEG::Pointer::PtrTraits< const T * >::const_reference

Template argument typedef.

Definition at line 113 of file PtrTraits.h.

◆ pointer

template<class T >
typedef T* ThePEG::Pointer::PtrTraits< const T * >::pointer

Template argument typedef.

Definition at line 115 of file PtrTraits.h.

◆ reference

template<class T >
typedef T& ThePEG::Pointer::PtrTraits< const T * >::reference

Template argument typedef.

Definition at line 111 of file PtrTraits.h.

◆ value_type

template<class T >
typedef T ThePEG::Pointer::PtrTraits< const T * >::value_type

Template argument typedef.

Definition at line 109 of file PtrTraits.h.


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