Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[container.requirements.general] Move exposition-only concept #6193

Merged
merged 1 commit into from Mar 23, 2023

Conversation

AlisdairM
Copy link
Contributor

@AlisdairM AlisdairM commented Mar 16, 2023

The exposition-only concept container-compatible-range is defined in the subclause for allocator-aware containers, that does not actually use it. This requirement is used throughout the subclause for a variety of containers, so relocate the definition into the leading subclause that provides a key to definitions used throughout the containers subclauses.

The exposition-only concept container-compatible-range is defined
in the subclause for allocator-aware containers, that does not
actually use it.  This requirement is used throughout the subclause
for a variety of contains, so relocate the definition into the
leading subclause that provides a key to definitions used throughout
the containers subclauses.
@jwakely
Copy link
Member

jwakely commented Mar 21, 2023

Ugh, what on earth is it doing there.

P1206R7 said to add it to [container.requirements.general] but then showed the context from [container.alloc.reqmts] so of course the editors did what they were asked to and put it in [container.alloc.reqmts].

@tkoeppe tkoeppe merged commit b8512a1 into cplusplus:main Mar 23, 2023
2 checks passed
@AlisdairM AlisdairM deleted the move_expos_only_container_concept branch November 14, 2023 19:20
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.

None yet

5 participants