Document promise extensions

Issue #156 resolved
Dan Bonachea created an issue

This issue exists to ensure we update the spec wrt the outcome of the changes being discussed in implementation issue 277 and pull request #141.

Currently, this includes at least:

  1. Explaining that promise is a handle to a reference-counted object, not an unboxed type (and maybe mention this relaxation was added in 2019.12.0)
  2. Adding C++ Concept CopyAssignable to promise
  3. Changing completion_cx::as_promise to take the promise argument by-value
  4. Changing all the promise mutator methods to be const-qualified

Comments (4)

  1. Log in to comment