xo-alloc2: header reorg redux

This commit is contained in:
Roland Conybeare 2025-12-14 17:16:05 -05:00
commit fa32a95be5
14 changed files with 18 additions and 13 deletions

View file

@ -5,8 +5,9 @@
#pragma once
#include "AAllocator.hpp"
#include "IAllocator_Any.hpp"
#include "RAllocator.hpp"
#include "alloc/AAllocator.hpp"
#include "alloc/IAllocator_Any.hpp"
#include "alloc/IAllocator_Xfer.hpp"
#include "alloc/RAllocator.hpp"
/* end Allocator.hpp */

View file

@ -0,0 +1,4 @@
AAllocator |<-- IAllocator_Any (D=DVariantPlaceholder)
|<-- IAllocator_Xfer<D,..>
OObject<AAllocator,D> |<-- RAllocator<O>

View file

@ -5,7 +5,7 @@
#pragma once
#include "AllocatorError.hpp"
#include "alloc/AllocatorError.hpp"
#include <string>
#include <cstdint>

View file

@ -3,8 +3,8 @@
* @author Roland Conybeare, Dec 2025
**/
#include "AAllocator.hpp"
#include "IAllocator_Xfer.hpp"
#include "alloc/AAllocator.hpp"
#include "alloc/IAllocator_Xfer.hpp"
#include "arena/DArena.hpp"
namespace xo {

View file

@ -1,6 +1,6 @@
/** @file AAllocator.cpp **/
#include "xo/alloc2/AAllocator.hpp"
#include "alloc/AAllocator.hpp"
namespace xo {
namespace mm {

View file

@ -3,7 +3,7 @@
* @author Roland Conybeare, Dec 2025
**/
#include "xo/alloc2/AAllocator.hpp"
#include "alloc/AAllocator.hpp"
#include "arena/DArena.hpp"
#include "xo/alloc2/padding.hpp"
#include "xo/indentlog/print/tag.hpp"

View file

@ -3,7 +3,7 @@
* @author Roland Conybeare, Dec 2025
**/
#include "IAllocator_Any.hpp"
#include "alloc/IAllocator_Any.hpp"
#include <iostream>
namespace xo {

View file

@ -3,7 +3,7 @@
* @author Roland Conybeare, Dec 2025
**/
#include "IAllocator_DArena.hpp"
#include "arena/IAllocator_DArena.hpp"
#include "padding.hpp"
#include "xo/indentlog/scope.hpp"
#include <cassert>

View file

@ -5,10 +5,10 @@
#include "xo/alloc2/Allocator.hpp"
//#include "xo/alloc2/IAllocator_Any.hpp"
#include "xo/alloc2/IAllocator_Xfer.hpp"
#include "xo/alloc2/alloc/IAllocator_Xfer.hpp"
//#include "xo/alloc2/DArena.hpp"
#include "xo/alloc2/IAllocator_DArena.hpp"
#include "xo/alloc2/RAllocator.hpp"
#include "xo/alloc2/arena/IAllocator_DArena.hpp"
//#include "xo/alloc2/alloc/RAllocator.hpp"
#include "xo/alloc2/padding.hpp"
#include "xo/indentlog/scope.hpp"
#include "xo/facet/obj.hpp"