
30 Mar
2015
30 Mar
'15
8:49 p.m.
El 30/03/2015 a las 19:05, Eric Niebler escribió:
Why are the elements of a const boost::vector mutable through its const_iterator?
It's a bug. The following line in class vec_iterator (vector.hpp): typedef typename boost::intrusive::pointer_traits<Pointer> ptr_traits; should be pointer_traits<pointer> ("pointer" in lowercase). Best, Ion