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.