tinympl  0.2
mini MPL library for C++11
tinympl::modulus< A, B > Class Template Reference

Computes A%B where A and B are compile time constants. More...

#include <tinympl/modulus.hpp>

Inherits integral_constant< std::common_type< A::value_type, B::value_type >::type, A::value%B::value >.

Detailed Description

template<class A, class B>
class tinympl::modulus< A, B >

Computes A%B where A and B are compile time constants.

Returns
modulus<A,B>::type is a std::integral_constant<T,v> where T is the common type between A and B, and v is A::value % B::value

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