nds2-client - Developer
0.16.7
Loading...
Searching...
No Matches
src
libndscxx
module
nds_memory.hh
Go to the documentation of this file.
1
#ifndef NDS_DETAIL_MEMORY_HH
2
#define NDS_DETAIL_MEMORY_HH
3
4
#include <memory>
5
6
namespace
NDS
7
{
8
namespace
detail
9
{
22
template
<
typename
T,
typename
... Ts >
23
std::unique_ptr< T >
24
make_unique
( Ts&&... params )
25
{
26
return
std::unique_ptr< T >(
27
new
T( std::forward< Ts >( params )... ) );
28
}
29
}
30
}
31
32
#endif
// NDS_DETAIL_MEMORY_HH
NDS::detail::make_unique
std::unique_ptr< T > make_unique(Ts &&... params)
Definition
nds_memory.hh:24
NDS
The NDS client namespace.
Definition
debug_stream.cc:18
Generated by
1.9.8