Rosetta Utilities  2014.35
Static Public Member Functions | List of all members
numeric::ModSelector< T, true > Struct Template Reference

Mod function selector class for integer types. More...

#include <numeric.functions.hh>

Static Public Member Functions

static T mod (T const &x, T const &y)
 

Detailed Description

template<typename T>
struct numeric::ModSelector< T, true >

Mod function selector class for integer types.

Note
When used with negative integer arguments this assumes integer division rounds towards zero (de facto and future official standard)

Member Function Documentation

template<typename T >
static T numeric::ModSelector< T, true >::mod ( T const &  x,
T const &  y 
)
inlinestatic

References basic::T().


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