x-stringtable2: streamline setup

This commit is contained in:
Roland Conybeare 2026-03-16 19:02:00 -05:00
commit 263aa16cfb
8 changed files with 88 additions and 24 deletions

View file

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

View file

@ -7,8 +7,6 @@
namespace xo {
namespace scm {
/** Register object2 (facet,impl) combinations with FacetRegistry **/
bool stringtable2_register_facets();
}
}

View file

@ -9,8 +9,6 @@
namespace xo {
namespace scm {
/** Register stringtable2 (facet,impl) combinations with FacetRegistry **/
bool stringtable2_register_types(obj<xo::mm::ACollector> gc);
}
}