Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.89.0.
Set the stream buffer's expiry time as an absolute time.
void expires_at( const time_point & expiry_time);
This function sets the expiry time associated with the stream. Stream
operations performed after this time (where the operations cannot be
completed using the internal buffers) will fail with the error boost::asio::error::operation_aborted.
The expiry time to be used for the stream.