xo-expression2: streamline setup

This commit is contained in:
Roland Conybeare 2026-03-16 19:27:28 -05:00
commit ba19c627e5
7 changed files with 58 additions and 93 deletions

View file

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

View file

@ -1,17 +0,0 @@
/** @file expression2_register_facets.hpp
*
* @author Roland Conybeare, Jan 2026
**/
#pragma once
#include <xo/alloc2/Collector.hpp>
namespace xo {
namespace scm {
/** Register expression2 (facet,impl) combinations with FacetRegistry **/
bool expression2_register_facets();
}
}
/* end expression2_register_facets.hpp */

View file

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