diff options
Diffstat (limited to 'asl/box.hpp')
-rw-r--r-- | asl/box.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/asl/box.hpp b/asl/box.hpp new file mode 100644 index 0000000..0cab66b --- /dev/null +++ b/asl/box.hpp @@ -0,0 +1,19 @@ +#pragma once
+
+#include "asl/allocator.hpp"
+#include "asl/annotations.hpp"
+
+namespace asl
+{
+
+template<is_object T, allocator Allocator = DefaultAllocator>
+class box
+{
+ T* m_ptr;
+ ASL_NO_UNIQUE_ADDRESS Allocator m_alloc;
+
+public:
+};
+
+} // namespace asl
+
|