commit | b2f2b6814391635e3dc0df1b795bd41ecfe1b592 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Dec 20 04:20:28 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Dec 20 04:20:28 2012 +0000 |
tree | 0648cb891127f23a9e2b95011cfc5031abbf54a2 | |
parent | a46482e8bb7bb5bd13e35d35a0b7b5e6dc457a6c [diff] |
Implement std::is_base_of for the case where we don't have a compiler intrinsic. This relies upon the fact that overload resolution does not check access and ambiguity for a derived-to-base conversion. This passes all is_base_of tests in the test suite. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@170662 91177308-0d34-0410-b5e6-96231b3b80d8