Create a stop_source by moving from original.

Synopsis

Declared in <bslstl_stoptoken.h>

stop_source(BloombergLP::bslmf::MovableRef<stop_source> original) noexcept;

Description

Create a stop_source object that refers to the stop state (or lack thereof) referred to by the specified original, and reset original to not refer to a stop state.

Parameters

Name

Description

original

source object that is moved from

Created with MrDocs