24 Apr
2007
24 Apr
'07
12:54 p.m.
MainBrain wrote:
Hello,
im looking through http://www.boost.org/libs/functional/index.html, there are ways to access a class method but i cant find a way to access a method of an object.
How can i write an adapter for "instance.bar()" in this example: class foo { int _i; public: bar(); // manipulates _i
did you mean: "void bar();"
} instance;
I'm not quite sure what you're after, but does this help?
...
boost::function