User profile: ElusiveTau

User info
User name:ElusiveTau
History
Joined:
Number of posts:157
Latest posts:

Template errors creating a map<int,std::thread> using map::emplace
Thanks Peter. That was it. 1. std::ref(coutMutex) was necessary, for the reason you stated. 2. "t"...

Template errors creating a map<int,std::thread> using map::emplace
I created a class to try out std::lock_guard. The first function, [code]UnsafeExample[/code] compi...

How to initialize base class member with subclass member?
baseClassBuff is unnecessary. I can just reuse [code]MyThreadClass.Name[/code].

How to initialize base class member with subclass member?
Seems like this would work. The approach is to define a subclass function ([code]GetDefaultNamev2[...

How to initialize base class member with subclass member?
I'm working with code where [code]CustomThreadApi[/code] is not modifiable. CustomThreadApi has a ct...