You should find some help here
http://www.newty.de/fpt/callback.html#member
Type: Posts; User: garf13ld
You should find some help here
http://www.newty.de/fpt/callback.html#member
Well the reason I wanted to do something like this is because I am designing a matrix class and when I do something like
Matrix jacobian;
...
cout << jacobian;
I want it to print out
boost::bind is the way I use to do it.. sorry dont have time right now.. to post the details. check out the boost documentation. they have explained in detail.
I mean, I know as far as the language is concerned its impossible.. But could there be any ugly compiler hack that may allow this..?
Hi!
I wanted to do something like
MyClass var1, var2;
cout << var1.name() << var2.name() << endl;