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
[index] Using "type!POD" vs. "POD type" #1033
Comments
We do say "foo type, see type, foo" in similar cases (maybe not with "type") and keep the list of page numbers exclusively with "type, foo". |
Please document the preferences/guidelines somewhere for future editor's benefit. |
Editorial meeting: In the index of library names, maybe distinguish class names from functions etc, e.g. postfix with ::. Alisdair dislikes :: not connecting things. Different uses of the index: One, just lookup a name (hierarchy not useful). Two, as a reference guide to the library names including nesting and subnamespaces. Maybe add "type" or "class" or "member" to the first-level entry. |
Editorial meeting consensus: We do want structure. For the primary index entry (with page numbers), use the natural decomposed form. Favor semantic locality in choosing the natural decomposed form (cf. expression, equivalent vs. equivalent, expression; the latter wins). |
Partially addressed by introducing |
There are index entries for "callable type", "integer type", "object type", "scalar type" and many others of this form. The index also has a list of terms under type, such as "type!POD" and "type!function". A few appear in both forms: there's "integral type" as well as "type!integral".
This makes the index hard to use, because it's not clear (to me) which form is used for any given term. I noticed this when trying to find the definition of "POD type". Would it make sense to list all of these terms as both "foo type" and "type!foo"?
The text was updated successfully, but these errors were encountered: