[question] Access from UDA constructor to parent symbol

crimaniak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 26 12:07:56 PST 2016


```
class uda
{
     this()
     {
          // I want to see Foo here and use it's reflection to 
iterate fields and methods.
     }
}


@uda
struct Foo
{

}

```
Is there a way to do it?


More information about the Digitalmars-d-learn mailing list