[PATCH] [libcxx] SFINAE-friendly common_type

Agustín Bergé kaballo86 at hotmail.com
Wed Jan 14 05:47:50 PST 2015


Hi mclow.lists, EricWF,

Implement a SFINAE-friendly `common_type` as per LWG2408 for the variadic case, and fixes the no-variadic case to work with `void` as per LWG1255.

http://reviews.llvm.org/D6964

Files:
  include/type_traits
  test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6964.18146.patch
Type: text/x-patch
Size: 5672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150114/372e70be/attachment.bin>


More information about the cfe-commits mailing list