|
template<typename T , typename... Args> |
MakeUniqueHelper< T >::NonArrayUniquePtr | make_unique (Args &&...args) |
| Implementation of std::make_unique to be introduced in C++14. More...
|
|
template<typename T > |
MakeUniqueHelper< T >::UnknownBoundArrayUniquePtr | make_unique (size_t n) |
| Implementation of std::make_unique to be introduced in C++14. More...
|
|
template<typename T , typename... Args> |
MakeUniqueHelper< T >::KnownBoundArrayUniquePtr | make_unique (Args &&...args)=delete |
| Implementation of std::make_unique to be introduced in C++14. More...
|
|
template<std::size_t N> |
static DUNE_CONSTEXPR make_index_sequence_impl< N >::type | make_index_sequence () |
| a function similar to std::make_index_sequence to be introduced in C++14 More...
|
|
template<class T , T N> |
static DUNE_CONSTEXPR make_index_sequence_impl< N >::type::template rebind< T >::type | make_integer_sequence () |
| a function similar to std::make_integer_sequence to be introduced in C++14 More...
|
|
template<class... T> |
static DUNE_CONSTEXPR make_index_sequence_impl< sizeof...(T) >::type | index_sequence_for () |
| a function similar to std::index_sequence_for to be introduced in C++14 More...
|
|
template<class T > |
std::add_rvalue_reference< T >::type | declval () DUNE_NOEXCEPT |
|
template<typename T , typename... Args>
MakeUniqueHelper<T>::KnownBoundArrayUniquePtr Dune::Std::make_unique |
( |
Args &&... |
args | ) |
|
|
delete |
Implementation of std::make_unique to be introduced in C++14.
- Template Parameters
-
T | Array type of known bound |
Args | Dummy arguments |
This is deleted, since, according to the standard this should not participate in overload resolution
- Parameters
-
- Template Parameters
-
T | Nonarray type of object to be constructed |
...Args | Parameter types for constructor of T |
- Parameters
-
args | Arguments to be passed to constructor of T |
This fallback implementation using perfect forwarding as proposed by Herb Sutter in http://herbsutter.com/gotw/_102/