Allows casting between qualified versions of the input type. The unqualified version of the types need to be implicitly convertible in at least one direction.
const(char)* myString = "Hello, world!"; char* myStringMut = const_cast!(char*)(myString);
See Implementation
Allows casting between qualified versions of the input type. The unqualified version of the types need to be implicitly convertible in at least one direction.