issues.dlang.org send mail to gmail failure.

test test at gmail.com
Tue Oct 23 06:06:45 UTC 2018


On Tuesday, 23 October 2018 at 05:57:30 UTC, rikki cattermole 
wrote:
> Proxy!FiberS does not define a symbol called getThis that is 
> static. And yes I did see the alias this, it does not propagate 
> static symbols.

then why  this work ?

    static void test(){
      auto id = Fiber.getThis(); // work here
    }

alias this can be use to for private resource manage , explode 
proxy to public.

allow forward static public Enum, Method and alias is very 
necessary to protect the resource struct really private.





More information about the Digitalmars-d mailing list