SpatialOps
SpatialOps::Abs< I > Struct Template Reference

Obtain the absolute value of an integer at compile time. More...

#include <IndexTriplet.h>

Detailed Description

template<int I>
struct SpatialOps::Abs< I >

Obtain the absolute value of an integer at compile time.

Examples:

assert( Abs<-4>::result == 4 );

Definition at line 53 of file IndexTriplet.h.


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