4 Dec
2004
4 Dec
'04
3:30 p.m.
Hi, While using boost::iterator_facade wirh a class type as argument for both the 'Reference' and the 'Value' template type parameter I noticed that I can't access non-const members via operator->. *i is not const and neither 'Value' nor 'Reference' are. A naiv look at the source shows me that operator_arrow_proxy::operator->() always returns 'T const *'. Is this a bug or an intentional restriction ? I'm using the current CVS version (just updated, head revision) and tried to compile with GCC and MSVC. Thanks for any help in advance, Tobias