Using alias parameters with class members in CTFE (related to UDAs)
Johannes Pfau
nospam at example.com
Tue Jul 23 23:39:38 PDT 2013
Am Wed, 24 Jul 2013 02:13:50 +0200
schrieb Andrej Mitrovic <andrej.mitrovich at gmail.com>:
> On 7/23/13, Johannes Pfau <nospam at example.com> wrote:
> > Does anyone know why this code is not working?
> > http://dpaste.dzfl.pl/b89e7b3f
>
> Add 'static' to getAttribute and it will work. I know, it's weird, and
> I've seen this sort of workaround used before. I think it's a compiler
> bug.
Thanks! I already feared I'd have to use some string mixin tricks :-)
More information about the Digitalmars-d-learn
mailing list