https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78991
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Fri Jan 6 13:20:05 2017 New Revision: 244152 URL: https://gcc.gnu.org/viewcvs?rev=244152&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-6-branch/libstdc++-v3/testsuite/25_algorithms/sort/78991.cc Modified: branches/gcc-6-branch/libstdc++-v3/ChangeLog branches/gcc-6-branch/libstdc++-v3/include/bits/predefined_ops.h