Belle II Software
release-06-00-14
MakeUnique.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#pragma once
9
10
#include <memory>
11
12
namespace
Belle2
{
17
namespace
TrackFindingCDC {
18
24
template
<
typename
T,
typename
... Args>
25
std::unique_ptr<T> makeUnique(Args&& ... args)
26
{
27
return
std::unique_ptr<T>(
new
T(std::forward<Args>(args)...));
28
}
29
30
}
32
}
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
tracking
trackFindingCDC
utilities
include
MakeUnique.h
Generated on Thu Jul 14 2022 08:14:29 for Belle II Software by
1.9.1