painlessjson released, looking for improvement advice

data man via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Feb 1 03:12:09 PST 2015


On Sunday, 1 February 2015 at 10:07:42 UTC, Vladimir Panteleev 
wrote:
> On Sunday, 1 February 2015 at 07:56:53 UTC, data man wrote:
>> On Sunday, 1 February 2015 at 06:08:35 UTC, Vladimir Panteleev 
>> wrote:
>>> (Caveat: last one needs 5-ish compiler patches to work.)
>>
>> Which, please specify?
>
> It should tell you nicely when you try to compile without them:
>
> https://github.com/CyberShadow/ae/blob/master/utils/meta/caps.d
>
> (pull #3345 is 3 commits)

Alas, but...

void main()
{
     pragma(msg, is(typeof({ struct S { int i; } S s; 
__traits(child, s, S.i) = 0; })));
}

output "false"


More information about the Digitalmars-d-announce mailing list