![]() |
FireSTARR
|
Provides the ability to determine how many times something is used during a simulation. More...
#include <Util.h>

Public Member Functions | |
| UsageCount (string for_what) noexcept | |
| Constructor. | |
| UsageCount (UsageCount &&rhs) noexcept=delete | |
| UsageCount (const UsageCount &rhs) noexcept=delete | |
| UsageCount & | operator= (UsageCount &&rhs) noexcept=delete |
| UsageCount & | operator= (const UsageCount &rhs) noexcept=delete |
| UsageCount & | operator++ () noexcept |
| Increment operator. | |
Private Attributes | |
| atomic< size_t > | count_ |
| How many times this has been used. | |
| string | for_what_ |
| What this is tracking usage of. | |
Provides the ability to determine how many times something is used during a simulation.
|
explicitnoexcept |
Constructor.
| for_what | What this is tracking usage of |
|
noexcept |
Increment operator.