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
Restructuring clauses for C++26 #5315
Comments
I think so, too. Currently, it's hard to find. It makes more sense than [text], as text can represent more than just numbers.
I'm not sure. You can use |
[meta] and [concepts] should be adjacent clauses, or [concepts] should become a subclass of [meta] adjacent to [type.traits]. |
I agree with making [concepts] a subclause. Not much point to a top-level [concepts] if new concepts are, rightfully, placed in more pertinent subclauses. Its title also needs to better reflect that "not all concepts are here!" Perhaps "basic concepts". |
Is it time to move the container header synopses closer to where their contents are defined? E.g., [array.syn],[deque.syn],[forward.list.syn],[list.syn], and [vector.syn] are all adjacent at the top of the sequence containers subclause, [sequences], before we start on the definitions in [array] as a sibling node, and similarly for the associative containers, unordered containers, and container adapters. I don't think any other library clause collects header synopses in this way. |
Yes, the containers structure is weird. |
See #2252 [basic] before [lex]
Maybe also move the preprocessor section near lex or merge both into a new "lexical processing" clause.
[basic] has some details that need to move later, e.g. allocation/deallocation function details should go to "Declarations".
Operator overloading [over.oper] should partially move to [expr] and to "Declarations".
Isn't "[charconv] Primitive numeric conversions" a good fit for Clause 26 "Numerics library"?
keep Utility types: pair, tuple, variant, optional, any, bitset under [utilities], but create a new grouping subclause called "data types".
Maybe put all of locale, regex. std::format under I/O-ish (because locale-using)
Create [text] clause; see #5226 for details.
The text was updated successfully, but these errors were encountered: