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
associated_cancellation_slot::get (1 of 2 overloads)

If T has a nested type cancellation_slot_type, returns t.get_cancellation_slot(). Otherwise returns type().

static decltype(auto) get(
    const T & t);

PrevUpHomeNext