Boost logo

Boost :

Subject: Re: [boost] [function] Problem copying when constructed with a functor
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-05-23 21:18:38


On 5/23/2011 8:52 PM, Steven Watanabe wrote:
> AMDG
>
> On 05/23/2011 05:50 PM, Steven Watanabe wrote:
>> On 05/23/2011 05:31 PM, Edward Diener wrote:
>>> boost::function<int ()> bfun(p_functor_class_int());
>>
>> Q: What is bfun?
>> A: A function that takes a p_functor_class_int and returns
>> a boost::function<int()>.
>>
>
> Err, make that:
> A: A function that takes a p_functor_class_int(*)()...

I do not follow. Why is p_functor_class_int() a type rather than an object ?


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