FreePOOMA
2.4.1
|
When evaluating expressions, we need to check to make sure that the left hand side has the same domain as the right. More...
#include <Conform.h>
Public Member Functions | |
template<class Domain > | |
ConformTag (const Domain &domain) | |
int | length (int i) const |
When evaluating expressions, we need to check to make sure that the left hand side has the same domain as the right.
To do that, we build a ConformTag functor with the domain from the lhs, and drop it down the rhs tree. It makes sure that the lengths of the domains are all the same.
ConformTag< D >::ConformTag | ( | const Domain & | domain | ) | [inline] |
References ConformTag< D >::length().
int ConformTag< D >::length | ( | int | i | ) | const [inline] |
Referenced by conforms(), and ConformTag< D >::ConformTag().