const functions in D 2.0

Steven Schveighoffer schveiguy at yahoo.com
Mon Nov 5 15:56:55 PST 2007


How does one declare const/invariant member functions in D 2.0 that don't 
return void?  If it's just prefixing, how does one declare const/invariant 
functions that return const/invariant references?

The web site isn't very helpful on this matter.

-Steve 




More information about the Digitalmars-d-learn mailing list