Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
CopyDefinitionWithoutInheritance< X > Class Template Reference

#include <AbsPtr.h>

Static Public Member Functions

static X * copy (const X *f)
 

Detailed Description

template<class X>
class CopyDefinitionWithoutInheritance< X >

Definition at line 480 of file AbsPtr.h.

Member Function Documentation

◆ copy()

template<class X >
static X * CopyDefinitionWithoutInheritance< X >::copy ( const X *  f)
inlinestatic

Definition at line 482 of file AbsPtr.h.

482 {
483#ifdef DEBUG_ACTIVEPTR
484 mcout << "static X* CopyDefinitionWithoutInheritance::copy(const X* f)\n";
485#endif
486 return new X(*f);
487 }
#define mcout
Definition: prstream.h:133

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