-
Notifications
You must be signed in to change notification settings - Fork 769
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
[intro] contains subclauses that belong in [basic] #1539
Comments
In general, I agree, but I'd suggest that the new "Memory and objects" subclause be inserted at the front (before [basic.def]). Once you live with the fact that there are "objects" (created by forward references to various places), [intro.execution] and [intro.multithread] are fairly self-sufficient. Further, while we're rearranging [basic], it seems we should first introduce a program [basic.link] before discussing [basic.def.odr]. Performing such a move would also nicely group all subsections dealing with names ([basic.def], [basic.scope], [basic.lookup]). While we're at it, introducing a subsection "Expression properties" under [expr] would also offer a new home for [basic.lval]. |
Editorial meeting consensus: do the "Perhaps" part first, then reconsider. |
[intro] contains subclauses that belong in [basic].
This has been made more obvious by the ISO-mandated extraction of clauses 1-3. We have the broad and not-particularly-technical introductory sections "Implementation compliance", "Structure of this International Standard", "Syntax notation", and "Acknowledgments". But jammed in between we have "The C++ memory model", "The C++ object model", "Program execution", and "Multi-threaded execution and data races", which belong in [basic].
... except that paragraphs 1-5 and 8 of [intro.execution] should perhaps stay in [intro], perhaps as an "Abstract machine" subclause of [intro.compliance].
Perhaps:
The text was updated successfully, but these errors were encountered: