Skip to content

Conversation

@vmichal
Copy link
Contributor

@vmichal vmichal commented Dec 19, 2025

This PR is a collection of changes that are remotely related to work on <flat_meow>, but they are sufficiently self-contained that it would be nice to introduce them separately, before the feature branch is merged.

Changes:

@@ -0,0 +1,20 @@
// Copyright (c) Microsoft Corporation.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should drop this file at this moment. It should be added when implementing inplace_vector.

Copy link
Contributor Author

@vmichal vmichal Dec 19, 2025

Choose a reason for hiding this comment

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

Although I have created a soft link by mentioning the relevant issues, I think relying on authors of inplace_vector, hive or optional range accessors to update this test in the future is a completely redundant mental burden and waste of time.

I like the current solution since it tests the current WP's requirements completely and will continue to do so until a new container is added. I personally see no issue in testing "future technology" when it is properly guarded with feature test macros. I consider this in line with their intended use case. Especially in this case, where I don't speculatively test some unstable API.

#include <version>
#if defined(__cpp_lib_hive) && _HAS_CXX26

#include <hive>
Copy link
Contributor

Choose a reason for hiding this comment

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

Ditto, this file should be added when implementing hive.

@StephanTLavavej StephanTLavavej added the test Related to test code label Dec 19, 2025
@StephanTLavavej

This comment was marked as resolved.

@vmichal

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej moved this from Initial Review to Work In Progress in STL Code Reviews Dec 19, 2025
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej

This comment was marked as resolved.

@vmichal vmichal marked this pull request as ready for review January 9, 2026 16:00
@vmichal vmichal requested a review from a team as a code owner January 9, 2026 16:00
@vmichal
Copy link
Contributor Author

vmichal commented Jan 9, 2026

I skimmed through [container.adaptors] many times and found no sufficiently generic paragraph that would be appropriate for this PR. So I have switched it from WIP to review-ready.

@StephanTLavavej StephanTLavavej self-assigned this Jan 9, 2026
@StephanTLavavej StephanTLavavej moved this from Work In Progress to Initial Review in STL Code Reviews Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

Status: Initial Review

Development

Successfully merging this pull request may close these issues.

4 participants