Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::stringstream& getThreadSS()
- {
- static std::map<DWORD, std::stringstream> ssmap;
- DWORD tid = GetCurrentThreadId();
- if(ssmap.find(tid) == ssmap.end())
- ssmap[tid] = new std::stringstream();
- return *ssmap[tid];
- }
Add Comment
Please, Sign In to add comment