Struct ct_multi

Synopsis

#include <include/EASTL/ratio.h>

template <intmax_t X, intmax_t Y>
struct ct_multi

Description

ct_multi

Source

Lines 144-149 in include/EASTL/ratio.h.

template <intmax_t X, intmax_t Y>
struct ct_multi
{
c_assert(MultiplyOverFlow<X,Y>::value, "compile-time multiply overflow"); 
 static const intmax_t value = X * Y;
};





Add Discussion as Guest

Log in