DataFormats
Common
interface
NewPolicy.h
Go to the documentation of this file.
1
#ifndef DataFormats_Common_NewPolicy_h
2
#define DataFormats_Common_NewPolicy_h
3
4
namespace
edm
{
5
template
<
typename
T>
6
struct
NewPolicy
{
7
static
T
*
clone
(
const
T
&
t
) {
8
return
new
T
(
t
);
9
}
10
};
11
}
12
13
#endif
edm
HLT enums.
Definition:
AlignableModifier.h:19
OrderedSet.t
t
Definition:
OrderedSet.py:90
T
long double T
Definition:
Basic3DVectorLD.h:48
edm::NewPolicy::clone
static T * clone(const T &t)
Definition:
NewPolicy.h:7
edm::NewPolicy
Definition:
NewPolicy.h:6
Generated for CMSSW Reference Manual by
1.8.16