Time to move std.experimental.checkedint to std.checkedint ?
Jacob Carlborg
doob at me.com
Wed Mar 24 13:14:39 UTC 2021
On Tuesday, 23 March 2021 at 21:26:43 UTC, mw wrote:
> https://issues.dlang.org/show_bug.cgi?id=21169
>
> Issue 21169 - make checkedint as a drop-in replacement of
> native int/long
I'm not sure if the first thing can be supported. I would require
implicit conversions of custom types, which has always been
refused in the past.
I don't think the last one, number 7, can work either. checkedint
supports adding arbitrary hooks that are executed during various
conditions. I don't see how those could be made atomic.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list