Re: [sigc] Range over signals



>
>> 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]