If T has a nested type cancellation_slot_type, returns t.get_cancellation_slot(). Otherwise returns s.
T
cancellation_slot_type
t.get_cancellation_slot()
s
static type get( const T & t, const CancellationSlot & s = CancellationSlot());