![]() |
Compile time check for a multiplicative relationship of two integral values.This value trait tests whether the first given integral value M is a multiple of the second integral value N (i.e. if , where x is any positive integer in the range
). In case the value is a multiple of N, the value member enumeration is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.
More...
#include <IsMultipleOf.h>
Inherits blaze::IntegralConstant< T, N >.
Compile time check for a multiplicative relationship of two integral values.
This value trait tests whether the first given integral value M is a multiple of the second integral value N (i.e. if , where x is any positive integer in the range
). In case the value is a multiple of N, the value member enumeration is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.