Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial fix: Rename [coroutine.handle.import.export] to [coroutine.handle.export.import] to be consistent with the section header and the order in which definitions appear #5

Conversation

brycelelbach
Copy link
Contributor

Note that this PR is rebased against #4, so I'd review that one first

In the class synopsis for coroutine_handle<> in [coroutine.handle], this section is referred to as "export/import", and the export function (address) is listed before the import function (from_address). Likewise, in the definitions for these two methods in [coroutine.handle.import.export], the section is titled "Export/import" and address appears first. Since from_address mentions address, this seems like the correct order to list things in as it avoids adding forward references to the spec.

I'd like to rename this stable tag from [coroutine.handle.import.export] to [coroutine.handle.export.import] [as an editorial change before PTDS.

…ained via

a prior call to address()". This is wrong - "address()" is an expression producing
a void* (which cannot be called). "address" is what we want to say here.
…ss method

definition (it is declared constexpr in the synopsis).
…omise>::from_address have different return types.
…handle.export.import] to be consistent with the section header and the order in which definitions appear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant