xo-alloc2 scaffold for ACollector + AGCObject facets. [WIP]
This commit is contained in:
parent
c6b57232e8
commit
198f46f1c4
8 changed files with 383 additions and 0 deletions
34
xo-alloc2/src/alloc2/IGCObject_Any.cpp
Normal file
34
xo-alloc2/src/alloc2/IGCObject_Any.cpp
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/** @file IGCObject_Any.cpp
|
||||
*
|
||||
* @author Roland Conybeare, Dec 2025
|
||||
**/
|
||||
|
||||
#include "IGCObject_Any.hpp"
|
||||
#include <iostream>
|
||||
|
||||
namespace xo {
|
||||
using xo::facet::DVariantPlaceholder;
|
||||
using xo::facet::typeseq;
|
||||
using xo::facet::valid_facet_implementation;
|
||||
|
||||
namespace mm {
|
||||
|
||||
void
|
||||
IGCObject_Any::_fatal() {
|
||||
std::cerr << "fatal"
|
||||
<< ": attempt to call uninitialized"
|
||||
<< " IGCObject_Any method"
|
||||
<< std::endl;
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
int32_t
|
||||
IGCObject_Any::s_typeseq = typeseq::id<DVariantPlaceholder>();
|
||||
|
||||
bool
|
||||
IGCObject_Any::_valid = valid_facet_implementation<AGCObject, IGCObject_Any>();
|
||||
|
||||
} /*namespace mm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end IGCObject_Any.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue