From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-08-11 13:20:37


On Thursday 08 August 2002 04:18 am, Brunen, Johannes wrote:
> This works pretty fine. However, when I tried to use a slot functor defined
> in class A it doesn't compile anymore:
>
> class A
> {
> void somefun(X& x);
> public:
> struct SlotFunctor
> {
> SlotFunctor(A& a) : _a(a) {}
                                ^
                             const

SlotFunctor isn't CopyConstructible, so it can't be used with Boost.Function
(and, therefore, Boost.Signals). Let me know if that fixes the problem...

        Doug