Checked instance customized by the provided Hook and valueChecked!(T, Hook) checked(Hook = Abort, T)(const T value) if (is(typeof(Checked!(T, Hook)(value))))Convenience function that turns an integral into the corresponding Checked instance by using template argument deduction. The hook type may be specified (by default Abort).
Hook | type that customizes the behavior, by default Abort |
T | type represetinfg the underlying represantion of the Checked instance |
value | the actual value of the representation |
Checked instance customized by the provided Hook and value