CatapultServer  v0.5.0.1 (Elephant)
AtomicIncrementDecrementGuard.h File Reference
Include dependency graph for AtomicIncrementDecrementGuard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  catapult::utils::AtomicIncrementDecrementGuard< T >
 RAII class that increments an atomic on construction and decrements it on destruction. More...
 

Namespaces

 catapult
 
 catapult::utils
 

Functions

template<typename T >
AtomicIncrementDecrementGuard< T > catapult::utils::MakeIncrementDecrementGuard (std::atomic< T > &value)
 Factory function for creating AtomicIncrementDecrementGuard<T>. More...