Checking function parameters in Phobos

Simen Kjærås simen.kjaras at gmail.com
Tue Nov 26 00:18:59 PST 2013


On 2013-11-26 06:37, Meta wrote:
> On Monday, 25 November 2013 at 08:52:14 UTC, Simen Kjærås wrote:
>> @safe is only for memory safety, which this is not. I agree it would be
>> nice to mark assumeValidated as 'warning, may not do what it claims',
>> but @safe is not really the correct indicator of that.
>
> What about a version flag, then, that can be passed to specify that the
> user wants assumeValidated() to run the validation functions as well?

That's already in:
http://git.io/EdHw8A

--
   Simen



More information about the Digitalmars-d mailing list