deque.tcc (deque<>::_M_assign_aux): Cast to void to ensure overloaded comma not used.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 2 May 2018 19:51:33 +0000 (19:51 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 2 May 2018 19:51:33 +0000 (19:51 +0000)
commit27db01d8039a1a1664bcd1ebd1f66cedcfe72398
treef042570f7ee6b09d19f49069e2394e29bfbf95d4
parent85d0fad46932c6ff6cad0d839157c4290a5f6586
deque.tcc (deque<>::_M_assign_aux): Cast to void to ensure overloaded comma not used.

2018-05-02  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/deque.tcc (deque<>::_M_assign_aux): Cast to void to
ensure overloaded comma not used.
* include/bits/list.tcc (list<>::_M_assign_dispatch): Likewise.
* include/bits/vector.tcc (vector<>::_M_assign_aux): Likewise.
* include/bits/stl_bvector.h (vector<bool>::_M_assign_aux): Likewise.
* testsuite/23_containers/deque/modifiers/assign/1.cc: New.
* testsuite/23_containers/list/modifiers/assign/1.cc: New.
* testsuite/23_containers/vector/bool/modifiers/assign/1.cc: New.
* testsuite/23_containers/vector/modifiers/assign/1.cc: New.

From-SVN: r259856
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/deque.tcc
libstdc++-v3/include/bits/list.tcc
libstdc++-v3/include/bits/stl_bvector.h
libstdc++-v3/include/bits/vector.tcc
libstdc++-v3/testsuite/23_containers/deque/modifiers/assign/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/list/modifiers/assign/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/assign/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/modifiers/assign/1.cc [new file with mode: 0644]