xo-gc: + CollectorTypeRegistry for streamlined init

This commit is contained in:
Roland Conybeare 2026-01-16 16:10:00 -05:00
commit 93429becad
16 changed files with 319 additions and 6 deletions

View file

@ -0,0 +1,21 @@
/** @file init_expression2.hpp
*
* @author Roland Conybeare, Jan 2026
**/
#pragma once
#include <xo/subsys/Subsystem.hpp>
namespace xo {
/* tag to represent the xo-expression2/ subsystem within ordered initialization */
enum S_expression2_tag {};
template <>
struct InitSubsys<S_expression2_tag> {
static void init();
static InitEvidence require();
};
} /*namespace xo*/
/* end init_expression2.hpp */