[libcxx-commits] [PATCH] D59678: Make common_type's implementation common
Eric Fiselier via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 21 17:10:22 PDT 2019
EricWF created this revision.
EricWF added reviewers: mclow.lists, ldionne, sbenza.
EricWF added a project: libc++.
Currently the C++03 implementation of common_type has much different behavior than the C++11 one. This causes bugs, including inside `<chrono>`.
This patch unifies the two implementations as best it can. The more code they share, the less their behavior can diverge.
Repository:
rCXX libc++
https://reviews.llvm.org/D59678
Files:
include/type_traits
test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59678.191803.patch
Type: text/x-patch
Size: 16902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190322/7fce4088/attachment-0001.bin>
More information about the libcxx-commits
mailing list