the cast mess
Christopher Wright
dhasenan at gmail.com
Mon May 18 16:10:41 PDT 2009
grauzone wrote:
> The worst thing about the current cast(T) operator is that it easily
> allows reinterpret cast. This is SO NOT SAFE! Especially with arrays, it
> doesn't do something what the user expects. It's a hidden reinterpret
> cast. This really should be changed.
I use this functionality in a few places. However, there are several
other ways of doing it.
More information about the Digitalmars-d
mailing list