+ xo-printable2 + build fixes for cmake config

This commit is contained in:
Roland Conybeare 2026-01-04 23:03:18 -05:00
commit 402cf9b852
29 changed files with 724 additions and 72 deletions

View file

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