We have:
class A
{
public:
void f(int){}
void f(double){}
};
Let's use this way:
A a;
boost::bind( mem_fun_res<void, A, int>(&A::f), &a, 10 );
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: denrrr Search: Search took 0.01 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |