[phobos] enforce() vs. assert() for range primitives

Walter Bright walter at digitalmars.com
Sat Aug 21 16:33:53 PDT 2010



Brad Roberts wrote:
>
>
> The part I dislike the most is that this decision is being heavily influenced by
> a dmd quality of implementation issue.  Primarily, the inlinability of enforce
> vs assert.
>
>   

It should be assert, regardless.


More information about the phobos mailing list