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"

Reply via email to