CTFE Status 2
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 8 02:14:17 PDT 2017
On Saturday, 8 April 2017 at 08:50:27 UTC, crimaniak wrote:
> Hi!
>
> Is it hard to implement some way to access symbol from UDA
> constructor of symbol?
>
> ```
> class uda
> {
> this()
> {
> // Iterate by Foo members
> foreach (member; __traits(allMembers, __SYMBOL__))
> ...
> }
> }
>
>
> @uda
> struct Foo
> {
>
> }
>
> ```
This is a question for D.Learn.
please post there.
Also the question is to terse, I do not know what you are asking.
More information about the Digitalmars-d
mailing list