ThreadSchedule 1.0.0
Modern C++ thread management library
|
Specialization for void futures. More...
#include <error_handler.hpp>
Public Member Functions | |
FutureWithErrorHandler (std::future< void > future) | |
FutureWithErrorHandler (FutureWithErrorHandler const &)=delete | |
auto | operator= (FutureWithErrorHandler const &) -> FutureWithErrorHandler &=delete |
FutureWithErrorHandler (FutureWithErrorHandler &&)=default | |
auto | operator= (FutureWithErrorHandler &&) -> FutureWithErrorHandler &=default |
auto | on_error (std::function< void(std::exception_ptr)> callback) -> FutureWithErrorHandler & |
void | get () |
void | wait () const |
template<typename Rep, typename Period> | |
auto | wait_for (std::chrono::duration< Rep, Period > const &timeout_duration) const |
template<typename Clock, typename Duration> | |
auto | wait_until (std::chrono::time_point< Clock, Duration > const &timeout_time) const |
auto | valid () const -> bool |
Specialization for void futures.
Definition at line 286 of file error_handler.hpp.
|
inlineexplicit |
Definition at line 289 of file error_handler.hpp.
|
inline |
Definition at line 305 of file error_handler.hpp.
|
inline |
Definition at line 298 of file error_handler.hpp.
|
inlinenodiscard |
Definition at line 338 of file error_handler.hpp.
|
inline |
Definition at line 321 of file error_handler.hpp.
|
inline |
Definition at line 327 of file error_handler.hpp.
|
inline |
Definition at line 333 of file error_handler.hpp.