A few questions
Yatheendra
indra at yath.io
Mon Jun 29 18:32:04 UTC 2020
On Monday, 29 June 2020 at 16:56:37 UTC, Andrei Alexandrescu
wrote:
>
> I think the first order of business would be to have a nothrow
> core that defines correcntess of inputs as preconditions. The
> rest of the library can use it underneath. For example
> maxElement would have a precondition that the range is not
> empty etc.
>
> That also means finding new ways for APIs. std.conv.to would
> need a lambda to call if conversion fails, thus pushing policy
> to the caller.
Thanks for providing an anchor point for a clean-up effort.
Any more specifics? Like just spelling out if @nogc is a
consideration.
More information about the Digitalmars-d
mailing list