Skip to content

Conversation

@xmcgcg
Copy link
Contributor

@xmcgcg xmcgcg commented Apr 10, 2025

[polymorphic.general] paragraph 3 has a broken expression allocator_traits<Allocator>::cop, args...). It should be the same expression used in [indirect.general].

@frederick-vs-ja
Copy link
Contributor

The produced PDF (P3019R14) was broken and it was very strange that nobody discovered this in #7708.

allocator_traits<Allocator>::construct(a, p, args...) is probably correct per https://github.com/jbcoe/value_types/blob/9f32f207fb569da17e644f65c7b9568cc387026f/DRAFT.md#xz1-class-template-polymorphic-general-polymorphicgeneral.

@jensmaurer jensmaurer merged commit a989431 into cplusplus:main Apr 10, 2025
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.

4 participants