From afa29421592c157cd67e3baf62527fee837c2a83 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 6 Jan 2026 00:05:10 -0500 Subject: [PATCH] xo-alloc2 xo-arena: adopt AllocHeader.hpp --- include/xo/alloc2/AllocHeader.hpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 include/xo/alloc2/AllocHeader.hpp diff --git a/include/xo/alloc2/AllocHeader.hpp b/include/xo/alloc2/AllocHeader.hpp deleted file mode 100644 index ec99f59..0000000 --- a/include/xo/alloc2/AllocHeader.hpp +++ /dev/null @@ -1,28 +0,0 @@ -/** @file AllocHeader.hpp - * - * @author Roland Conybeare, Dec 2025 - **/ - -#pragma once - -#include -#include -#include - -namespace xo { - namespace mm { - struct AllocHeader { - using repr_type = std::uintptr_t; - using size_type = std::size_t; - - explicit AllocHeader(repr_type x) : repr_{x} {} - - repr_type repr_; - }; - - static_assert(sizeof(AllocHeader) == sizeof(AllocHeader::repr_type)); - static_assert(std::is_standard_layout_v); - } -} - -/* end AllocHeader.hpp */