C++ question: boost::bind receive other boost::bind
- by user355034
I want to make this code work properly, what should I do?
giving this error on the last line.
what am I doing wrong?
i know boost::bind need a type but i'm not getting. help
class A
{
public:
template <class Handle>
void bindA(Handle h)
{
h(1, 2);
}
};
class B
{
public:
void bindB(int number, int number2)
{
…