aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2020-02-04 19:07:06 +0100
committerFrançois Dumont <fdumont@gcc.gnu.org>2020-05-06 23:28:22 +0200
commit72a54e5e8157508c87594d1a6b53de90b76524ce (patch)
tree43e27893f50c6b69a87b4f195789655f5c6969fb /gcc
parentd3a1459cd4f2d4997fb53e34ddef72e91a7855c1 (diff)
downloadgcc-72a54e5e8157508c87594d1a6b53de90b76524ce.zip
gcc-72a54e5e8157508c87594d1a6b53de90b76524ce.tar.gz
gcc-72a54e5e8157508c87594d1a6b53de90b76524ce.tar.bz2
libstdc++ std::fill overload for std::vector<bool>::iterator
Extend the overload so that it is used even when _GLIBCXX_DEBUG mode is activated. * include/bits/stl_algobase.h (struct _Bit_iterator): New declaration. (std::__fill_a1(_Bit_iterator, _Bit_iterator, const bool&)): Likewise. * include/bits/stl_bvector.h (__fill_bvector): Move outside _GLIBCXX_STD_C namespace. (fill(_Bit_iterator, _Bit_iterator, const bool&)): Likewise and rename into... (__fill_a1): ...this. * testsuite/25_algorithms/fill/bvector/1.cc: New.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions