[PATCH] D49118: [libc++] P0898R3 1 of 12: changes to common_type; implement common_reference
Casey Carter via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 9 19:03:12 PDT 2018
CaseyCarter created this revision.
CaseyCarter added reviewers: mclow.lists, EricWF.
I'm breaking this up into independent bite-sized ~500 line reviews instead of a single 5200 line monster in hopes that we can turnaround changes quickly.
This first piece implements the new bullet for `common_type`, and all of `common_reference` and `basic_common_reference`. I've conservatively hidden everything behind `_LIBCPP_STD_VER > 17`, although it could be made available in C++11 mode with some edits.
https://reviews.llvm.org/D49118
Files:
include/type_traits
test/std/utilities/meta/meta.trans/meta.trans.other/common_reference.pass.cpp
test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49118.154749.patch
Type: text/x-patch
Size: 21055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180710/d7b87205/attachment-0001.bin>
More information about the cfe-commits
mailing list