On 07/07/2013 01:22 PM, John Colvin wrote:
On Sunday, 7 July 2013 at 19:55:26 UTC, QAston wrote:
I have a large enum in my code (opcodes for a protocol) - using
std.traits.EnumMembers gives me a recursive template error.

How can i increase max number recursive template expansions?

I don't think you can. Please file a bug report: even though it might
not get fixed any time soon (other than maybe just upping the
threshold), there is talk of enabling more imperative-style programming
in templates at the moment, and this would be a good case for it.


or feel free to commandeer this one

http://d.puremagic.com/issues/show_bug.cgi?id=6471

Reply via email to