re PR libstdc++/64657 (Support iterators with overloaded operator-comma)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 29 Apr 2015 15:22:13 +0000 (16:22 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 29 Apr 2015 15:22:13 +0000 (16:22 +0100)
commitf970a17d6fc79eda660c78632ceff35d814933a8
tree16ecbec608813fb9f433a66d79eca29a399c57b5
parent0aa359c18fe4b3373bae59b3c7e414dbe027c19b
re PR libstdc++/64657 (Support iterators with overloaded operator-comma)

PR libstdc++/64657
* include/bits/basic_string (basic_string::_S_copy_chars): Cast
expression to void.
* include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
time_get::_M_extract_num, time_get::_M_extract_name,
time_get::_M_extract_wday_or_month): Likewise.
* include/bits/stl_algo.h (__includes, __replace_copy_if,
__is_sorted_until, __is_permutation, transform): Likewise.
* include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
__equal::equal, __lexicographical_compare_impl, equal): Likewise.
* include/bits/stl_numeric.h (inner_product): Likewise.
* include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
* testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
input_iterator_wrapper): Declare unusable comma operator.
* testsuite/21_strings/basic_string/cons/char/64657.cc: New.
* testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
New.

From-SVN: r222579
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/include/bits/locale_facets_nonio.tcc
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/include/bits/stl_numeric.h
libstdc++-v3/include/bits/stl_uninitialized.h
libstdc++-v3/testsuite/21_strings/basic_string/cons/char/64657.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/testsuite_iterators.h