mutable and immutable in c++
if we have a const function, as we know, we cannot change the variables in this function, if the variable is mutable, we can change this mutable variable
for the mutable and immutable (const) object
http://en.wikipedia.org/wiki/Immutable_object#C.2B.2B
Jan 16, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment