xo-reader2: streamline setup

This commit is contained in:
Roland Conybeare 2026-03-16 19:21:09 -05:00
commit f4532235c0
7 changed files with 48 additions and 76 deletions

View file

@ -0,0 +1,25 @@
/** @file SetupReader2.hpp
*
* @author Roland Conybeare, Jan 2026
**/
#pragma once
#include <xo/alloc2/Collector.hpp>
namespace xo {
namespace scm {
struct SetupReader2 {
public:
using ACollector = xo::mm::ACollector;
public:
/** Register reader2 (facet,impl) combinations with FacetRegistry **/
static bool register_facets();
/** Register object types with @p gc **/
static bool register_types(obj<ACollector> gc);
};
}
}
/* end SetupReader2.hpp */