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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
async_base::set_allowed_cancellation

Set the allowed cancellation types, default is terminal.

Synopsis
void
set_allowed_cancellation(
    net::cancellation_type allowed_cancellation_types = net::cancellation_type::terminal);

PrevUpHomeNext