Skip to content

[checks] Add checks for indexing of some operators #8813

@frederick-vs-ja

Description

@frederick-vs-ja

Due to some restrictions of LaTeX, these operators need to be escaped in indexing:

  • operator& -> operator\&
  • operator&& -> operator\&\&
  • operator&= -> operator\&=
  • operator% -> operator\%
  • operator%= -> operator\%=
  • operator~ -> operator\~{}
  • operator^ -> operator\caret
  • operator^= -> operator\caret=
  • operator! -> operator"!
  • operator!= -> operator"!=
  • operator""suffix -> operator""""suffix
  • operator| -> operator"|
  • operator|| -> operator"|"|
  • operator|= -> operator"|=

The current LaTeX source of working draft contains some unescaped forms in the indices, which makes some operators not correctly indexed in N5032.

Also, it's curious that unescaped | is correctly parsed in https://eel.is/c++draft/libraryindex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-OtherTriaged issue not in P1 or P2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions