summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/stdTypeDefs.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/stdTypeDefs.hpp b/lib/stdTypeDefs.hpp
index 2055226..8d17c33 100644
--- a/lib/stdTypeDefs.hpp
+++ b/lib/stdTypeDefs.hpp
@@ -11,3 +11,8 @@ template<typename T> struct StdTypeDefs {
using CCollection = std::vector<CPtr>;
using WCollection = std::vector<WPtr>;
};
+
+template<typename T> struct ConstTypeDefs {
+ using Ptr = std::shared_ptr<const T>;
+ using Collection = std::vector<Ptr>;
+};