
14 Nov
2008
14 Nov
'08
6:57 p.m.
I have a DSL defined in proto. What's the best wayt o build functions that returns an expression made of this DSl elements. Like let's say the vec_expr class support+-*/ operators I want to write ??? f( vec_expr<W> const& a, vec_expr<Y> const& b) { return (a+b)/(a-b); } How can I easily (aka no nested make_expr call) build the return type ? TIA -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35