Re: Gtk::TreeModel::get_value_vfunc() constness

Am Mittwoch, den 02.10.2013, 09:33 +0200 schrieb Kjell Ahlstedt:
A cache is a kind of class member data that can very reasonably be 
declared *mutable*.
When the cache is changed, the physical state of the owning object 
changes, but its logical state, as seen by other objects, does not 
change. That's the kind of data that the *mutable* keyword is meant for.


This makes sense and works as expected, thanks!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]