diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-11-19 00:08:33 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-12-20 15:35:58 +0100 |
commit | d241eaf1b209dcfb05656842dd6250067b704d99 (patch) | |
tree | 49f34f6226f4614611d16ba6332b1b50b51a4712 /asl/tests/box_tests.cpp | |
parent | 58200ce939a591008a8d9406f437252ce2b175cf (diff) |
Add allocator, start work on box
Diffstat (limited to 'asl/tests/box_tests.cpp')
-rw-r--r-- | asl/tests/box_tests.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/asl/tests/box_tests.cpp b/asl/tests/box_tests.cpp new file mode 100644 index 0000000..6c4d543 --- /dev/null +++ b/asl/tests/box_tests.cpp @@ -0,0 +1,6 @@ +#include "asl/box.hpp"
+
+#include "asl/testing/testing.hpp"
+
+static_assert(sizeof(asl::box<int>) == sizeof(int*));
+
|