MultiplicativePromotion< T1, T2, Bool > Class Template Reference

#include <apibase.h>

Detailed Description

template<typename T1, typename T2, Bool = true>
class maxon::MultiplicativePromotion< T1, T2, Bool >

This type trait has the type of T1 * T2 as result type. You can use it to deduce the result type of multiplicative template functions.

Public Types

using type = decltype(std::declval< T1 >() *(T1) std::declval< T2 >())
 

Member Typedef Documentation

◆ type

using type = decltype(std::declval<T1>() * (T1)std::declval<T2>())