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

PrevUpHomeNext

cancel_at_t

A completion token adapter that cancels an operation at a given time.

template<
    typename CompletionToken,
    typename Clock,
    typename WaitTraits = boost::asio::wait_traits<Clock>>
class cancel_at_t
Member Functions

Name

Description

cancel_at_t [constructor]

Constructor.

Data Members

Name

Description

cancel_type_

expiry_

token_

The cancel_at_t class is used to indicate that an asynchronous operation should be cancelled if not complete at the specified absolute time.

Requirements

Header: boost/asio/cancel_at.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext