|
Boost Users : |
From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-07-07 19:17:15
>>
>> Is there a way to tell boost::bind to choose the int foo(int i)
>> method rather than the "template<class T> void foo" method?
>
> static_cast<int(X::*)(int)>(&X::foo)
>
This gives an error:
invalid static_cast from type <unknown type> to type int (X::*)
(int)
Any other ideas?
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