aboutsummaryrefslogtreecommitdiff
path: root/include/HyperNeat/Utils/Pointer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/HyperNeat/Utils/Pointer.hpp')
-rw-r--r--include/HyperNeat/Utils/Pointer.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/HyperNeat/Utils/Pointer.hpp b/include/HyperNeat/Utils/Pointer.hpp
new file mode 100644
index 0000000..f02e853
--- /dev/null
+++ b/include/HyperNeat/Utils/Pointer.hpp
@@ -0,0 +1,12 @@
+#ifndef __HYPERNEAT_POINTER_HPP__
+#define __HYPERNEAT_POINTER_HPP__
+
+#include <memory>
+
+namespace hyperneat
+{
+ template <class T>
+ using Pointer = std::unique_ptr<T>;
+}
+
+#endif