|
Boost Users : |
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2008-03-27 18:47:50
Hi,
> After uncommenting the marked line the compiler produce more than 200 error
> messages: A function template has too few arguments. But the line above
> compiles very well and the process_event() method has the same signature.
In the StateChart documentation I can see that the difference between
post_event and process_event is that the former has 2 overloads. So I
guess you'll have to specify which one you wish to use. Something
like:
bind(static_cast<void (Camera::*)(const
event_base&)>(&Camera::post_event), boost::ref(*this ), _1 );
Bruno
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