xo-alloc2: + missing setup .*pp files

This commit is contained in:
Roland Conybeare 2026-03-16 19:12:31 -05:00
commit 8a490c23ce
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,33 @@
/** @file SetupAlloc2.cpp
*
* @author Roland Conybeare, Feb 2026
**/
#include "SetupAlloc2.hpp"
#include <xo/alloc2/Arena.hpp>
#include <xo/facet/FacetRegistry.hpp>
#include <xo/indentlog/scope.hpp>
namespace xo {
using xo::facet::FacetRegistry;
//using xo::facet::TypeRegistry;
using xo::reflect::typeseq;
namespace mm {
bool
SetupAlloc2::register_facets()
{
scope log(XO_DEBUG(true));
FacetRegistry::register_impl<AAllocator, DArena>();
log && log(xtag("DArena.tseq", typeseq::id<DArena>()));
return true;
}
} /*namespace scm*/
} /*namespace xo*/
/* end SetupAlloc2.cpp */