
27 Apr
2010
27 Apr
'10
6:06 p.m.
I know reason behind. But use is right to think "I've bind >>abc<<. Binder should store it and use on f() invocation".
Note tht you do not bind c_str member function, but the *result* it produces. The result is *invalid* after the std::string changes -- according to the Standard (IIRC). If you wish to bind c_str and invoke it in a "lazy" manner - you can do this as well.