libcopp  2.2.0
Public Types | Static Public Member Functions | Private Types
future::result_type< TOK, TERR > Class Template Reference

#include <storage.h>

Inheritance diagram for future::result_type< TOK, TERR >:
Inheritance graph
Collaboration diagram for future::result_type< TOK, TERR >:
Collaboration graph

Public Types

using base_type = result_base< TOK, TERR, default_compact_storage< TOK >::value &&default_compact_storage< TERR >::value >
 
using self_type = result_type< TOK, TERR >
 
using storage_type = typename _make_instance_type::type
 

Static Public Member Functions

template<class... TARGS>
static UTIL_FORCEINLINE self_type create_success (TARGS &&...args)
 
template<class... TARGS>
static UTIL_FORCEINLINE self_type create_error (TARGS &&...args)
 
template<class... TARGS>
static UTIL_FORCEINLINE storage_type make_success (TARGS &&...args)
 
template<class... TARGS>
static UTIL_FORCEINLINE storage_type make_error (TARGS &&...args)
 

Private Types

using _make_instance_type = _make_result_instance_helper< self_type, poll_storage_base< base_type, typename poll_storage_ptr_selector< base_type >::type >::value >
 

Detailed Description

template<class TOK, class TERR>
class future::result_type< TOK, TERR >

Definition at line 621 of file storage.h.

Member Typedef Documentation

◆ _make_instance_type

template<class TOK , class TERR >
using future::result_type< TOK, TERR >::_make_instance_type = _make_result_instance_helper< self_type, poll_storage_base<base_type, typename poll_storage_ptr_selector<base_type>::type>::value>
private

Definition at line 628 of file storage.h.

◆ base_type

template<class TOK , class TERR >
using future::result_type< TOK, TERR >::base_type = result_base<TOK, TERR, default_compact_storage<TOK>::value && default_compact_storage<TERR>::value>

Definition at line 624 of file storage.h.

◆ self_type

template<class TOK , class TERR >
using future::result_type< TOK, TERR >::self_type = result_type<TOK, TERR>

Definition at line 625 of file storage.h.

◆ storage_type

template<class TOK , class TERR >
using future::result_type< TOK, TERR >::storage_type = typename _make_instance_type::type

Definition at line 632 of file storage.h.

Member Function Documentation

◆ create_error()

template<class TOK , class TERR >
template<class... TARGS>
static UTIL_FORCEINLINE self_type future::result_type< TOK, TERR >::create_error ( TARGS &&...  args)
inlinestatic

Definition at line 642 of file storage.h.

◆ create_success()

template<class TOK , class TERR >
template<class... TARGS>
static UTIL_FORCEINLINE self_type future::result_type< TOK, TERR >::create_success ( TARGS &&...  args)
inlinestatic

Definition at line 635 of file storage.h.

◆ make_error()

template<class TOK , class TERR >
template<class... TARGS>
static UTIL_FORCEINLINE storage_type future::result_type< TOK, TERR >::make_error ( TARGS &&...  args)
inlinestatic

Definition at line 655 of file storage.h.

◆ make_success()

template<class TOK , class TERR >
template<class... TARGS>
static UTIL_FORCEINLINE storage_type future::result_type< TOK, TERR >::make_success ( TARGS &&...  args)
inlinestatic

Definition at line 650 of file storage.h.


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