35 #ifndef _BLAZE_MATH_TRAITS_MULTTRAIT_H_
36 #define _BLAZE_MATH_TRAITS_MULTTRAIT_H_
43 #include <boost/typeof/typeof.hpp>
135 template<
typename T1
150 struct MultType {
typedef BOOST_TYPEOF_TPL( Type1() * Type2() ) Type; };
171 template<
typename T1,
typename T2 >
188 template<
typename T1,
typename T2 >
189 struct MultTrait< T1, complex<T2>, typename EnableIf< IsBuiltin<T1> >::Type >
193 typedef typename CommonType< T1, complex<T2> >::Type Type;
205 template<
typename T1,
typename T2 >
206 struct MultTrait< complex<T1>, complex<T2> >
210 typedef typename CommonType< complex<T1>, complex<T2> >::Type Type;
Compile time type selection.The If class template selects one of the two given types T2 and T3 depend...
Definition: If.h:112
Compile time check for volatile data types.The IsVolatile type trait tests whether or not the given t...
Definition: IsVolatile.h:94
Header file for the RemoveCV type trait.
Header file for the IsVolatile type trait.
Deduction of a type common to several types.The CommonType type trait deduces a type that is common t...
Definition: CommonType.h:70
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the If class template.
Header file for the Or class template.
Header file for the EnableIf class template.
Header file for the CommonType type trait.
Removal of reference modifiers.The RemoveCV type trait removes any reference modifiers from the given...
Definition: RemoveReference.h:69
Header file for the IsConst type trait.
Base template for the MultTrait class.
Definition: MultTrait.h:138
Substitution Failure Is Not An Error (SFINAE) class.The EnableIf class template is an auxiliary tool ...
Definition: EnableIf.h:184
Compile time check for built-in data types.This type trait tests whether or not the given template pa...
Definition: IsBuiltin.h:94
Header file for the IsReference type trait.
Header file for the RemoveReference type trait.
Compile time check for constant data types.The IsConst type trait tests whether or not the given temp...
Definition: IsConst.h:94
Header file for the IsBuiltin type trait.
Compile time type check.This class tests whether the given template parameter T is a reference type (...
Definition: IsReference.h:94
Header file for the complex data type.