From: rogeeff (rogeeff_at_[hidden])
Date: 2002-01-06 23:25:35
--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
> Hi Jeremy and/or anyone else who cares,
> I am thinking that the iterator adaptor library is overly
> selecting the operator_arror_proxy for the result of its operator->
> whenever the iterator is no more refined than InputIterator.
> also ask whether the associated reference type is not a reference
> resort to the proxy? That would be more efficient for lots of
> would even enable operator->() when iterator_adaptor is used to
> an abstract class.
> Have I missed something?
Maybe 'instead' in place of 'also'? I have several input iterators
based on iterator adaptor, that have an operator ->() returning
reference to some internal buffer. I would not want a proxy in that
> David Abrahams, C++ library designer for hire
> resume: http://users.rcn.com/abrahams/resume.html
> C++ Booster (http://www.boost.org)
> email: david.abrahams_at_r...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk