refactor: + xo-stringtable2 w/ DString impl
This commit is contained in:
parent
f8e534f4f6
commit
5fc59b0df4
25 changed files with 1709 additions and 0 deletions
36
src/stringtable2/stringtable2_register_facets.cpp
Normal file
36
src/stringtable2/stringtable2_register_facets.cpp
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/** @file stringtable2_register_facets.cpp
|
||||
*
|
||||
* @author Roland Conybeare, Mar 2026
|
||||
**/
|
||||
|
||||
#include "stringtable2_register_facets.hpp"
|
||||
|
||||
#include <xo/stringtable2/String.hpp>
|
||||
|
||||
#include <xo/facet/FacetRegistry.hpp>
|
||||
#include <xo/indentlog/scope.hpp>
|
||||
|
||||
namespace xo {
|
||||
using xo::print::APrintable;
|
||||
using xo::mm::AGCObject;
|
||||
using xo::scm::DString;
|
||||
using xo::facet::FacetRegistry;
|
||||
using xo::facet::typeseq;
|
||||
|
||||
namespace scm {
|
||||
bool
|
||||
stringtable2_register_facets()
|
||||
{
|
||||
scope log(XO_DEBUG(true));
|
||||
|
||||
FacetRegistry::register_impl<AGCObject, DString>();
|
||||
FacetRegistry::register_impl<APrintable, DString>();
|
||||
|
||||
log && log(xtag("DString.tseq", typeseq::id<DString>()));
|
||||
|
||||
return true;
|
||||
}
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end stringtable2_register_facets.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue