polyscip::global::impl_own_stl Namespace Reference
Functions | |
template<typename T , typename ... Args> | |
std::unique_ptr< T > | make_unique_helper (std::false_type, Args &&... args) |
template<typename T , typename ... Args> | |
std::unique_ptr< T > | make_unique_helper (std::true_type, Args &&... args) |
Detailed Description
Based on code by Stephan T. Lavavej at http://channel9.msdn.com/Series/ C9-Lectures-Stephan-T-Lavavej-Core-C-/STLCCSeries6
Function Documentation
◆ make_unique_helper() [1/2]
template<typename T , typename ... Args>
std::unique_ptr<T> polyscip::global::impl_own_stl::make_unique_helper | ( | std::false_type | , |
Args &&... | args | ||
) |
Helper function
- Template Parameters
-
T Args
- Parameters
-
args
- Returns
Definition at line 51 of file global_functions.h.
◆ make_unique_helper() [2/2]
template<typename T , typename ... Args>
std::unique_ptr<T> polyscip::global::impl_own_stl::make_unique_helper | ( | std::true_type | , |
Args &&... | args | ||
) |
Helper function
- Template Parameters
-
T Args
- Parameters
-
args
- Returns
Definition at line 63 of file global_functions.h.