Static Foreach

Shammah Chancellor anonymous at coward.com
Sun Nov 24 12:54:26 PST 2013


On 2013-11-24 19:42:11 +0000, Philippe Sigaud said:

> The consensus might well be 'use recursion' :) That's what I'd do in
> your case. CT computation on types is a lot like functional
> programming: recursion and immutability.
> 
> Another solution would be to construct you type as a string, and then 
> mix it in.

Yes.  That's what I'm doing, and it's ugggglyyyy.

This seems excessive:

https://github.com/schancel/gameserver/blob/master/source/messages/core.d#L176



More information about the Digitalmars-d mailing list