CMS 3D CMS Logo

Static Public Member Functions

OwnerPolicy::Transfer 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 18 of file own_ptr.h.


Member Function Documentation

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

Definition at line 19 of file own_ptr.h.

References L1TEmulatorMonitor_cff::p, and X.

{ X* it=p; p=0; return it;} 
template<class X >
static void OwnerPolicy::Transfer::remove ( X *  p) [inline, static]

Definition at line 20 of file own_ptr.h.

References L1TEmulatorMonitor_cff::p.

{ delete p;}