FWCore
Utilities
interface
make_sentry.h
Go to the documentation of this file.
1
#ifndef Framework_Utilities_make_sentry_h
2
#define Framework_Utilities_make_sentry_h
3
// -*- C++ -*-
4
//
5
// Package: Framework/Utilities
6
// Class : make_sentry
7
//
16
//
17
// Original Author: root
18
// Created: Fri, 19 Aug 2016 20:02:12 GMT
19
//
20
21
// system include files
22
#include <memory>
23
// user include files
24
25
// forward declarations
26
27
namespace
edm
{
29
template
<
typename
T,
typename
F>
30
std::unique_ptr<T, F>
make_sentry
(
T
* iObject,
F
iFunc) {
31
return
std::unique_ptr<T, F>(iObject, iFunc);
32
}
33
}
// namespace edm
34
35
#endif
edm
HLT enums.
Definition:
AlignableModifier.h:19
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition:
blowfish.cc:163
T
long double T
Definition:
Basic3DVectorLD.h:48
edm::make_sentry
std::unique_ptr< T, F > make_sentry(T *iObject, F iFunc)
NOTE: if iObject is null, then iFunc will not be called.
Definition:
make_sentry.h:30
Generated for CMSSW Reference Manual by
1.8.16