AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
make_unique_shim.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
2
#pragma once
3
4
#include <memory>
5
6
namespace
aja
{
7
8
// shim for std::make unique from c++14
9
template
<
typename
T,
typename
... Args>
10
std::unique_ptr<T>
make_unique
(Args&&... args)
11
{
12
return
std::unique_ptr<T>(
new
T(std::forward<Args>(args)...));
13
}
14
15
}
// namespace aja
aja::make_unique
std::unique_ptr< T > make_unique(Args &&... args)
Definition:
make_unique_shim.h:10
aja
Definition:
common.cpp:57
libajantv2
ajabase
system
make_unique_shim.h
Generated on Tue Dec 3 2024 10:25:59 for AJA NTV2 SDK by
1.8.17