Boost logo

Boost :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-05-24 17:17:24

Roland Schwarz wrote:
> However operator[] returns something that is convertible to
> "reference" and not to value_type (as I expected). Can this
> behaviour of iterator_facade be controlled somehow?

The attached patch to iterator_facade made my "Readable" and
"Writeable" == "Swapable" iterator work. However I am not
practised enough to tell if this will break something else.

At least it makes the bracket_proxy return something that is
convertible to value_type and not only to reference.

  _  _  | Roland Schwarz
 |_)(_  | aka. speedsnail
 | \__) | mailto:roland.schwarz_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at