cpp/thread/stop source/stop source

Constructs a new object.

@1@ Constructs a with new stop-state. @2@ Constructs an empty with no associated stop-state. @3@ Copy constructor. Constructs a whose associated stop-state is the same as that of. @4@ Move constructor. Constructs a whose associated stop-state is the same as that of ;  is left empty.

Postconditions
@1@ stop_possible is and stop_requested is  @2@ stop_possible and stop_requested are both @3@ and  share the same associated stop-state and compare equal @4@ has 's previously associated stop-state, and  is

Exceptions
@1@ std if memory could not be allocated for the stop-state