
16 Jul
2010
16 Jul
'10
midnight
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) )