cerevra / int

38 stars 6 forks source link

Noexcept dismatch #10

Open dix75 opened 7 years ago

dix75 commented 7 years ago

I've found out that the embedded сomparison functions are declared as a noexcept but all external are implemented without the noexcept keyword. for instance (only parts of code)

template <typename T, class = __keep_size<T>>
constexpr static bool operator_more(const wide_integer<MachineWords, Signed>& lhs,
                                    const T& rhs) noexcept ;
template <size_t MachineWords, wide_integer_s Signed, size_t MachineWords2, wide_integer_s Signed2>
constexpr bool operator>(const wide_integer<MachineWords, Signed>& lhs,
                         const wide_integer<MachineWords2, Signed2>& rhs);