Type Qualifiers and Wild Cards
deadalnix
deadalnix at gmail.com
Tue Nov 8 05:48:09 PST 2011
Le 08/11/2011 14:36, Gor Gyolchanyan a écrit :
> I agree with _inout_ being a bad choice.
> I'd rather use something involving _auto_, because this kind of use of
> _auto_ is already employed in _auto ref_ parameters and is visually
> unambiguous.
> Probably _auto const_ would do the trick.
>
> The actual _inout_ keyword could be flagged as deprecated and removed
> during the next breaking change in D (along with all other wonderful
> breaking changes that were proposed).
>
Well use of auto can be ambiguous here I think.
What about auto const ref ?
More information about the Digitalmars-d
mailing list