Getting the const-correctness of Object sorted once and for all

Mehrdad wfunction at hotmail.com
Sun May 13 15:48:22 PDT 2012


On Sunday, 13 May 2012 at 20:55:13 UTC, Jonathan M Davis wrote:
> toHash, opCmp, opEquals, and toString will _all_ be required to 
> be const @safe pure nothrow.

And what am I to do if my toString() method cannot be const?


More information about the Digitalmars-d mailing list