libcopp  2.2.0
Public Types | Static Public Member Functions
future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > > Struct Reference

#include <storage.h>

Inheritance diagram for future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >:
Inheritance graph
Collaboration diagram for future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >:
Collaboration graph

Public Types

using value_type = void
 
using ptr_type = std::unique_ptr< void, small_object_optimize_storage_deleter< void > >
 
using storage_type = ptr_type
 

Static Public Member Functions

static UTIL_FORCEINLINE void construct_default_storage (storage_type &out) LIBCOPP_MACRO_NOEXCEPT
 
template<class U , class UDELETOR , typename std::enable_if< std::is_convertible< typename std::decay< U >::type, bool >::value, bool >::type = false>
static UTIL_FORCEINLINE void construct_storage (storage_type &out, std::unique_ptr< U, UDELETOR > &&in) LIBCOPP_MACRO_NOEXCEPT
 
template<class U , typename std::enable_if< std::is_convertible< typename std::decay< U >::type, bool >::value, bool >::type = false>
static UTIL_FORCEINLINE void construct_storage (storage_type &out, U &&in) LIBCOPP_MACRO_NOEXCEPT
 
static UTIL_FORCEINLINE void move_storage (storage_type &out, storage_type &&in) LIBCOPP_MACRO_NOEXCEPT
 
static UTIL_FORCEINLINE void reset (storage_type &storage) LIBCOPP_MACRO_NOEXCEPT
 
static UTIL_FORCEINLINE void swap (storage_type &l, storage_type &r) LIBCOPP_MACRO_NOEXCEPT
 
static UTIL_FORCEINLINE const ptr_typeunwrap (const storage_type &storage) LIBCOPP_MACRO_NOEXCEPT
 
static UTIL_FORCEINLINE ptr_typeunwrap (storage_type &storage) LIBCOPP_MACRO_NOEXCEPT
 

Detailed Description

Definition at line 85 of file storage.h.

Member Typedef Documentation

◆ ptr_type

using future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::ptr_type = std::unique_ptr<void, small_object_optimize_storage_deleter<void> >

Definition at line 89 of file storage.h.

◆ storage_type

using future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::storage_type = ptr_type

Definition at line 90 of file storage.h.

◆ value_type

using future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::value_type = void

Definition at line 88 of file storage.h.

Member Function Documentation

◆ construct_default_storage()

static UTIL_FORCEINLINE void future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::construct_default_storage ( storage_type out)
inlinestatic

Definition at line 92 of file storage.h.

◆ construct_storage() [1/2]

template<class U , class UDELETOR , typename std::enable_if< std::is_convertible< typename std::decay< U >::type, bool >::value, bool >::type = false>
static UTIL_FORCEINLINE void future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::construct_storage ( storage_type out,
std::unique_ptr< U, UDELETOR > &&  in 
)
inlinestatic

Definition at line 96 of file storage.h.

◆ construct_storage() [2/2]

template<class U , typename std::enable_if< std::is_convertible< typename std::decay< U >::type, bool >::value, bool >::type = false>
static UTIL_FORCEINLINE void future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::construct_storage ( storage_type out,
U &&  in 
)
inlinestatic

Definition at line 107 of file storage.h.

◆ move_storage()

static UTIL_FORCEINLINE void future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::move_storage ( storage_type out,
storage_type &&  in 
)
inlinestatic

Definition at line 115 of file storage.h.

◆ reset()

static UTIL_FORCEINLINE void future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::reset ( storage_type storage)
inlinestatic

Definition at line 125 of file storage.h.

◆ swap()

static UTIL_FORCEINLINE void future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::swap ( storage_type l,
storage_type r 
)
inlinestatic

Definition at line 126 of file storage.h.

◆ unwrap() [1/2]

static UTIL_FORCEINLINE const ptr_type& future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::unwrap ( const storage_type storage)
inlinestatic

Definition at line 140 of file storage.h.

◆ unwrap() [2/2]

static UTIL_FORCEINLINE ptr_type& future::poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >::unwrap ( storage_type storage)
inlinestatic

Definition at line 141 of file storage.h.


The documentation for this struct was generated from the following file: