All notable changes will be documented in this file.
This document is written according to the Keep a Changelog style.
Initial construction.
Checked<T>
marker discards arithmetic upon overflow.Wrapping<T>
marker forces integer arithmetic to considermin_value()
andmax_value()
as adjacent numbers, with a continuous number circle instead of a number line.Overflowing<T>
marker combinesWrapping
’s arithmetic behavior withChecked
’s overflow detection.Saturating<T>
marker forces integer arithmetic to clamp at the minimum and maximum values, essentially changing the number line from a circle to a walled box.