From d241eaf1b209dcfb05656842dd6250067b704d99 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Tue, 19 Nov 2024 00:08:33 +0100 Subject: Add allocator, start work on box --- asl/box.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 asl/box.hpp (limited to 'asl/box.hpp') 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 +class box +{ + T* m_ptr; + ASL_NO_UNIQUE_ADDRESS Allocator m_alloc; + +public: +}; + +} // namespace asl + -- cgit