History log of /external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
171771a9f5fd9e5dbbc6d6a2d9dfb0d8532b5155 08-Jul-2013 Howard Hinnant <hhinnant@apple.com> War on tabs.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
933afa9761c1c1f916161278a99284d50a594939 04-Jul-2013 Marshall Clow <mclow.lists@gmail.com> Patch for N3655 (Transformation type traits) with Howard's additions

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
80f918072974dbe4dc7d2fdb5bbc2cab96ef0701 28-Jan-2011 Howard Hinnant <hhinnant@apple.com> minor corrections to test, and hook is_base_of up to clang intrinsic

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@124502 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
f9e1c7e3674284efe4fea3be799e83d72aa92dfe 25-Jan-2011 Douglas Gregor <dgregor@apple.com> Eliminate the C++0x-only is_convertible testing function that accepts
a cv-qualifier rvalue reference to the type, e.g.,

template <class _Tp> char __test(const volatile typename remove_reference<_Tp>::type&&);

The use of this function signature rather than the more
straightforward one used in C++98/03 mode, e.g.,

template <class _Tp> char __test(_Tp);

is broken in two ways:

1) An rvalue reference cannot bind to lvalues, so is_convertible<X&,
X&>::value would be false. This breaks two of the unique_ptr tests
on Clang and GCC >= 4.5. Prior GCC's seem to have allowed rvalue
references to bind to lvalues, allowing this bug to slip in.

2) By adding cv-qualifiers to the type we're converting to, we get
some incorrect "true" results for, e.g., is_convertible<const X&, X&>::value.





git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@124166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
b64f8b07c104c6cc986570ac8ee0ed16a9f23976 16-Nov-2010 Howard Hinnant <hhinnant@apple.com> license change

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
c52f43e72dfcea03037729649da84c23b3beb04a 22-Aug-2010 Howard Hinnant <hhinnant@apple.com> Fixing whitespace problems

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
f5256e16dfc425c1d466f6308d4026d529ce9e0b 11-May-2010 Howard Hinnant <hhinnant@apple.com> Wiped out some non-ascii characters that snuck into the copyright.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp
bc8d3f97eb5c958007f2713238472e0c1c8fe02c 11-May-2010 Howard Hinnant <hhinnant@apple.com> libcxx initial import

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/utilities/meta/meta.rel/is_convertible.pass.cpp