cplusplus / draft

C++ standards drafts
http://www.open-std.org/jtc1/sc22/wg21/
5.68k stars 749 forks source link

[diff.cpp03.library] Two entries for <typeinfo> in the index of library headers #6649

Closed AlisdairM closed 2 months ago

AlisdairM commented 11 months ago

The hyphenation of the header causes it to appear twice in the index of library headers, with an erroneous appearance sorted out of order, as-if it were a header named type:

\libheaderref{tuple}, \libheaderrefx{type-index}{type.index.synopsis}, \libheaderrefx{type_traits}{meta.type.synop},

->

\, 516–520, 689, 699, 710, 1968, 1993, 1994 \, 1968 \, 516–520, 657, 1968, 1992 \, 803 \, 517, 538

frederick-vs-ja commented 2 months ago

This is fixed in https://eel.is/c++draft/headerindex. ~I think we can cherry-pick @Eelis's changes.~ Edit: Oops, that method doesn't work.