git subrepo clone git@github.com:Rconybea/xo-object2.git xo-object2
subrepo: subdir: "xo-object2" merged: "8156e514" upstream: origin: "git@github.com:Rconybea/xo-object2.git" branch: "main" commit: "8156e514" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
This commit is contained in:
parent
2a287cf772
commit
dff1b8e6ad
100 changed files with 6107 additions and 0 deletions
42
xo-object2/src/object2/ISequence_Any.cpp
Normal file
42
xo-object2/src/object2/ISequence_Any.cpp
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/** @file ISequence_Any.cpp
|
||||
*
|
||||
**/
|
||||
|
||||
#include "sequence/ISequence_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
|
||||
ISequence_Any::_fatal()
|
||||
{
|
||||
/* control here on uninitialized IAllocator_Any.
|
||||
* Initialized instance will have specific implementation type
|
||||
*/
|
||||
std::cerr << "fatal"
|
||||
<< ": attempt to call uninitialized"
|
||||
<< " ISequence_Any method"
|
||||
<< std::endl;
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
typeseq
|
||||
ISequence_Any::s_typeseq = typeseq::id<DVariantPlaceholder>();
|
||||
|
||||
bool
|
||||
ISequence_Any::_valid
|
||||
= valid_facet_implementation<ASequence, ISequence_Any>();
|
||||
|
||||
// nonconst methods
|
||||
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end ISequence_Any.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue