Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
tree.t
tuple t
Definition:
tree.py:139
edm::NewPolicy::clone
static T * clone(const T &t)
Definition:
NewPolicy.h:7
edm::NewPolicy
Definition:
NewPolicy.h:6
T
long double T
Definition:
Basic3DVectorLD.h:57
Generated for CMSSW Reference Manual by
1.8.5