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 */