Using alias parameters with class members in CTFE (related to UDAs)

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Jul 23 17:13:50 PDT 2013


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.


More information about the Digitalmars-d-learn mailing list