Single header, templatized epxression tree. Assign functors to branches and values to leaves, then call evaluate(). Requires C++11's function<T>. Optional multi-threaded evaluation is dependent on header <future>.

Features

  • Optional optimization: cache value of constant sub-trees on evaluation or on modification.
  • Optional optimization: multithreaded evaluation.
  • Embedded Doxygen documentation available on project's web site.
  • Tested with VS2008, VS2010, VS 11 Beta, GCC 4.2.1, GCC 4.5.0 and GCC 4.6.3.

Project Activity

See All Activity >

Categories

Libraries

License

Boost Software License (BSL1.0)

Follow expression_tree

expression_tree Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of expression_tree!

Additional Project Details

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Libraries

Registered

2010-11-13