Marco Leise:

Again it seems my message you have answered to is not visible through the online reader at forum.dlang.org.

So true. It happens to me sometimes that I cast away const although I just want to cast a type. It's also a reason I am not a big fan of considering "cast(ubyte) 0" normal. It is pragmatic though.

A not a lot documented way to remove a const it to use an empty cast() with no argument. Another way is to use unqual!().

Bye,
bearophile

Reply via email to