c1e2889a32
PR libstdc++/79141 * include/bits/stl_pair.h (__nonesuch_no_braces): New. (operator=(typename conditional< __and_<is_copy_assignable<_T1>, is_copy_assignable<_T2>>::value, const pair&, const __nonesuch&>::type)): Change __nonesuch to __nonesuch_no_braces. (operator=(typename conditional< __not_<__and_<is_copy_assignable<_T1>, is_copy_assignable<_T2>>>::value, const pair&, const __nonesuch&>::type)): Likewise. (operator=(typename conditional< __and_<is_move_assignable<_T1>, is_move_assignable<_T2>>::value, pair&&, __nonesuch&&>::type)): Likewise. * testsuite/20_util/pair/79141.cc: New. From-SVN: r246653 |
||
---|---|---|
.. | ||
astuple | ||
comparison_operators | ||
cons | ||
make_pair | ||
requirements | ||
1.cc | ||
2.cc | ||
3.cc | ||
4.cc | ||
40925.cc | ||
44487.cc | ||
70437.cc | ||
79141.cc | ||
constexpr_get.cc | ||
moveable.cc | ||
noexcept_move_assign.cc | ||
noexcept_swap.cc | ||
noncopyable.cc | ||
piecewise2.cc | ||
piecewise.cc | ||
swap_cxx17.cc | ||
swap.cc | ||
traits.cc |