Boost logo

Boost Users :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-02-06 15:30:33


On Feb 6, 2008 1:56 PM, Nat Goodspeed <nat_at_[hidden]> wrote:
>
> Try making that 'const ...::slot_type&' instead?

I tried that too, but the error gets even more crazy:

*1>c:\it\personal\rocket_test\source\inputtest.cpp(48) : error C2663:
'boost::signal2<R,T1,T2,Combiner,Group,GroupCompare,SlotFunction>::connect'
: 2 overloads have no legal conversion for 'this' pointer
1> with
1> [
1> R=void,
1> T1=int,
1> T2=int,
1> Combiner=boost::last_value<void>,
1> Group=int,
1> GroupCompare=std::less<int>,
1> SlotFunction=boost::function<void (int,int)>
1> ]
1> c:\it\personal\rocket_test\source\inputtest.cpp(61) : see
reference to function template instantiation 'void
bob::input::subscribe<INPUTSUB_MOUSE_MOTION>(const bob::input::SignalBank
&,const boost::slot<SlotFunction> &)' being compiled
1> with
1> [
1> SlotFunction=boost::function<void (int,int)>
1> ]*



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net