xo-umbrella2/xo-alloc2/include/xo/alloc2/alloc/RAllocator_aux.hpp
Roland Conybeare f7ab6beff0 refactor focusing on xo-alloc2/ xo-gc/ write-barrier
ability to inform allocator of gco->gco mutation, via AAllocator i/face.
2026-05-01 19:54:26 -04:00

34 lines
812 B
C++

/** @file RAllocator_aux.hpp
*
* Out-of-line definitions for RAllocator template methods
* that depend on RGCObject (avoiding #include cycle in RAllocator.hpp)
*
* Would aspire to Include via user_hpp_includes in Allocator.json5,
* if/when that exists
*
* @author Roland Conybeare
**/
#pragma once
#include "RAllocator.hpp"
#include "GCObject.hpp"
namespace xo {
namespace mm {
template <typename Object>
void
RAllocator<Object>::barrier_assign(void * parent,
obj<AGCObject> * p_lhs,
obj<AGCObject> rhs) noexcept
{
(void)parent;
(void)p_lhs;
(void)rhs;
}
} /*namespace mm*/
} /*namespace xo*/
/* end RAllocator_aux.hpp */