diff options
Diffstat (limited to 'include/HyperNeat/Utils/Atomic.hpp')
-rw-r--r-- | include/HyperNeat/Utils/Atomic.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/HyperNeat/Utils/Atomic.hpp b/include/HyperNeat/Utils/Atomic.hpp new file mode 100644 index 0000000..850a06e --- /dev/null +++ b/include/HyperNeat/Utils/Atomic.hpp @@ -0,0 +1,12 @@ +#ifndef __HYPERNEAT_ATOM_HPP__ +#define __HYPERNEAT_ATOM_HPP__ + +#include <atomic> + +namespace hyperneat +{ + template <class T> + using Atomic = std::atomic<T>; +} + +#endif |