Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-06-13 11:48:34

----- Original Message -----
From: "Daryle Walker" <darylew_at_[hidden]>

> on 6/13/01 6:22 AM, Aleksey Gurtovoy at alexy_at_[hidden] wrote:
> > Self-proxing is the most common and easy way to implement output
> > and IMO it would be reasonable for 'output_iterator_helper' to provide a
> > default support for the idiom, if this does not prevent other usages.
> > the above form doesn't. Basically, it's what we are using here at work,
> > I would love to replace it by the boost code instead :).
> But so far, we just had enough code to support the secondary operators.
> you want to add code to implement primary operators; that sounds like a
> leap. What if an iterator doesn't want to use self-proxying?

No problem; the iterator's own implementation of operator* and operator++
will get used and the ones supplied by output_iterator_helper will never be


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