I have to format std::string with sprintf and send it into file stream. How can I do this?
_return.desc = (boost::format("fail to detect. cv_result = %d") % st_result).str();