diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-07-25 01:45:07 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-07-25 01:45:07 +0000 |
commit | 189f88ca35cd038da52bfdb338e37a0c15fa69bb (patch) | |
tree | db048945da4dc4f8aaf59c573866aaa44f505506 /libcxx/test/std/utilities/tuple/tuple.tuple/alloc_first.h | |
parent | d6ddc7e0a8a34600eefdbce0ac36da5ef22f1642 (diff) | |
download | bcm5719-llvm-189f88ca35cd038da52bfdb338e37a0c15fa69bb.tar.gz bcm5719-llvm-189f88ca35cd038da52bfdb338e37a0c15fa69bb.zip |
Revert r276548 - Make pair/tuples assignment operators SFINAE properly.
This is a breaking change. The SFINAE required is instantiated the second
the class is instantiated, and this can cause hard SFINAE errors
when applied to references to incomplete types. Ex.
struct IncompleteType;
extern IncompleteType it;
std::tuple<IncompleteType&> t(it); // SFINAE will blow up.
llvm-svn: 276598
Diffstat (limited to 'libcxx/test/std/utilities/tuple/tuple.tuple/alloc_first.h')
0 files changed, 0 insertions, 0 deletions