Re: [sigc] Range over signals
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Dick Eimers" <d eimers marin nl>
- Cc: gtkmm <gtkmm-list gnome org>
- Subject: Re: [sigc] Range over signals
- Date: Tue, 29 Nov 2005 12:11:16 +0100 (CET)
>
>> A dynamic_cast<> should allow this. You'd need lots of them, in an
>> if/else-if block, for each sigc::signal<> type that you expect.
>
> Are you saying this is a bug in GCC4.01? =)
No, you can not cast Base to Derived without a static_cast, dynamic_cast<>
or C-style cast.
But now that I think about it, I guess you are already using dynamic_cast<>.
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]