Re: [gtkmm] gtkmm 2.4 questions
- From: Murray Cumming <murrayc murrayc com>
- To: Frank Naumann <fnaumann cs uni-magdeburg de>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] gtkmm 2.4 questions
- Date: Wed, 16 Jun 2004 16:36:29 +0200
On Wed, 2004-06-16 at 16:33 +0200, Frank Naumann wrote:
> Hello!
>
> > You would expect get_size() to be const. Therefore the implementation
> > should probably be const.
>
> Following your argumentation render_vfunc must be const too (as it just
> display something, it don't change the instance).
It kind of changes whether or not its rendered.
> Or I'm wrong here (and
> if yes, why?).
You don't understand the const or mutable keywords.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]