xo-procedure2: work on Primitive.apply_nocheck() + ARuntimeContext [WIP]
This commit is contained in:
parent
c0978f5098
commit
65f50609f6
23 changed files with 668 additions and 25 deletions
41
xo-procedure2/src/procedure2/IRuntimeContext_Any.cpp
Normal file
41
xo-procedure2/src/procedure2/IRuntimeContext_Any.cpp
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue