xo-procedure2: work on Primitive.apply_nocheck() + ARuntimeContext [WIP]

This commit is contained in:
Roland Conybeare 2026-01-25 19:07:23 -05:00
commit 65f50609f6
23 changed files with 668 additions and 25 deletions

View file

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