constness
名词 n.
英文释义
名词 n.
-
The declaration of variables or objects as immutable.
— 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.
词源
From const (“a keyword for constant in the C programming language and its derivatives”) + -ness.
0 次浏览
数据来源: Wiktionary