tinympl
0.2
mini MPL library for C++11
|
Computes A
-B
where A
and B
are compile time type constants.
More...
#include <tinympl/minus.hpp>
Inherits integral_constant< std::common_type< A::value_type, B::value_type >::type, A::value-B::value >.
Computes A
-B
where A
and B
are compile time type constants.
minus<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