User profile: doug4

User info
User name:doug4
Number of posts:500
Latest posts:

What is protecting range of "std::lock_guard"?
That's right.

Print errors
You can have a static boolean variable in the class that indicates whether the class has been inited...

What is protecting range of "std::lock_guard"?
[quote]You mentioned "No. There's no connection between a variable and the mutex. " So then what mut...

What is protecting range of "std::lock_guard"?
a lock guard locks the mutex when it is constructed and unlocks it when it leaves scope (when the de...

A C++ Problem
The "intended" result may be 7. However, the behavior is undefined, so there is no "correct" result...

This user does not accept Private Messages

User: doug4

  • Public profile