const/invariant

Denton Cockburn diboss at hotmail.com
Tue Dec 4 23:43:14 PST 2007


declare get() const and it'll work.

const int get { return mbr; }



More information about the Digitalmars-d-learn mailing list