asio C++ library

PrevUpHomeNext

associated_cancellation_slot::get

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

static decltype(auto) get(
    const T & t);
  » more...

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

static decltype(auto) get(
    const T & t,
    const CancellationSlot & s);
  » more...

PrevUpHomeNext