December 06, 2005 compiler segfault with mangleof and alias termplate arguments | ||||
---|---|---|---|---|
| ||||
Finding new ways to torture these new features... I'm not sure which of these is the problem, but this is as far as I've been able to simplify it. -------- template chook(int n) { const int chook = 3; } template dog(alias f) { int dog = chook!(f.mangleof.length); } class pig {} const int goose = dog!(pig); |
Copyright © 1999-2021 by the D Language Foundation