Skip to content

[new.delete][c.malloc] Properly index operator new and its friends#8135

Open
frederick-vs-ja wants to merge 4 commits into
cplusplus:mainfrom
frederick-vs-ja:index-operator-new-delete
Open

[new.delete][c.malloc] Properly index operator new and its friends#8135
frederick-vs-ja wants to merge 4 commits into
cplusplus:mainfrom
frederick-vs-ja:index-operator-new-delete

Conversation

@frederick-vs-ja

Copy link
Copy Markdown
Contributor

These operator functions should be indexed as \indexlibraryglobal{operator new} etc., like other operator functions. The indices in [new.delete.single] and [new.delete.array] are still imperfect, as there're multiple entries but a single index can only points to one.

I believe operator new/operator delete shouldn't be indexed in [c.malloc]. So this PR removes the probably improper indices and adds one \iref for consistency.

Fixes #8133.

@frederick-vs-ja frederick-vs-ja force-pushed the index-operator-new-delete branch from 7703e92 to 22a862c Compare October 17, 2025 08:51
@eisenwave eisenwave added the P2-Bug Presentational errors and omissions label Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2-Bug Presentational errors and omissions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[new.delete] Weird indexing \indexlibrarymember{new}{operator}

2 participants