SpatialOps
SpatialOps::Subtract< IX1, IX2 > Struct Template Reference

Perform compile-time subtraction over a list of IndexTriplet types. More...

#include <NeboStencilBuilder.h>

Detailed Description

template<typename IX1, typename IX2>
struct SpatialOps::Subtract< IX1, IX2 >

Perform compile-time subtraction over a list of IndexTriplet types.

Perform compile-time subtraction of two IndexTriplet types.

Example usage:

// In the following, MyResult and T3 are the same type:
typedef IndexTriplet< 0, 0, 0> T1;
typedef IndexTriplet< 1,-1, 1> T2;
typedef IndexTriplet<-1, 1,-1> T3;
typedef Subtract< T1, T2 >::result MyResult;

Definition at line 314 of file IndexTriplet.h.


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