
26 Sep
2006
26 Sep
'06
9:09 p.m.
Joel de Guzman <joel@boost-consulting.com> writes:
David Abrahams wrote:
Joel de Guzman <joel@boost-consulting.com> writes:
joint_view is a prime example of a segmented sequence. The resulting iterators from it will have some overhead. That is inevitable. See joint_view_iterator so you'll know what I mean.
I don't get it. Fusion iterators know their position at compile-time. Why should there be any overhead?
joint_view_iterator needs to store these info:
a) an iterator from the first sequence (left) b) an iterator from the second sequence (right)
then, if you have a stacked joint_view_iterators, the outermost joint_view_iterator will be quite hefty.
OK, understood. -- Dave Abrahams Boost Consulting www.boost-consulting.com