Add lttng::make_unique
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 May 2022 18:24:07 +0000 (14:24 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 13 Jun 2022 20:34:46 +0000 (16:34 -0400)
commit1823e905abb7044e38434cc7d16fdec8545dda1c
tree277687415f083a15c2b21644fe04017d35f5af2c
parentd84afb7e356b5e8c93fdfcd66217fdf36e0f1fd3
Add lttng::make_unique

Add an equivalent to std::make_unique introduced in C++14.

See https://herbsutter.com/gotw/_102/ for more details.

Change-Id: I67e5b54d883e311869d7c1272f9a2905dc349212
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/Makefile.am
src/common/make-unique.hpp [new file with mode: 0644]
This page took 0.02625 seconds and 5 git commands to generate.