diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-01-06 12:33:58 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-01-06 12:33:58 +0000 |
commit | 6807f0862833c893bdcdc6838e9303761d93929a (patch) | |
tree | 4899a4955e6f61ccc394d28a15aeb1e9f5b82533 /gcc/predict.c | |
parent | 88456bc19d4362b60fbe8e37f59d70a09675098f (diff) | |
download | gcc-6807f0862833c893bdcdc6838e9303761d93929a.zip gcc-6807f0862833c893bdcdc6838e9303761d93929a.tar.gz gcc-6807f0862833c893bdcdc6838e9303761d93929a.tar.bz2 |
PR78991 make __gnu_cxx::__ops constructors explicit
PR libstdc++/78991
* include/bits/predefined_ops.h (_Iter_comp_iter, _Iter_comp_val)
(_Val_comp_iter, _Iter_equals_val, _Iter_pred, _Iter_comp_to_val)
(_Iter_comp_to_iter, _Iter_negate): Make constructors explicit and
move function objects.
(__iter_comp_iter, __iter_comp_val, __val_comp_iter, __pred_iter)
(__iter_comp_val, __iter_comp_iter, __negate): Move function objects.
* testsuite/25_algorithms/sort/78991.cc: New test.
From-SVN: r244150
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions