|
ThreadSchedule 1.0.0
Modern C++ thread management library
|
Specialization of FutureWithErrorHandler 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 of FutureWithErrorHandler for void futures.
Behaves identically to the primary template except that get() returns void instead of a value.
Definition at line 410 of file error_handler.hpp.
|
inlineexplicit |
Definition at line 413 of file error_handler.hpp.
|
inline |
Definition at line 429 of file error_handler.hpp.
|
inline |
Definition at line 422 of file error_handler.hpp.
|
inlinenodiscard |
Definition at line 462 of file error_handler.hpp.
|
inline |
Definition at line 445 of file error_handler.hpp.
|
inline |
Definition at line 451 of file error_handler.hpp.
|
inline |
Definition at line 457 of file error_handler.hpp.