aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2016-09-21 19:48:35 +0300
committerVille Voutilainen <ville@gcc.gnu.org>2016-09-21 19:48:35 +0300
commitf524d5b34aaac95cb4b2ce7126002cd4fa9d5bae (patch)
tree1620641ceb06be29326134f342843d55e466d9e0 /gcc
parentd43b4ccc3737d468df2006814abe47824129e054 (diff)
downloadgcc-f524d5b34aaac95cb4b2ce7126002cd4fa9d5bae.zip
gcc-f524d5b34aaac95cb4b2ce7126002cd4fa9d5bae.tar.gz
gcc-f524d5b34aaac95cb4b2ce7126002cd4fa9d5bae.tar.bz2
re PR libstdc++/77537 (pair constructors do not properly SFINAE)
PR libstdc++/77537 Implement LWG 2729 for pair. * include/bits/stl_pair.h (_PCC): New. (_ConstructiblePair, _ImplicitlyConvertiblePair): Turn into static member functions of _PCC. (_MoveConstructiblePair, _ImplicitlyMoveConvertiblePair): Likewise. (_PCCP): New. (pair(const _T1&, const _T2&)): Adjust. (_PCCFP): New. (pair(const pair<_U1, _U2>&)): Adjust. (pair(_U1&&, const _T2&)): Likewise. (pair(const _T1&, _U2&&)): Likewise. (pair(_U1&&, _U2&&)): Likewise. (pair(pair<_U1, _U2>&&)): Likewise. (operator=(const pair&)): Make conditionally deleted. (operator=(pair&&)): Make conditionally suppressed. (operator=(const pair<_U1, _U2>&)): Constrain. (operator=(pair<_U1, _U2>&&): Likewise. * include/std/type_traits (__nonesuch): New. * testsuite/20_util/pair/traits.cc: New. From-SVN: r240322
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions