Page MenuHomePhabricator

[libc++] Remove conditional usage of rvalue references in C++03
ClosedPublic

Authored by ldionne on Thu, Mar 9, 9:30 AM.

Details

Summary

This one is easy -- Clang supports rvalue references in C++03 mode, so
we should be able to remove that conditional.

Diff Detail

Event Timeline

ldionne created this revision.Thu, Mar 9, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Mar 9, 9:30 AM
ldionne requested review of this revision.Thu, Mar 9, 9:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Mar 9, 9:30 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik accepted this revision.Thu, Mar 9, 10:14 AM
philnik added a subscriber: philnik.
philnik added inline comments.
libcxx/include/exception
329

Maybe also std::forward instead of static_casting?

This revision is now accepted and ready to land.Thu, Mar 9, 10:14 AM
ldionne updated this revision to Diff 504119.Fri, Mar 10, 6:04 AM

Address comments and rebase (should fix CI).

Mordante accepted this revision.Fri, Mar 10, 9:18 AM
Mordante added a subscriber: Mordante.

LGTM!

This revision was landed with ongoing or failed builds.Fri, Mar 10, 11:44 AM
This revision was automatically updated to reflect the committed changes.