This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r244157 - in /branches/gcc-5-branch/libstdc++-v...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Fri, 06 Jan 2017 14:04:26 -0000
- Subject: r244157 - in /branches/gcc-5-branch/libstdc++-v...
Author: redi
Date: Fri Jan 6 14:04:26 2017
New Revision: 244157
URL: https://gcc.gnu.org/viewcvs?rev=244157&root=gcc&view=rev
Log:
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.
* testsuite/25_algorithms/sort/78991.cc: New test.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/25_algorithms/sort/78991.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/predefined_ops.h