Skip to content

[specialized.algorithms] Use \exposid for "voidify", not \placeholder(nc)#8566

Open
eisenwave wants to merge 2 commits into
cplusplus:mainfrom
eisenwave:voidify-exposid
Open

[specialized.algorithms] Use \exposid for "voidify", not \placeholder(nc)#8566
eisenwave wants to merge 2 commits into
cplusplus:mainfrom
eisenwave:voidify-exposid

Conversation

@eisenwave

@eisenwave eisenwave commented Nov 27, 2025

Copy link
Copy Markdown
Member

Fixes #8559.

This should be applied after motions; we're adding some more \placeholdernc{voidify} these motions.

A rebase will be needed.

@eisenwave eisenwave added after-motions Pull request is to be applied after the pending edits from WG21 straw polls have been applied. P2-Bug Presentational errors and omissions labels Nov 27, 2025
Comment thread source/algorithms.tex
make use of the following exposition-only function templates:
\begin{codeblock}
template<class T>
constexpr void* @\placeholdernc{voidify}@(T& obj) noexcept {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could you retain the nc-ness (i.e. use \exposidnc where appropriate)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't think it's appropriate anywhere. Just below this change, we have deref-move without nc.

It doesn't seem like voidify is ever being vertically aligned with something else, and to my understanding, that's when we would disable italics corrections.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's also for the spacing of (here) the parenthesis just after the italics.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Indeed.

@eisenwave

Copy link
Copy Markdown
Member Author

Rebased on latest main, added the [exec.associate] use of voidify added these motions.

@eisenwave eisenwave removed the after-motions Pull request is to be applied after the pending edits from WG21 straw polls have been applied. label Mar 16, 2026
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.

[specialized.algorithms] voidify should use \exposid, not \placeholdernc

4 participants