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
T
long double T
Definition:
Basic3DVectorLD.h:48
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:644
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