FreePOOMA
2.4.1
|
IntersectDomain implements a basic template meta-program to intersect each dimension separately of the multidimensional domains. More...
#include <Intersect.h>
Public Types | |
enum | { strided } |
Static Public Member Functions | |
static void | intersect (const T1 &a, const T2 &b, T3 &c) |
IntersectDomain implements a basic template meta-program to intersect each dimension separately of the multidimensional domains.
It uses IntersectDomainSingle to do the single-domain intersection, telling that struct whether the domains have unit stride or not. A general version of IntersectDomain is defined, to intersect the domains in the 'Dim' dimension, and then a specialization is provided for Dim==1 that stops the metaprogram recursion.
static void IntersectDomain< T1, T2, T3, Dim >::intersect | ( | const T1 & | a, |
const T2 & | b, | ||
T3 & | c | ||
) | [inline, static] |
Referenced by IntersectDomain< T1, T2, T3, 1 >::intersect().