2012-02-06 François Dumont <fdumont@gcc.gnu.org>
commit70102d084e01d9e1e73bafbaba211d426798c526
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Feb 2012 20:19:44 +0000 (6 20:19 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Feb 2012 20:19:44 +0000 (6 20:19 +0000)
tree0088c6eec6bede2a2e18376a5815c02d951c71f5
parentda7eaa223a56d51c082e3ceeede801f3eb03ef83
2012-02-06  François Dumont  <fdumont@gcc.gnu.org>

* include/debug/safe_iterator.h
(_Safe_iterator::_M_before_dereferenceable): Avoid the expensive
creation of a _Safe_iterator instance to do the check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183941 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/safe_iterator.h