libcopp 2.3.1
|
#include <poller.h>
Public Types | |
using | self_type = poller< T, TPTR > |
using | poll_storage = poll_storage_base< T, TPTR > |
using | storage_type = typename poll_storage::storage_type |
using | ptr_type = typename poll_storage::ptr_type |
using | value_type = typename poll_storage::value_type |
Public Member Functions | |
poller () noexcept | |
~poller () noexcept(std::is_nothrow_destructible< storage_type >::value) | |
template<class... U> | |
poller (U &&...in) noexcept(noexcept(poll_storage::construct_storage(std::declval< storage_type & >(), std::forward< U >(in)...))) | |
poller (self_type &&other) noexcept(noexcept(poll_storage::move_storage(std::declval< storage_type & >(), std::declval< storage_type >()))) | |
poller & | operator= (self_type &&other) noexcept(noexcept(poll_storage::move_storage(std::declval< storage_type & >(), std::declval< storage_type >()))) |
template<class U > | |
poller & | operator= (U &&in) noexcept(noexcept(poll_storage::construct_storage(std::declval< storage_type & >(), std::forward< U >(in)))) |
LIBCOPP_UTIL_FORCEINLINE bool | is_ready () const noexcept |
LIBCOPP_UTIL_FORCEINLINE bool | is_pending () const noexcept |
LIBCOPP_UTIL_FORCEINLINE const value_type * | data () const noexcept |
LIBCOPP_UTIL_FORCEINLINE value_type * | data () noexcept |
LIBCOPP_UTIL_FORCEINLINE const ptr_type & | raw_ptr () const noexcept |
LIBCOPP_UTIL_FORCEINLINE ptr_type & | raw_ptr () noexcept |
LIBCOPP_UTIL_FORCEINLINE void | reset () noexcept(noexcept(poll_storage::reset(std::declval< storage_type & >()))) |
LIBCOPP_UTIL_FORCEINLINE void | swap (self_type &other) noexcept |
Private Member Functions | |
template<class U , class UDELETER , typename std::enable_if< std::is_base_of< T, typename std::decay< U >::type >::value, bool >::type = false> | |
void | setup_from (std::unique_ptr< U, UDELETER > &&in) noexcept(noexcept(poll_storage::construct_storage(std::declval< storage_type & >(), std::move(in)))) |
template<class... TARGS> | |
void | setup_from (TARGS &&...args) noexcept(noexcept(poll_storage::construct_storage(std::declval< storage_type & >(), std::forward< TARGS >(args)...))) |
void | setup_from (self_type &&other) noexcept(noexcept(poll_storage::move_storage(std::declval< storage_type & >(), std::move(other.storage_data_)))) |
Private Attributes | |
storage_type | storage_data_ |
Friends | |
LIBCOPP_UTIL_FORCEINLINE friend void | swap (self_type &l, self_type &r) noexcept |
using future::poller< T, TPTR >::poll_storage = poll_storage_base<T, TPTR> |
using future::poller< T, TPTR >::ptr_type = typename poll_storage::ptr_type |
using future::poller< T, TPTR >::self_type = poller<T, TPTR> |
using future::poller< T, TPTR >::storage_type = typename poll_storage::storage_type |
using future::poller< T, TPTR >::value_type = typename poll_storage::value_type |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineprivatenoexcept |
|
inlineprivatenoexcept |
|
inlineprivatenoexcept |
|
inlinenoexcept |
|
friend |
|
private |