A Perspective on D from game industry
Rikki Cattermole via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 16 04:49:06 PDT 2014
On 16/06/2014 11:39 p.m., Timon Gehr wrote:
> On 06/16/2014 03:12 AM, H. S. Teoh via Digitalmars-d wrote:
>>
>> This insight therefore causes D's templates to mesh very nicely with
>> CTFE to form a beautifully-integrated whole.
>
> I wouldn't go exactly that far. For one thing, CTFE cannot be used to
> manipulate types.
I would go that far, when combining string mixins, templates and CTFE.
It can produce whole new set of code from a given set. Just look at
dvorm in its Query class.
What with generating methods like:
Query!Book edition_eq(ubyte)
More information about the Digitalmars-d
mailing list