Simen kjaeraas: > > cast(ubyte[]) x"..." > > Never used them, tbh. But shouldn't that be > > cast(ubyte[]) x"...".dup
Maybe it's to avoid such mistakes that C++ has const_cast separated from other casts. Bye, bearophile
Simen kjaeraas: > > cast(ubyte[]) x"..." > > Never used them, tbh. But shouldn't that be > > cast(ubyte[]) x"...".dup
Maybe it's to avoid such mistakes that C++ has const_cast separated from other casts. Bye, bearophile