The wording for in_place_stop_token is missing copy constructor and copy assignment and contains a destructor the effects of which are not described.
The reference implementation for in_place_stop_token provides trivial copy, trivial destructor and linear move. This is clearly not according to the specification.
Assuming the intent is for in_place_stop_token to be trivially copyable, the special member functions for copying should be specified defaulted and the destructor removed.
Issue by vasama Friday Nov 10, 2023 at 07:17 GMT _Originally opened as https://github.com/brycelelbach/wg21_p2300_execution/issues/55_
The wording for
in_place_stop_token
is missing copy constructor and copy assignment and contains a destructor the effects of which are not described.The reference implementation for
in_place_stop_token
provides trivial copy, trivial destructor and linear move. This is clearly not according to the specification.Assuming the intent is for
in_place_stop_token
to be trivially copyable, the special member functions for copying should be specified defaulted and the destructor removed.