On 4/14/11 1:26 PM, Steven Schveighoffer wrote:
On Thu, 14 Apr 2011 13:54:00 -0400, Andrei Alexandrescu
<[email protected]> 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