Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Boost::this_thread::get_id() without string operation
- std::ostringstream oss;
- oss << boost::thread::get_id();
- std::string idAsString = oss.str();
- std::string id = boost::lexical_cast<std::string>(boost::thread::get_id());
- boost::thread::id MyVariable = boost::thread::get_id();
Add Comment
Please, Sign In to add comment