The current status of D?

Mehrdad wfunction at hotmail.com
Fri Dec 2 12:51:32 PST 2011


On 12/2/2011 10:41 AM, Steven Schveighoffer wrote:
> You can work around by explicitly instantiating with const, or by doing:
>
> writeln(cast(const)this);
I'm trying to avoid cast at all costs in D (even more than in C++), 
since D's casts are more dangerous than C++ casts. :\
Thanks for the suggestion though! :)


More information about the Digitalmars-d mailing list