Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some fixes to definition of stoppable_token and unstoppable_token con…
…cepts (facebookexperimental#359) * `unstoppable_token` concept now checks `T::stop_possible()` is constexpr. * Fix typo in definition of `never_stop_token::callback` - constructor was named `callback_type` instead of callback. * Clarified in `stoppable_token` semantic requirements that callback is invoked in a noexcept context. * Remove spurious const qualification of static members in `never_stop_token`. * Add `operator==()` definition to `never_stop_token` so it actually satisfies the unstoppable_token concept. Thanks to @dietmarkuehl for the suggestions.
- Loading branch information