Suggestion: Remove implicit conversion from T[n] and T[] to T*

Witold Baryluk baryluk at mpi.int.pl
Sun Dec 3 11:02:51 PST 2006


Dnia Thu, 30 Nov 2006 19:37:46 +0100
Oskar Linde <oskar.lindeREM at OVEgmail.com> napisał/a:

> - Implicit conversions are generally bad. There are cases where they 
> make sense, but those need a very good reason.
> - Both conversions are available by the .ptr property already and by 
> using that the code is clearer and more self documenting.

I agree. It's more elegant and safer to write such thing explicit.




More information about the Digitalmars-d mailing list