On Tuesday, 26 August 2014 at 18:13:52 UTC, Gary Willoughby wrote:
With that in mind what is strange is that if in my example you change the class for a struct everything works as expected. Why is that?
That's because when not mixed into a class, Proxy did import std.traits: static if (!is(typeof(this) == class)) { private import std.traits;