FreePOOMA  2.4.1
Public Types | Static Public Member Functions
Combine2< Domain1, Domain2, Op, DomainFunctorTag > Struct Template Reference

Here we supply combiners that work with DomainFunctorTag to combine domains. More...

#include <ExpressionEngine.h>

List of all members.

Public Types

typedef ErrorDomain Type_t

Static Public Member Functions

static Type_t combine (const Domain1 &, const Domain2 &, const DomainFunctorTag &)

Detailed Description

template<class Domain1, class Domain2, class Op>
struct Combine2< Domain1, Domain2, Op, DomainFunctorTag >

Here we supply combiners that work with DomainFunctorTag to combine domains.

These combiners are incomplete. Right now, they just return the leftmost domain in an expression. Eventually we want to add some kind of runtime check here that checks to see if the domains are compatible. In general adding two things on different domain types is an error.


Member Typedef Documentation

template<class Domain1 , class Domain2 , class Op >
typedef ErrorDomain Combine2< Domain1, Domain2, Op, DomainFunctorTag >::Type_t

Member Function Documentation

template<class Domain1 , class Domain2 , class Op >
static Type_t Combine2< Domain1, Domain2, Op, DomainFunctorTag >::combine ( const Domain1 &  ,
const Domain2 &  ,
const DomainFunctorTag  
) [inline, static]

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