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! :)

Reply via email to