Re: [sigc] Interesting minor libsigc++ 2 problems
- From: Martin Schulze <martin-ml hippogriff de>
- To: Jeff Franks <jcf tpg com au>
- Cc: libsigc++ list <libsigc-list gnome org>, Murray Cumming <murrayc murrayc com>
- Subject: Re: [sigc] Interesting minor libsigc++ 2 problems
- Date: Sun, 15 Feb 2004 11:29:11 +0100
Am 2004.02.15 05:30 schrieb(en) Jeff Franks:
Martin Schulze wrote:
Hi!
I have committed the changes solving the "minor problems" as you
described them below to cvs.
If anybody has strong reservations against the change 1. he shall
speek up!
I can live with 1 either way but when I think about it, having the
casting restriction is more type safe and most probably better.
I prefer the more convenient API without the casting restriction.
Regarding type safety: If B inherits from A this is an "is-a" relation.
I can't think of any other situation where you have to cast from B
to A explicitly and don't understand how this should increase type
safety.
Other opinions?
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]