NumThreadGuard sets current number of threads to newNum and resets number of threads during destruction.
More...
#include <NumThreadGuard.h>
NumThreadGuard sets current number of threads to newNum and resets number of threads during destruction.
◆ NumThreadGuard()
NumThreadGuard::NumThreadGuard |
( |
const int |
newNum | ) |
|
|
inlineexplicit |
Construct a new NumThreadGuard object and sets current number of threads to newNum.
- Parameters
-
newNum | new number of threads |
◆ operator=()
delete copy assignment constructor.
- Returns
- deleted, so not important
The documentation for this class was generated from the following file: