compile-time regex redux

Andrei Alexandrescu (See Website For Email) SeeWebsiteForEmail at erdani.org
Fri Feb 9 11:51:28 PST 2007


janderson wrote:
> Andrei Alexandrescu (See Website For Email) wrote:
>> Bill Baxter wrote:
>>
>> Templates already do that, albeit with a slightly odd syntax. But stay 
>> tuned, Walter is eyeing $ as the prefix to denote compile-time 
>> variables, and sure enough, compile-time functions will then emerge 
>> naturally :o).
>>
>>
>> Andrei
> 
> While its good that Walter is considering compile-time variable.  I 
> don't see why you need a symbol $ inside a template.  Of course if your 
> going to use them out side then you do.  I think template code could 
> look almost the same as normal code, which would make it much more 
> writable/readable and reusable.

I think the same. We need to convince Walter :o).

Andrei



More information about the Digitalmars-d mailing list