diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2015-07-16 19:17:26 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2015-07-16 19:17:26 +0000 |
commit | 5bc1c07c4a3724d55f82e32f13be6307de9adcff (patch) | |
tree | c141f5ab885bf0457debc4ef7a1854d9c94e6e02 /libstdc++-v3/include/debug/functions.h | |
parent | a4cb876dc96b5e400650422e16264f9d50b6751b (diff) | |
download | gcc-5bc1c07c4a3724d55f82e32f13be6307de9adcff.zip gcc-5bc1c07c4a3724d55f82e32f13be6307de9adcff.tar.gz gcc-5bc1c07c4a3724d55f82e32f13be6307de9adcff.tar.bz2 |
stl_algobase.h (__miter_base): Move...
2015-07-16 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_algobase.h (__miter_base): Move...
* include/bits/cpp_type_traits.h: ...here.
* include/debug/functions.h (__foreign_iterator_aux): Use latter.
* testsuite/23_containers/vector/debug/insert7_neg.cc: New.
From-SVN: r225902
Diffstat (limited to 'libstdc++-v3/include/debug/functions.h')
-rw-r--r-- | libstdc++-v3/include/debug/functions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/include/debug/functions.h b/libstdc++-v3/include/debug/functions.h index 7f0659f..a9f234b 100644 --- a/libstdc++-v3/include/debug/functions.h +++ b/libstdc++-v3/include/debug/functions.h @@ -198,7 +198,8 @@ namespace __gnu_debug std::__false_type) { return _Insert_range_from_self_is_safe<_Sequence>::__value - || __foreign_iterator_aux2(__it, __other, __other_end); + || __foreign_iterator_aux2(__it, std::__miter_base(__other), + std::__miter_base(__other_end)); } template<typename _Iterator, typename _Sequence, |