Fix pair::operator=(TupleLike&&).
authorEric Fiselier <eric@efcs.ca>
Mon, 29 Aug 2016 01:09:47 +0000 (01:09 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 29 Aug 2016 01:09:47 +0000 (01:09 +0000)
commit0678cc793a6d126b72cd20bb5d5a18f0eb6410cc
tree5d9a2dc48507fc69e71136eabc2a7599a5c9f1de
parent6b21751ba9f40dcc553b0d48033edec0f44ef32c
Fix pair::operator=(TupleLike&&).

This assignment operator was previously broken since the SFINAE always resulted
in substitution failure. This caused assignments to turn into
copy construction + assignment.

llvm-svn: 279953
libcxx/include/utility
libcxx/test/std/utilities/utility/pairs/pairs.pair/assign_tuple.pass.cpp [new file with mode: 0644]