Boost logo

Boost Users :

From: Joel de Guzman (joel_at_[hidden])
Date: 2008-07-19 20:18:23


Zeljko Vrba wrote:
>
> So fusion is a tuple library that is supposed to ease manipulation of tuples.
> If the above code would be a bad use case for applying fusion, what would be a
> GOOD use case?

Sure: See spirit2, see Phoenix, see Proto. These are early adopters
of fusion. Well, these are probably not what you mean by "traditional",
but we couldn't have written these libraries without fusion (and MPL).

Dave (Abrahams) has a very nice motivating example, I recall now.
In one of his slides, he showed the zip iterator (an iterator adapter)
implemented with and without fusion. The fusion version collapsed
the code to a fraction of the size without it.

Lemme see what I can do.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net