expression_tree  3.2
All Classes Files Functions Variables Typedefs
Public Member Functions
expression_tree::tree< T, CachingPolicy, ThreadingPolicy > Class Template Reference

Implements an expression tree. More...

#include <expression_tree.h>

Inheritance diagram for expression_tree::tree< T, CachingPolicy, ThreadingPolicy >:
Inheritance graph
[legend]
Collaboration diagram for expression_tree::tree< T, CachingPolicy, ThreadingPolicy >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

node< T, CachingPolicy,
ThreadingPolicy > & 
root ()
 This tree's root node.

Detailed Description

template<typename T, template< typename, typename > class CachingPolicy = no_caching, class ThreadingPolicy = sequential>
class expression_tree::tree< T, CachingPolicy, ThreadingPolicy >

Implements an expression tree.

Parameters:
TThe data type.
CachingPolicyCaching optimization policy to use. Choices are:
ThreadingPolicyThreading policy to use when evaluating a branch's children. Choices are:
  • sequential: evaluate children on after the after on a single thread.
  • parallel: evaluate children in parallel as hardware permits using std::async.

The documentation for this class was generated from the following file: