This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Mark [P0475] "LWG2511: guaranteed copy elision for piecewise construction" as Complete. NFC.
ClosedPublic

Authored by Quuxplusone on Dec 25 2020, 1:27 PM.

Details

Summary

The point of LWG2511 is basically just to make sure that we use tuple<Args&&...> instead of tuple<Args...> in a couple of places inside scoped_allocator_adaptor and inside pair. As far as I can tell, this has been true for libc++ since @EricWF's D27612 (and maybe even earlier than that).

Also mark [P0809] "LWG2831: Comparing Unordered Containers" as Nothing To Do.

LWG2831 simply removed some library UB because vendors were already doing the right thing. libc++ has always done the right thing (in this respect).

Diff Detail

Event Timeline

Quuxplusone requested review of this revision.Dec 25 2020, 1:27 PM
Quuxplusone created this revision.
Herald added a reviewer: Restricted Project. · View Herald TranscriptDec 25 2020, 1:27 PM
Quuxplusone edited the summary of this revision. (Show Details)
ldionne accepted this revision.Jan 8 2021, 2:24 PM

Thanks!

This revision is now accepted and ready to land.Jan 8 2021, 2:24 PM