DMD 0.148 - regular expressions

James Dunne james.jdunne at gmail.com
Sun Feb 26 13:19:25 PST 2006


Unknown W. Brackets wrote:
> That looks absolutely amazing.  I want.
> 
> -[Unknown]
> 
> 
>> Walter Bright schrieb am 2006-02-26:
>>
>>> Instead, foreach statements now allow implicit typing of the 
>>> key/value declarations
>>
>> [snip]
>>
>> The only missing implicit typing:
>>
>> # template square(auto x)
>> # {
>> #     auto square = x * x;
>> # }
>>
>> <g>
>>
>> Thomas

OMG, teh ambiguity! =P

Anyway, you really can't do this at the moment?  Oh well, probably 
because auto parameters don't exist yet (AFAIK).

-- 
Regards,
James Dunne



More information about the Digitalmars-d mailing list