Struct ct_sub

Synopsis

#include <include/EASTL/ratio.h>

template <intmax_t X, intmax_t Y>
struct ct_sub

Description

ct_sub

Source

Lines 136-141 in include/EASTL/ratio.h.

template <intmax_t X, intmax_t Y>
struct ct_sub
{
c_assert(AdditionOverFlow<X,-Y>::value, "compile-time addition overflow"); 
 static const intmax_t value = X - Y;
};





Add Discussion as Guest

Log in