FreePOOMA  2.4.1
Public Types
IntersectReturnType< T1, T2 > Struct Template Reference

a simple struct used to figure out the return type when intersecting types T1 and T2. More...

#include <Intersect.h>

List of all members.

Public Types

typedef NewDomain2< T1, T2 >
::Type_t 
Combine_t
typedef DomainChangeDim
< Combine_t, DomainTraits< T1 >
::dimensions >::NewType_t 
Type_t

Detailed Description

template<class T1, class T2>
struct IntersectReturnType< T1, T2 >

a simple struct used to figure out the return type when intersecting types T1 and T2.

It defines a typedef 'Type_t' for what the return type is. Note that we use the 'DomainChangeDim' mechanism after we find out the type when combining T1 and T2, since the combined type will have a dimension of dim(T1) + dim(T2), and we want the dim to be the same as T1.


Member Typedef Documentation

template<class T1, class T2>
typedef NewDomain2<T1,T2>::Type_t IntersectReturnType< T1, T2 >::Combine_t
template<class T1, class T2>
typedef DomainChangeDim<Combine_t,DomainTraits<T1>::dimensions>::NewType_t IntersectReturnType< T1, T2 >::Type_t

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