std.experimental.checkedint is ready for comments!

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 14 23:54:21 PDT 2016


On 2016-06-15 05:15, tsbockman wrote:

> Originally I wanted to have the policies just be `throws` and `nothrow`
> - but of course `nothrow` is a keyword, so I chose `noex` (short for "no
> exceptions") instead. I agree it looks kind of odd though, especially
> since I later added the `asserts` policy.

nothrow is actually two words, "no" and "throw". Therefore the symbol 
should be noThrow. Solving both the conflict with the keyword and using 
correct grammar :)

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list