CMS 3D CMS Logo

List of all members | Static Public Member Functions
edm::value_ptr_traits< T > Struct Template Reference

#include <value_ptr.h>

Static Public Member Functions

static Tclone (T const *p)
 
static void destroy (T *p)
 

Detailed Description

template<typename T>
struct edm::value_ptr_traits< T >

Definition at line 51 of file value_ptr.h.

Member Function Documentation

◆ clone()

template<typename T >
static T* edm::value_ptr_traits< T >::clone ( T const *  p)
inlinestatic

Definition at line 52 of file value_ptr.h.

52 { return new T(*p); }

References AlCaHLTBitMon_ParallelJobs::p.

Referenced by edm::value_ptr< edm::service::MessageLoggerDefaults >::createFrom().

◆ destroy()

template<typename T >
static void edm::value_ptr_traits< T >::destroy ( T p)
inlinestatic

Definition at line 53 of file value_ptr.h.

53 { delete p; }

References AlCaHLTBitMon_ParallelJobs::p.

Referenced by edm::value_ptr< edm::service::MessageLoggerDefaults >::~value_ptr().

AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
T
long double T
Definition: Basic3DVectorLD.h:48