git subrepo clone git@github.com:Rconybea/xo-numeric.git xo-numeric
subrepo: subdir: "xo-numeric" merged: "7750c868" upstream: origin: "git@github.com:Rconybea/xo-numeric.git" branch: "main" commit: "7750c868" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
This commit is contained in:
parent
378b88d8c4
commit
2d92eec35c
37 changed files with 2429 additions and 0 deletions
42
xo-numeric/src/numeric/INumeric_Any.cpp
Normal file
42
xo-numeric/src/numeric/INumeric_Any.cpp
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/** @file INumeric_Any.cpp
|
||||
*
|
||||
**/
|
||||
|
||||
#include "detail/INumeric_Any.hpp"
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
|
||||
using xo::facet::DVariantPlaceholder;
|
||||
using xo::facet::typeseq;
|
||||
using xo::facet::valid_facet_implementation;
|
||||
|
||||
void
|
||||
INumeric_Any::_fatal()
|
||||
{
|
||||
/* control here on uninitialized IAllocator_Any.
|
||||
* Initialized instance will have specific implementation type
|
||||
*/
|
||||
std::cerr << "fatal"
|
||||
<< ": attempt to call uninitialized"
|
||||
<< " INumeric_Any method"
|
||||
<< std::endl;
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
typeseq
|
||||
INumeric_Any::s_typeseq = typeseq::id<DVariantPlaceholder>();
|
||||
|
||||
bool
|
||||
INumeric_Any::_valid
|
||||
= valid_facet_implementation<ANumeric, INumeric_Any>();
|
||||
|
||||
// nonconst methods
|
||||
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end INumeric_Any.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue