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

Nothing to "see below" for [shared_]future::get #100

Open
timsong-cpp opened this issue Dec 17, 2015 · 6 comments
Open

Nothing to "see below" for [shared_]future::get #100

timsong-cpp opened this issue Dec 17, 2015 · 6 comments

Comments

@timsong-cpp
Copy link

The future synopsis in [futures.unique_future] and shared_future synopsis in [futures.shared_future] each depicts a see below get();, presumably copied from C++14.

There's nothing "below" to see for get().

@jwakely
Copy link
Member

jwakely commented Dec 17, 2015

[futures.unique_future] p13 to p18 and [futures.shared_future] p16 to p20?

@timsong-cpp
Copy link
Author

@jwakely That's the standard. This is about the concurrency TS.

@jwakely
Copy link
Member

jwakely commented Dec 17, 2015

Oops, sorry, I read the email and completely missed which repo this was filed for.

@arturl
Copy link
Contributor

arturl commented Dec 17, 2015

The synopsis is copied from the Standard. The TS says that the missing subclauses are the same as in the Standard:

The specifications of all declarations within this subclause 2.3 and its subclauses are the same as the corresponding declarations, as specified in C++14 §30.6.6, unless explicitly specified otherwise

@timsong-cpp
Copy link
Author

Well, if it's pointing to that paragraph, then it should be see "above", rather than "below", since the paragraph precedes the synopsis.

@arturl
Copy link
Contributor

arturl commented Dec 17, 2015

No, it's not pointing to that paragraph. The paragraph simply states that some clauses are assumed to exist, so the text in the synopsis refers to those hidden clauses.

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

No branches or pull requests

3 participants