commit | a5160283a4581481ec71384251d464398d0d49e2 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Sat Aug 25 15:06:50 2012 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Sat Aug 25 15:06:50 2012 +0000 |
tree | 530cfd3860a77b1e1a18b51b6440cfbf777b3ea8 | |
parent | 3882d397c4ad38506d1fe21e5ee3d1d9c82091e4 [diff] |
Michel Morin: My previous fix for C++03 was incomplete. It does not consider user-defined conversions that convert an rvalue into an lvalue and works incorrectly for types with such a conversion operator. For example, struct foo { operator int&(); }; returns false_type. Attached a patch that fixes this problem. http://llvm.org/bugs/show_bug.cgi?id=13601 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@162644 91177308-0d34-0410-b5e6-96231b3b80d8