From: David Abrahams (dave_at_[hidden])
Date: 2006-09-06 23:21:57
"Andy Little" <andy_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote in message
>> "Andy Little" <andy_at_[hidden]> writes:
>>> So all in all I reckon Boost.Fusion is quite cool :-). Of course it is
>>> not as good performance wise,
>> I don't know why you say "of course." Just as STL iteration can be
>> faster than a hand-coded loop, in MPL we did several things that can
>> make it quite a bit faster to use the high-level abstractions than to
>> do the naive hand-coded version. The same thing could be true of Fusion.
> Dunno, but there are two things, firstly references, aka pointers,
What about them?
> and secondly iterators aka pointers.
Fusion iterators are not pointers... at least, not in the usual sense.
They might contain one pointer (to the whole tuple) that is never
mutated during iteration.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk