CMS 3D CMS Logo

OwnerPolicy::Copy Struct Reference

#include <Utilities/General/interface/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.

00023 { 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 p.

00024 { delete p;} 


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:49:16 2009 for CMSSW by  doxygen 1.5.4