Iterate over symbols in tupleof without instance

Dicebot public at dicebot.lv
Tue Apr 15 04:33:44 PDT 2014


On Tuesday, 15 April 2014 at 11:25:14 UTC, Artur Skawina wrote:
>    void iterate(T)()
>    {
>        foreach (index, member; typeof(T.tupleof))
>        {
>            pragma(msg, __traits(identifier, T.tupleof[index]));
>        }
>    }
>
> artur

So ashamed :D


More information about the Digitalmars-d-learn mailing list