Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-04-17 12:28:08


On Wednesday 17 April 2002 12:52 pm, you wrote:
>
> On the other point about Loki::Functor's constructor taking an object
> and a pointer to member function: the bind() function does the same,
> so it's all right as it is. I do like the constructor for the sake of
> purity: everything that can be called like a function ought to be
> accomodated as a constructor of Loki::Functor.
>
>
> Andrei

I forgot to mention it: Boost.Function will actually take a member function
pointer (without the object) as an argument. I begrudgingly added this mostly
because member function pointers are basically function objects, but with a
slightly different syntax that can get annoying.

        Doug


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