/cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.30/CxxUtils/CxxUtils/make_unique.h File Reference
Provide a version of the C++14 make_unique.
More...
Go to the source code of this file.
Detailed Description
Provide a version of the C++14 make_unique.
- Author:
- scott snyder <snyder@bnl.gov>
- Date:
- Jun, 2014 `stdunique_ptr` is best used with `make_unique`. However, make_unique is not in C++11, only C++14. This header provides a version of `make_unique` in the `CxxUtils` namespace usable with either C++11 or C++14.
Here, we only bother with the version of `make_unique` for single objects.