]> gcc.gnu.org Git - gcc.git/commit
safe_iterator.h (_BeforeBeginHelper<>::_S_Is): Take only a const safe iterator reference.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 8 Nov 2013 21:03:58 +0000 (21:03 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 8 Nov 2013 21:03:58 +0000 (21:03 +0000)
commit9fc0e24b6c36db7fab166148d3c20dc11979d26b
tree127a57a01410caa1b07b9f08156a9d0bab0fde0a
parentd53b3432e224527d5864c4ad91beefa6a20ef0f0
safe_iterator.h (_BeforeBeginHelper<>::_S_Is): Take only a const safe iterator reference.

2013-11-08  François Dumont  <fdumont@gcc.gnu.org>

* include/debug/safe_iterator.h (_BeforeBeginHelper<>::_S_Is):
Take only a const safe iterator reference.
(_BeforeBeginHelper<>::_S_Is_beginnest): Likewise.
(__get_distance): Take only one type of iterator.
(_Safe_iterator<>::_M_valid_range<>): Not template anymore.
(_Safe_iterator<>::_M_get_sequence()): Return pointer to const
sequence from a const_iterator and a pointer to sequence from an
iterator.
* include/debug/safe_iterator.tcc: Adapt.
* include/debug/safe_local_iterator.h
(_Safe_local_iterator<>::_M_valid_range<>): Not template anymore.
(_Safe_local_iterator<>::_M_get_sequence()): Return pointer to
const sequence from a const_iterator and a pointer to sequence
from an iterator.
* include/debug/safe_local_iterator.tcc: Adapt.
* include/debug/forward_list
(_BeforeBeginHelper<std::__debug::forward_list<>>): Adapt.

From-SVN: r204598
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/forward_list
libstdc++-v3/include/debug/safe_iterator.h
libstdc++-v3/include/debug/safe_iterator.tcc
libstdc++-v3/include/debug/safe_local_iterator.h
libstdc++-v3/include/debug/safe_local_iterator.tcc
This page took 0.05881 seconds and 5 git commands to generate.