|
template<class T > |
auto | memory::traits::test_for_allocate (int T::*) -> decltype(std::declval< T >().allocate(std::declval< size_t >()), std::true_type{}) |
| Tests for the existence of allocate(size_t) in order to disambiguate if T is an allocator class. More...
|
|
template<class > |
std::false_type | memory::traits::test_for_allocate (...) |
|
template<typename T , std::enable_if_t< std::is_array< T >::value > * = nullptr> |
Unique_ptr< T, std::nullptr_t > | memory::make_unique (size_t size) |
| In-place constructs a new unique pointer with no specific allocator and with array type T . More...
|
|
template<typename T , typename A , std::enable_if_t< std::is_array< T >::value > * = nullptr> |
Unique_ptr< T, A > | memory::make_unique (A &alloc, size_t size) |
| In-place constructs a new unique pointer with a specific allocator and with array type T . More...
|
|
template<typename T , typename A , typename... Args, std::enable_if_t<!std::is_array< T >::value &&memory::is_allocator< A >::value > * = nullptr> |
Unique_ptr< T, A > | memory::make_unique (A &alloc, Args &&...args) |
| In-place constructs a new unique pointer with a specific allocator and with non-array type T . More...
|
|
template<typename T , typename... Args, std::enable_if_t<!std::is_array< T >::value > * = nullptr> |
Unique_ptr< T, std::nullptr_t > | memory::make_unique (Args &&...args) |
| In-place constructs a new unique pointer with no specific allocator and with non-array type T . More...
|
|
template<typename T , typename U > |
bool | operator== (const memory::PFS_allocator< T > &lhs, const memory::PFS_allocator< U > &rhs) |
|
template<typename T , typename U > |
bool | operator!= (const memory::PFS_allocator< T > &lhs, const memory::PFS_allocator< U > &rhs) |
|
template<typename T1 , typename A1 , typename T2 , typename A2 > |
bool | operator== (memory::Unique_ptr< T1, A1 > const &lhs, memory::Unique_ptr< T2, A2 > const &rhs) |
|
template<typename T1 , typename A1 , typename T2 , typename A2 > |
bool | operator!= (memory::Unique_ptr< T1, A1 > const &lhs, memory::Unique_ptr< T2, A2 > const &rhs) |
|
template<typename T1 , typename A1 > |
bool | operator== (memory::Unique_ptr< T1, A1 > const &lhs, std::nullptr_t) |
|
template<typename T1 , typename A1 > |
bool | operator!= (memory::Unique_ptr< T1, A1 > const &lhs, std::nullptr_t) |
|