DbI checked integral

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 27 01:20:52 PDT 2016


On Sunday, 26 June 2016 at 16:03:57 UTC, Andrei Alexandrescu 
wrote:
>> like. Default to NaN or throwing Exceptions.
>
> That is a side discussion as trivial as deciding the defaul 
> second argument for Checked(T, Hook = DefaultHook).

Fair enough.


I was looking into creating a NaN Hook. I could create it by 
doing some ugly stuff inside the Hook. Things would have been 
nicer if there is a ctor hook.


p.s. a dub package would be nice


More information about the Digitalmars-d mailing list