string is rarely useful as a function argument

foobar foo at bar.com
Wed Dec 28 11:48:15 PST 2011


On Wednesday, 28 December 2011 at 19:30:04 UTC, Andrei 
Alexandrescu wrote:
> On 12/28/11 1:18 PM, foobar wrote:
>> That's a good idea which I wonder about its implementation 
>> strategy.
>
> Implementation would entail a change in the compiler.
>
> Andrei

Why? D should be plenty powerful to implement this without 
modifying the compiler.  Sounds like you suggest that char[] will 
behave differently than other T[] which is a very poor idea IMO.


More information about the Digitalmars-d mailing list