asio C++ library

PrevUpHomeNext

basic_waitable_timer::expires_at

(Deprecated: Use expiry().) Get the timer's expiry time as an absolute time.

time_point expires_at() const;
  » more...

Set the timer's expiry time as an absolute time.

std::size_t expires_at(
    const time_point & expiry_time);
  » more...

(Deprecated: Use non-error_code overload.) Set the timer's expiry time as an absolute time.

std::size_t expires_at(
    const time_point & expiry_time,
    asio::error_code & ec);
  » more...

PrevUpHomeNext