std.log version 2

KennyTM~ kennytm at gmail.com
Sat Jun 4 11:34:36 PDT 2011


On Jun 5, 11 01:23, Jose Armando Garcia wrote:
> 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 :|
>>

A rejected proposal, e.g. see 
http://www.digitalmars.com/d/archives/digitalmars/D/std.unittests_updated_for_review_127696.html 
and issue 5547.


More information about the Digitalmars-d mailing list