Boost logo

Boost :

From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-08-04 11:36:25


Terje Slettebø wrote:
>> From: "Philippe A. Bouchard" <philippe_at_[hidden]>
>
>> WxWindows don't have any intermediate compiler but the end user
>> syntax is not attractive for the signal / slot mechanism (macros).
>
> It's also possible to do the signal/slot without macros on wxWindows.
> See here (http://www.wxwindows.org/hworld2.txt) for an example. It's
> all done in standard C++, without any macros.

I think they made it that way to make the signal / slot mechanism interact
with external languages. But it won't be possible to use multiple
inheritance in the widget's hierarchy & this is not really C++. Maybe a
convertion operatior could help ((void (Object::*)()) -> (some standard
typeid(...).name()) or anything else).

[...]

My 0,02$ CAN ($0.01 USD)

Philippe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk