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.
Source: wiktionary
Ranked by relevance and common usage.
OpenGloss and ConceptNet supply richer edges like generalizations, collocations, and derivations.
1 total sentences available.
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.
Source: wiktionary
Data sourced from Wiktionary, WordNet, CMU, and other open linguistic databases. Updated March 2026.