std.log version 2
KennyTM~
kennytm at gmail.com
Sat Jun 4 10:10:22 PDT 2011
On Jun 5, 11 01:04, Jose Armando Garcia wrote:
> Now on to rich boolean. I wanted to be able to print in the log
> message why the when() expression is true. To achieve this I added a
> struct Rich(Type)
> which encapsulate the value and the reason for that value. Right now
> the implementation is not every smart and just stores the reason as a
> string.
This reminds me of assertPred :|
More information about the Digitalmars-d
mailing list