CMS 3D CMS Logo

Static Public Member Functions

OwnerPolicy::Copy Struct Reference

#include <own_ptr.h>

List of all members.

Static Public Member Functions

template<class X >
static X * copy (X *p)
template<class X >
static void remove (X *p)

Detailed Description

Definition at line 22 of file own_ptr.h.


Member Function Documentation

template<class X >
static X* OwnerPolicy::Copy::copy ( X *  p) [inline, static]

Definition at line 23 of file own_ptr.h.

References X.

{ return (p) ? new X(*p) : 0;} 
template<class X >
static void OwnerPolicy::Copy::remove ( X *  p) [inline, static]

Definition at line 24 of file own_ptr.h.

References AlCaHLTBitMon_ParallelJobs::p.

{ delete p;}