Hi, I would like to perform the dynamic expression evaluation in my c++ application. The dynamic expressions are like the SQL queries. Since the expressions could be nested & hence the parsing & evaluation of such expressions is reducing the performance of my application. May I please know, whether BOOST provides a support for such dynamic expression evaluation in C++? Please guide. Thanks in advance for the guidance. Regards, Ganesh ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ==============================================================================
Request to know about "dynamic expression evaluation"Look for "expression templates"
Robert Ramey
"Borse, Ganesh"
on Tue Oct 23 2007, "Robert Ramey"
Look for "expression templates"
Boost.Proto provides support for expression templates. Expression templates are only suitable for statically-parsable expressions (which may be dynamically evaluated). I am not sure whether the expression syntax is static or dynamic in the Ganesh's case. If it's dynamic, Ganesh should look at Boost.Spirit or Boost.Xpressive. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (3)
-
Borse, Ganesh
-
David Abrahams
-
Robert Ramey