Boost logo

Boost :

From: brock (brock.peabody_at_[hidden])
Date: 2003-08-03 21:07:48

----- Original Message -----
From: "Philippe A. Bouchard" <philippe_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, August 03, 2003 8:40 PM
Subject: [boost] Re: Re: Re: Re: Re: Re: Re: GUI/GDI template library


> Find a way not to rely on "official macros". Those are false hopes.

What do you mean by "official macros"? The only macros in my code are in
the implementation, you shouldn't see any in user code. I'm pretty sure
they use macros in similar situations in boost::tuple and boost::function.
In the case of the GUI library though, I think you're correct in saying that
overloading an operator would lead to a more elegant solution and I can get
rid of all of the macros. I did really enjoy the boost preprocessor lib

If you're talking about message notifications, I use something like:

   struct window {

      void set_on_change(boost::funtion0<void>);

      void set_on_character_typed(boost::function1<void,char>);


Boost list run by bdawes at, gregod at, cpdaniel at, john at