Skip to content

[exec.domain.default] add static to the member itemdecls - #9392

Merged
jensmaurer merged 1 commit into
cplusplus:mainfrom
cubbimew:sz/transform_sender_apply_sender_static
Nov 17, 2026
Merged

jensmaurer merged 1 commit into
cplusplus:mainfrom
cubbimew:sz/transform_sender_apply_sender_static

Conversation

@cubbimew

@cubbimew cubbimew commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The synopsis has declared default_domain's transform_sender and apply_sender static since P2300R10 (1e38639), but their itemdecls never did.

P3826R5's wording actually shows the transform_sender itemdecl as static, but does not mark static as an insertion, so 79d1055 did not add it (while adding indeterminate_domain::transform_sender as static in both synopsis and itemdecl).

The synopsis has declared transform_sender and apply_sender static since
P2300R10 (1e38639), but their itemdecls never did.

P3826R5 shows the transform_sender itemdecl as static, but does not mark
static as an insertion, so 79d1055 did not add it (while adding
indeterminate_domain::transform_sender as static in both synopsis and
itemdecl).
@jensmaurer

Copy link
Copy Markdown
Member

itemdecl 's refer to the declarations in the header in an unambiguous way, but don't have to repeat it verbatim. In particular, a missing "static" doesn't seem to be a grave problem.

Do we usually put "static" into the itemdecl?

@cubbimew

cubbimew commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Do we usually put "static" into the itemdecl?

I count 130 itemdecls in the entire draft that say static (of them 84 are static member functions)

Besides these two default_domain itemdecls, the only other missing static appears to be thread::hardware_concurrency in [thread.thread.static], whose jthread counterpart has static itemdecl

@jensmaurer

Copy link
Copy Markdown
Member

Ok, thanks.

@jensmaurer
jensmaurer merged commit 65890fa into cplusplus:main Nov 17, 2026
2 checks passed
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.

2 participants