string is rarely useful as a function argument

Jakob Ovrum jakobovrum at gmail.com
Wed Dec 28 13:22:55 PST 2011


On Wednesday, 28 December 2011 at 20:49:54 UTC, Jonathan M Davis 
wrote:
> On Wednesday, December 28, 2011 19:25:15 Jakob Ovrum wrote:
>> Also, 'in char[]', which is conceptually much safer, isn't that
>> much longer to type.
>> 
>> It would be cool if 'scope' was actually implemented apart from
>> an optimization though.
>
> in char[] is _not_ safer than immutable(char)[].

I didn't say it was. Please read more closely.


More information about the Digitalmars-d mailing list