Skip to content

Conversation

AlisdairM
Copy link
Contributor

…ader

Audited the file utilities.tex for indexing of member typedefs. Several idioms were in use, and not all typedef-names were indexed. Adopted what seemed to be the preferred approach of using the @\libmember{}@ style of definition within the class definition itself, so that omissions become obvious if more typedef-names are added in the future.

Please provide feedback on whether indexing the explicit template specialization for types is the correct approach. It pulls out the name that is not present for the primary template, and then the ranges library adds some non-template classes with the same name.

Noted that char_type for basic_format_arg is a private member marked as exposition only, so should really be char-type with the expos-id font. After checking with the original paper, will supply a separate follow-up ticket for that --- this comment is only to confirm that the omission from the index in this patch is intentional.

@AlisdairM
Copy link
Contributor Author

This is the first of a series of patches that will cover all the standard library headers. I will await review of this first patch before producing the rest though.

After filing the patch I became aware of #3911, which this patch would be seen as a small part of addressing.

@wg21bot wg21bot added the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Oct 16, 2024
@AlisdairM AlisdairM force-pushed the index_member_typedefs_in_utilities branch 2 times, most recently from 3e3edbc to affa93c Compare February 10, 2025 10:08
Audited the file `utilities.tex` for indexing of member typedefs.  Several
idioms were in use, and not all typedef-names were indexed.  Adopted what
seemed to be the preferred approach of using the `@\libmember{}@` style of
definition within the class definition itself, so that omissions become
obvious if more typedef-names are added in the future.

Please provide feedback on whether indexing the explicit template
specialization for `<void>` types is the correct approach. It pulls
out the name that is not present for the primary template, and then
the ranges library adds some non-template classes with the same name.
@AlisdairM AlisdairM force-pushed the index_member_typedefs_in_utilities branch 2 times, most recently from e289bba to 513ccc9 Compare March 15, 2025 21:49
@AlisdairM
Copy link
Contributor Author

I believe this branch has correctly been rebased, so we can lose that tag.
I am yet to review whether it is still complete, given ongoing additions to the library.

@tkoeppe tkoeppe removed the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Mar 16, 2025
Comment on lines 4050 to 4051
\indexlibrarymember{iterator}{optional}%
\indexlibrarymember{const_iterator}{optional}%
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review globally for now-redundant indexing like this.

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.

4 participants