assert vs. enforce in Phobos code
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Sun Feb 23 12:00:47 PST 2014
On Sunday, 23 February 2014 at 17:51:34 UTC, Joseph Rushton
Wakeling wrote:
> Assuming I'm right about these enforce statements being
> inappropriate, I'll make a patch.
I believe you are correct, but the larger issue is that Phobos
doesn't come with a debug build. So while they probably should be
contracts, they will not be verified since the contracts will be
compiled out.
More information about the Digitalmars-d
mailing list