Const by Default

Carlos Santander csantander619 at gmail.com
Sun Jun 24 19:55:33 PDT 2007


Derek Parnell escribió:
> On Sun, 24 Jun 2007 18:02:42 -0700, David B. Held wrote:
> 
>> At one time, C had 'implicit int' return types.  C++ removed them.  Why? 
>>   Because 'implicit int' is A Bad Thing(TM).  C++ has implicit template 
>> instantiation.  D doesn't.
> 
> Huh? I thought D does have a form of implicit template instantiation.
> 

D does have it. In fact, I remember Walter once said that ideally it should work 
the same way that C++ does.

-- 
Carlos Santander Bernal



More information about the Digitalmars-d mailing list