libcopp  2.2.0
Data Structures | Functions | Variables
future Namespace Reference

Data Structures

class  future
 
class  poller
 
struct  small_object_optimize_storage_deleter
 
struct  poll_storage_ptr_selector< void >
 
struct  poll_storage_ptr_selector
 
struct  compact_storage_selector< void >
 
struct  compact_storage_selector
 
struct  poll_storage_base< void, std::unique_ptr< void, small_object_optimize_storage_deleter< void > > >
 
struct  poll_storage_base< T, std::unique_ptr< T, small_object_optimize_storage_deleter< T > > >
 
struct  poll_storage_base
 
struct  compact_storage< T, std::unique_ptr< T, small_object_optimize_storage_deleter< T > > >
 
struct  compact_storage< T, std::shared_ptr< T > >
 
struct  default_compact_storage
 
class  result_base< TOK, TERR, true >
 
class  result_base< TOK, TERR, false >
 
struct  _make_result_instance_helper< TRESULT, false >
 
struct  _make_result_instance_helper< TRESULT, true >
 
class  result_type
 

Functions

template<class T , class... TARGS, typename std::enable_if<!std::is_array< T >::value, int >::type = 0>
EXPLICIT_NODISCARD_ATTR std::unique_ptr< T > make_unique (TARGS &&...args)
 
template<class T , typename std::enable_if< std::is_array< T >::value &&std::extent< T >::value==0, int >::type = 0>
EXPLICIT_NODISCARD_ATTR std::unique_ptr< T > make_unique (size_t sz)
 
template<class T , class... TARGS, typename std::enable_if< std::extent< T >::value !=0, int >::type = 0>
void make_unique (TARGS &&...)=delete
 

Variables

template<class T >
struct LIBCOPP_COPP_API_HEAD_ONLY poll_storage_ptr_selector
 
template<class T >
struct LIBCOPP_COPP_API_HEAD_ONLY compact_storage_selector
 
template<class T , class TPTR >
struct LIBCOPP_COPP_API_HEAD_ONLY poll_storage_base
 
template<class T , class TPTR >
struct LIBCOPP_COPP_API_HEAD_ONLY compact_storage
 
template<class TOK , class TERR , bool is_all_trivial>
class LIBCOPP_COPP_API_HEAD_ONLY result_base
 
template<class TRESULT , bool >
struct LIBCOPP_COPP_API_HEAD_ONLY _make_result_instance_helper
 

Function Documentation

◆ make_unique() [1/3]

template<class T , typename std::enable_if< std::is_array< T >::value &&std::extent< T >::value==0, int >::type = 0>
EXPLICIT_NODISCARD_ATTR std::unique_ptr<T> future::make_unique ( size_t  sz)

Definition at line 32 of file storage.h.

◆ make_unique() [2/3]

template<class T , class... TARGS, typename std::enable_if< std::extent< T >::value !=0, int >::type = 0>
void future::make_unique ( TARGS &&  ...)
delete

◆ make_unique() [3/3]

template<class T , class... TARGS, typename std::enable_if<!std::is_array< T >::value, int >::type = 0>
EXPLICIT_NODISCARD_ATTR std::unique_ptr<T> future::make_unique ( TARGS &&...  args)

Definition at line 27 of file storage.h.

Variable Documentation

◆ _make_result_instance_helper

template<class TRESULT , bool >
struct LIBCOPP_COPP_API_HEAD_ONLY future::_make_result_instance_helper

Definition at line 38 of file storage.h.

◆ compact_storage

template<class T , class TPTR >
struct LIBCOPP_COPP_API_HEAD_ONLY future::compact_storage

Definition at line 38 of file storage.h.

◆ compact_storage_selector

template<class T >
struct LIBCOPP_COPP_API_HEAD_ONLY future::compact_storage_selector

Definition at line 38 of file storage.h.

◆ poll_storage_base

template<class T , class TPTR >
struct LIBCOPP_COPP_API_HEAD_ONLY future::poll_storage_base

Definition at line 38 of file storage.h.

◆ poll_storage_ptr_selector

template<class T >
struct LIBCOPP_COPP_API_HEAD_ONLY future::poll_storage_ptr_selector

Definition at line 38 of file storage.h.

◆ result_base

template<class TOK , class TERR , bool is_all_trivial>
class LIBCOPP_COPP_API_HEAD_ONLY future::result_base

Definition at line 38 of file storage.h.