std.log version 2
Jose Armando Garcia
jsancio at gmail.com
Sat Jun 4 10:23:52 PDT 2011
Is this an existing feature? a to be feature? or vaporware?
Grepping dmd, druntime, phobos yield no result.
On Sat, Jun 4, 2011 at 2:10 PM, KennyTM~ <kennytm at gmail.com> wrote:
> 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