Compute Library
18.05
|
Data Structures | |
struct | _Unique_if |
make_unique is missing in CPP11. More... | |
struct | _Unique_if< T[]> |
Template for array. More... | |
struct | _Unique_if< T[N]> |
Template for array with known bounds (to throw an error). More... | |
Functions | |
template<class T , class... Args> | |
_Unique_if< T >::_Single_object | make_unique (Args &&...args) |
Construct a single object and return a unique pointer to it. More... | |
template<class T > | |
_Unique_if< T >::_Unknown_bound | make_unique (size_t n) |
Construct an array of objects and return a unique pointer to it. More... | |
template<class T , class... Args> | |
_Unique_if< T >::_Known_bound | make_unique (Args &&...)=delete |
It is invalid to attempt to make_unique an array with known bounds. More... | |
_Unique_if<T>::_Single_object arm_compute::support::cpp14::make_unique | ( | Args &&... | args | ) |
Construct a single object and return a unique pointer to it.
[in] | args | Constructor arguments. |
Definition at line 385 of file ToolchainSupport.h.
Referenced by Framework::add_test_case().
_Unique_if<T>::_Unknown_bound arm_compute::support::cpp14::make_unique | ( | size_t | n | ) |
Construct an array of objects and return a unique pointer to it.
[in] | n | Array size |
Definition at line 398 of file ToolchainSupport.h.
References make_unique(), and arm_compute::U.
|
delete |
It is invalid to attempt to make_unique an array with known bounds.
Referenced by make_unique().