Boost logo

Boost :

Subject: Re: [boost] [iterator] Combining traversal_tags with iterator_tags
From: Ronald Garcia (rxg_at_[hidden])
Date: 2012-01-08 23:45:46


Hello Jeff,

Since input_iterator and output_iterator are orthogonal concepts, I can't imagine what piece of sensible code would cause subtle effects due to preferring input_iterator over output_iterator. Do you have an example in mind?

Thanks,
Ron

On Jan 8, 2012, at 6:32 PM, Jeffrey Lee Hellrung, Jr. wrote:

> I agree, I think the thing to do here is to be explicit about what tag you
> want to use, rather than pulling this out of Boost.Iterator's detail
> namespace; e.g., the above prefers conversions to std::input_iterator_tag
> over std::output_iterator_tag, which could have subtle effects in some
> situations.
>
> - Jeff
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk