More fixes: One of my fixes to type_traits earlier today was incorrect, so that is reverted. Recently clang appears to have tightened up its definition of is_convertible and that has caused some failures in [unordered_][multi]map. I've switched to using is_constructible to restablish the desired functionality in [unordered_][multi]map. Specifically, inserting rvalues of move-only types for the keys.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@133402 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2011-06-19 21:45:00 +00:00
parent d4b957820c
commit 7604fea08c
3 changed files with 46 additions and 46 deletions

View File

@@ -2939,7 +2939,7 @@ struct __check_complete<_R _Class::*>
template <class ..._Args>
auto
__invoke(__any, _Args&& ...__args)
-> __nat = delete;
-> __nat;
// bullets 1 and 2