"Try it now"
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Apr 14 11:57:44 PDT 2011
On 4/14/11 1:26 PM, Steven Schveighoffer wrote:
> On Thu, 14 Apr 2011 13:54:00 -0400, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> On 4/14/11 12:26 PM, Steven Schveighoffer wrote:
>>> Any particular reason why adding a new trait is more
>>> desirable than modifying assert?
>>
>> Absolutely!
>
> Maybe I worded my question wrong. What I meant was what *is* the
> particular reason.
Already mentioned it - enforce() is a prime example. Any similar
facility could make good use the feature.
> And keep in mind, when I say modifying assert, I mean changing the way
> assert compiles, not changing it's usage.
I understand.
Andrei
More information about the Digitalmars-d
mailing list