xo-expression2: + SymbolTable facet

This commit is contained in:
Roland Conybeare 2026-01-17 01:09:02 -05:00
commit 37b0ea3c3e
8 changed files with 457 additions and 0 deletions

View file

@ -0,0 +1,41 @@
/** @file ISymbolTable_Any.cpp
*
**/
#include "symtab/ISymbolTable_Any.hpp"
#include <iostream>
namespace xo {
namespace scm {
using xo::facet::DVariantPlaceholder;
using xo::facet::typeseq;
using xo::facet::valid_facet_implementation;
void
ISymbolTable_Any::_fatal()
{
/* control here on uninitialized IAllocator_Any.
* Initialized instance will have specific implementation type
*/
std::cerr << "fatal"
<< ": attempt to call uninitialized"
<< " ISymbolTable_Any method"
<< std::endl;
std::terminate();
}
typeseq
ISymbolTable_Any::s_typeseq = typeseq::id<DVariantPlaceholder>();
bool
ISymbolTable_Any::_valid
= valid_facet_implementation<ASymbolTable, ISymbolTable_Any>();
// nonconst methods
} /*namespace scm*/
} /*namespace xo*/
/* end ISymbolTable_Any.cpp */