// Helper function to get a timer's expiry time. static asio::deadline_timer::time_type expiry( const asio::deadline_timer& timer) { return timer.expires_at(); }
timer() : t(io_context) { t.expires_at(boost::posix_time::pos_infin); }