libcopp 2.3.1
|
#include <storage.h>
Public Types | |
using | value_type = T |
using | ptr_type = TPTR |
using | storage_type = ptr_type |
Static Public Member Functions | |
static LIBCOPP_UTIL_FORCEINLINE void | construct_default_storage (storage_type &out) noexcept |
template<class U , class UDELETOR , typename std::enable_if< std::is_base_of< T, typename std::decay< U >::type >::value, bool >::type = false> | |
static LIBCOPP_UTIL_FORCEINLINE void | construct_storage (storage_type &out, std::unique_ptr< U, UDELETOR > &&in) noexcept |
template<class U , typename std::enable_if< std::is_base_of< T, typename std::decay< U >::type >::value &&type_traits::is_shared_ptr< ptr_type >::value, bool >::type = false> | |
static LIBCOPP_UTIL_FORCEINLINE void | construct_storage (storage_type &out, LIBCOPP_COPP_NAMESPACE_ID::memory::strong_rc_ptr< U > &&in) noexcept |
template<class U , typename std::enable_if< std::is_base_of< T, typename std::decay< U >::type >::value &&type_traits::is_shared_ptr< ptr_type >::value, bool >::type = false> | |
static LIBCOPP_UTIL_FORCEINLINE void | construct_storage (storage_type &out, ::std::shared_ptr< U > &&in) noexcept |
template<class... U> | |
static LIBCOPP_UTIL_FORCEINLINE void | construct_storage (storage_type &out, U &&...in) noexcept(std::is_nothrow_constructible< value_type, U... >::value) |
static LIBCOPP_UTIL_FORCEINLINE void | move_storage (storage_type &out, storage_type &&in) noexcept |
static LIBCOPP_UTIL_FORCEINLINE void | reset (storage_type &storage) noexcept |
static LIBCOPP_UTIL_FORCEINLINE void | swap (storage_type &l, storage_type &r) noexcept |
static LIBCOPP_UTIL_FORCEINLINE const ptr_type & | unwrap (const storage_type &storage) noexcept |
static LIBCOPP_UTIL_FORCEINLINE ptr_type & | unwrap (storage_type &storage) noexcept |
using future::poll_storage_base< T, TPTR >::ptr_type = TPTR |
using future::poll_storage_base< T, TPTR >::storage_type = ptr_type |
using future::poll_storage_base< T, TPTR >::value_type = T |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
Definition at line 262 of file storage.h.
References std::swap().
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |