Next in Review Queue: The New std.path

bearophile bearophileHUGS at lycos.com
Thu Jul 14 19:22:16 PDT 2011


dsimcha:

> Author's comments -- please read before reviewing:

> Thirdly, I have applied @safe, pure and nothrow wherever possible.
> There were cases where this was not possible, either due to bugs in DMD
> (specifically, 5304, 5700 and 5798) or due to functions in other Phobos
> modules not being properly marked with these attributes.  I have marked
> these with //TODO comments and will fix them as soon as possible.

Adding pure and nothrow to functions in other Phobos modules is a good thing.
There are functions like to!int("12") that to become pure require some other functions to become pure first. I think that currently functions that contain enforce can't be pure.

Bye,
bearophile


More information about the Digitalmars-d mailing list