Constness

"Constness" in a Sentence (1 examples)

If you want to change a class member inside a const member function, the traditional approach is to cast away constness by saying (X*)this.

Data sourced from Wiktionary, WordNet, CMU, and other open linguistic databases. Updated March 2026.