Boost logo

Boost :

From: Jesse Jones (jesjones_at_[hidden])
Date: 2001-05-03 18:34:01


At 5:21 PM +0300 5/3/01, Peter Dimov wrote:
>From: "Jesse Jones" <jesjones_at_[hidden]>
>
>> 2) The API is a bit more awkward than I would like. For example, I
>> have lots of code that looks sort of like this:
>>
>> // About
> > function<void> action(this, &CApp::DoAbout);
>> handler->RegisterCommand(kAboutCmd, action, kDisabledIfDialog);
>
>[...]
>
>Doesn't bind.hpp that I recently posted solve these problems?

Sure, but most people will use member function pointers very heavily.
It doesn't seem reasonable to require them to drag in binders for
such a common operation...

   -- Jesse


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