Fix for PR17606 - result_of (and INVOKE) works incorrectly for member function pointe...
authorMarshall Clow <mclow.lists@gmail.com>
Mon, 10 Feb 2014 17:40:28 +0000 (17:40 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Mon, 10 Feb 2014 17:40:28 +0000 (17:40 +0000)
commit5bd869490b9fd6ecd2e6165296c2e2c28c3b2e64
tree648e0375f6582d31790088844b06e51784a9f131
parent36be8d83067e5df18f1f7833e8b2ef90c4003fec
Fix for PR17606 - result_of (and INVOKE) works incorrectly for member function pointers with ref qualifiers. Also a drive-by fix for common_type in C++03 mode. Thanks to Michel Morin for the bug report and the proposed fix.

llvm-svn: 201101
libcxx/include/type_traits
libcxx/test/utilities/function.objects/func.require/invoke.pass.cpp [new file with mode: 0644]
libcxx/test/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp