5 #include <libcopp/utils/config/libcopp_build_features.h>
17 LIBCOPP_COPP_NAMESPACE_BEGIN
20 template <class T, class TPTR = typename poll_storage_ptr_selector<T>::type>
21 class LIBCOPP_COPP_API_HEAD_ONLY
future {
42 return poll_data_.data();
50 return poll_data_.data();
61 poll_data_ = std::forward<U>(in);
69 LIBCOPP_COPP_NAMESPACE_END
UTIL_FORCEINLINE const poller_type & poll_data() const LIBCOPP_MACRO_NOEXCEPT
UTIL_FORCEINLINE poller_type & poll_data() LIBCOPP_MACRO_NOEXCEPT
typename poller_type::storage_type storage_type
UTIL_FORCEINLINE void reset_data(U &&in)
UTIL_FORCEINLINE value_type * data() LIBCOPP_MACRO_NOEXCEPT
UTIL_FORCEINLINE ptr_type & raw_ptr() LIBCOPP_MACRO_NOEXCEPT
UTIL_FORCEINLINE void reset_data()
UTIL_FORCEINLINE const ptr_type & raw_ptr() const LIBCOPP_MACRO_NOEXCEPT
typename poller_type::value_type value_type
UTIL_FORCEINLINE bool is_ready() const LIBCOPP_MACRO_NOEXCEPT
UTIL_FORCEINLINE bool is_pending() const LIBCOPP_MACRO_NOEXCEPT
typename poller_type::ptr_type ptr_type
UTIL_FORCEINLINE const value_type * data() const LIBCOPP_MACRO_NOEXCEPT
typename poll_storage::ptr_type ptr_type
typename poll_storage::storage_type storage_type
std::shared_ptr< cli::cmd_option_value > value_type