CNL  2.0.2 (development)
Compositional Numeric Library
cnl::trapping_overflow_tag Struct Reference

tag to specify trap-on-overflow behavior in arithemtic operations More...

#include <cnl/overflow.h>

Inherits cnl::_impl::homogeneous_deduction_tag_base, and cnl::_impl::homogeneous_operator_tag_base.

Detailed Description

tag to specify trap-on-overflow behavior in arithemtic operations

Arithmetic operations using this tag call std::abort when the result exceeds the range of the result type.

See also
overflow_integer, convert, native_overflow_tag, saturated_overflow_tag, throwing_overflow_tag, undefined_overflow_tag