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 a snapshot of the master branch, built from commit c6a8213e9b.
PrevUpHomeNext

basic_yield_context::cancellation_slot_type

The cancellation slot type associated with the yield context.

typedef cancellation_slot cancellation_slot_type;
Member Functions

Name

Description

assign

Installs a handler into the slot.

cancellation_slot [constructor]

Creates a slot that is not connected to any cancellation signal.

clear

Clears the slot.

emplace

Installs a handler into the slot, constructing the new object directly.

has_handler

Returns whether the slot is connected and has an installed handler.

is_connected

Returns whether the slot is connected to a signal.

Friends

Name

Description

operator!=

Compare two slots for inequality.

operator==

Compare two slots for equality.

Requirements

Header: boost/asio/spawn.hpp

Convenience header: None


PrevUpHomeNext