Is this a bug when creating proxies in classes?
    anonymous via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Thu Aug 28 09:23:47 PDT 2014
    
    
  
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;
    
    
More information about the Digitalmars-d-learn
mailing list