It works!
Thanks
Afg
On Fri, Jul 16, 2010 at 2:00 AM, Igor R
P.S. I used this code for my checkings std::string outString; bl::var_type< std::string >::type _outString( bl::var(outString) ); ... _outString = bl::bind(
static_caststd::string(std::stringstream::*)()const(&std::stringstream::str),
boost::ref(_outFmt) )(), std::cout << _outString << '\n', // Here I have always an empty string // so the previous call to bind doesn't really return anything..do you know why?
Remove "()" after the bind:
static_caststd::string(std::stringstream::*)()const(&std::stringstream::str), boost::ref(_outFmt) ) _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users