
8 Mar
2005
8 Mar
'05
6:24 a.m.
Pavel Chikulaev wrote:
Fusion may provide the infrastructure for this. In the iostreams library, I used something like a homemade tuple; but for a more ambitious implementation of expression templates I would want to use existing tools as much as possible.
I've used in my library home-made
template<typename FirstArgT, typename Op, typename SecondArgT> class binary_op;
template<typename Op, typename ArgT> class unary_op;
template<typename LazyExpr> class result_of;
I don't think that Fusion will help me here, but I'll take a look at it.
IIUC Fusion won't help you here as much as Phoenix (the successor to Boost::LL) which already contains many of building blocks you'd need for your library. Regards Hartmut