[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: c++ question: code duplication across classes
From: Sylvain Joyeux <sylvain.joyeux () m4x ! org>
Date: 2006-09-20 7:57:56
Message-ID: 200609200957.57089.sylvain.joyeux () m4x ! org
[Download RAW message or body]
If you go for virtual getters, better have m_width and m_height in the base
class and initialize it differently in both templates.
--
Sylvain
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic