xo-alloc2: header reorg redux

This commit is contained in:
Roland Conybeare 2025-12-14 17:16:05 -05:00
commit cffee6b7cf
19 changed files with 28 additions and 22 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"

View file

@ -5,7 +5,7 @@
#pragma once
#include "xo/alloc2/AAllocator.hpp"
#include <xo/alloc2/alloc/AAllocator.hpp>
#include <xo/alloc2/gc/AGCObject.hpp>
#include <xo/alloc2/gc/IGCObject_Xfer.hpp>
#include "DFloat.hpp"

View file

@ -5,7 +5,7 @@
#pragma once
#include "xo/alloc2/AAllocator.hpp"
#include "xo/alloc2/alloc/AAllocator.hpp"
#include <xo/alloc2/gc/AGCObject.hpp>
#include <xo/alloc2/gc/IGCObject_Xfer.hpp>
#include "DInteger.hpp"

View file

@ -5,11 +5,12 @@
#pragma once
#include <xo/alloc2/AAllocator.hpp>
#include <xo/alloc2/RAllocator.hpp>
#include <xo/alloc2/gc/ACollector.hpp>
#include <xo/alloc2/gc/ICollector_Any.hpp>
#include <xo/alloc2/gc/RCollector.hpp>
#include <xo/alloc2/alloc/AAllocator.hpp>
#include <xo/alloc2/alloc/RAllocator.hpp>
#include <xo/alloc2/gc/Collector.hpp>
//#include <xo/alloc2/gc/ACollector.hpp>
//#include <xo/alloc2/gc/ICollector_Any.hpp>
//#include <xo/alloc2/gc/RCollector.hpp>
#include <xo/alloc2/gc/AGCObject.hpp>
#include <xo/alloc2/gc/IGCObject_Xfer.hpp>
#include "DList.hpp"

View file

@ -4,7 +4,7 @@
**/
#include "IGCObject_DFloat.hpp"
#include "AAllocator.hpp"
#include "xo/alloc2/alloc/AAllocator.hpp"
#include "xo/facet/obj.hpp"
#include <cstddef>

View file

@ -4,7 +4,7 @@
**/
#include "IGCObject_DInteger.hpp"
#include "AAllocator.hpp"
#include "xo/alloc2/alloc/AAllocator.hpp"
#include "xo/facet/obj.hpp"
#include <cstddef>