I am developing a numerical method which strongly relies on expression
trees. The user of this method should supply N expression trees with which
some fancy operations are done. I think proto is great for that task, but
I do not know how to store the expression. I think a combination of a
classical container and boost::any or something similar is not sufficient,
because the type informations are lost, once the expression inside

In pseudo code it should look like this:

Expressions< N > expressions;
construct( expressions );    // or something similar
do_step( epxressions , x ); // my method

Do you have any ideas, how to solve this? Maybe fusion containers would work.



proto mailing list

Reply via email to