[Bug libstdc++/23767] std::vector iterator implementation wrong
chris at bubblescope dot net
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 20:40:00 GMT 2005
------- Additional Comments From chris at bubblescope dot net 2005-09-07 20:39 -------
Actually, __normal_iterator is what std::string uses for it's iterator class, so
we could be in trouble.
On the note of removing enable_if, my only other thought is something like:
template<class _Iterator, typename _Container, bool __is_const>
then change the problem constructor to:
template<typename _Iter>
inline __normal_iterator(const __normal_iterator<_Iter, _Container, true>&..)
and add
That worries me more than the enable_if however...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23767
More information about the Gcc-bugs
mailing list