aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-07-16 18:13:41 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-07-16 18:13:41 +0100
commit20b47be02cc8a1bde28519b496a5acea5419c995 (patch)
tree24156815bed6f991ee7acdf1d1d62a0fc4e41642 /gcc/cppdefault.c
parent2ee1228ecd5f5c6e3ff4ac07e4b7f45c79211576 (diff)
downloadgcc-20b47be02cc8a1bde28519b496a5acea5419c995.zip
gcc-20b47be02cc8a1bde28519b496a5acea5419c995.tar.gz
gcc-20b47be02cc8a1bde28519b496a5acea5419c995.tar.bz2
PR libstdc++/86537 remove less<shared_ptr<T>> partial specialization
The standard doesn't specify this partial specialization (it was required after the changes in N2637 but then should have been removed following LWG 1262). Its presence is observable because it causes different results when operator< has been overloaded for a shared_ptr specialization. PR libstdc++/86537 * include/bits/shared_ptr.h (less<shared_ptr<_Tp>>): Remove non-standard partial specialization. * include/bits/shared_ptr_base.h (_Sp_less): Remove class definition. (less<__shared_ptr<_Tp, _Lp>): Remove partial specialization. * testsuite/20_util/shared_ptr/comparison/86537.cc: New test. From-SVN: r262739
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions