Skip to content

P1413R3 Deprecate aligned_storage & aligned_union - #2583

Merged
Stephan T. Lavavej (StephanTLavavej) merged 16 commits into
microsoft:mainfrom
AlexGuteniev:align_using_alignas
May 17, 2022
Merged

Stephan T. Lavavej (StephanTLavavej) merged 16 commits into
microsoft:mainfrom
AlexGuteniev:align_using_alignas

Conversation

@AlexGuteniev

@AlexGuteniev Alex Guteniev (AlexGuteniev) commented Feb 19, 2022

Copy link
Copy Markdown
Contributor

Resolves #2533

Internal use in mutex/condition_variable/node_handle - is fixed by creating a non-deprecated copy.

I'm not sure why we quote the deprecating paper, as we don't quote the WP merged papers elsewhere; but I followed the precedent.

⚠️ Expected merge conflict with #2061, take care of warning numbers.

@AlexGuteniev

This comment was marked as resolved.

Comment thread tests/libcxx/usual_matrix.lst Outdated

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.

It seems that the non-deprecated copy is not needed, but I'm not sure.

Comment thread stl/inc/xnode_handle.h Outdated
Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/type_traits Outdated
# Conflicts:
#	tests/libcxx/expected_results.txt
#	tests/libcxx/skipped_tests.txt
#	tests/libcxx/usual_matrix.lst

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.

Thanks, this looks great! I found only nitpicks, so I'll validate and push changes soon.

Comment thread stl/inc/algorithm Outdated
Comment thread stl/inc/type_traits Outdated
Comment thread stl/inc/type_traits
Comment thread stl/inc/yvals_core.h Outdated
Comment thread stl/inc/type_traits Outdated
Comment thread stl/inc/yvals_core.h Outdated
Comment thread tests/libcxx/usual_matrix.lst Outdated
Comment thread tests/libcxx/expected_results.txt Outdated
@StephanTLavavej

Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

Stephan T. Lavavej (StephanTLavavej) added a commit to StephanTLavavej/STL that referenced this pull request May 16, 2022
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit cbd964d into microsoft:main May 17, 2022
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for implementing this C++23 feature and helping to modernize the ecosystem!

🧑‍🚀 🚀 🪐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx23 C++23 feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P1413R3 Deprecate aligned_storage And aligned_union

5 participants