re PR libstdc++/63500 (bug in debug version of std::make_move_iterator?)
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 15 Oct 2014 20:40:31 +0000 (20:40 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 15 Oct 2014 20:40:31 +0000 (20:40 +0000)
commit8a7fb87eae6a9ba8ba0a715d92912893b218512c
tree33b5bedc66d40f1b09f6963f7781b01e820cda16
parente39423c06daa6d37098d1000174587b10ce695a3
re PR libstdc++/63500 (bug in debug version of std::make_move_iterator?)

2014-10-15  François Dumont  <fdumont@gcc.gnu.org>
    Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/63500
* include/debug/functions.h (__foreign_iterator_aux2): Do not check for
foreign iterators if input iterators returns rvalue reference.
* testsuite/23_containers/vector/63500.cc: New.

Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r216286
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/functions.h
libstdc++-v3/testsuite/23_containers/vector/63500.cc [new file with mode: 0644]