Times.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_MPL_TIMES_H_
36 #define _BLAZE_UTIL_MPL_TIMES_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
70 template< typename T1 // Type of the first compile time value
71  , typename T2 > // Type of the second compile time value
72 struct Times
73  : public IntegralConstant< CommonType_< typename T1::ValueType, typename T2::ValueType >
74  , ( T1::value * T2::value ) >
75 {};
76 //*************************************************************************************************
77 
78 } // namespace blaze
79 
80 #endif
Compile time integral multiplication.The Times class template returns the product of the two given te...
Definition: Times.h:72
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the CommonType type trait.
Header file for the IntegralConstant class template.