summaryrefslogtreecommitdiffstats
path: root/src/crimson/common/type_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crimson/common/type_helpers.h')
-rw-r--r--src/crimson/common/type_helpers.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crimson/common/type_helpers.h b/src/crimson/common/type_helpers.h
new file mode 100644
index 000000000..4c606581f
--- /dev/null
+++ b/src/crimson/common/type_helpers.h
@@ -0,0 +1,8 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+
+#pragma once
+
+#include "boost/intrusive_ptr.hpp"
+
+template<typename T> using Ref = boost::intrusive_ptr<T>;