xo-facet xo-object2 xo-cmake: facet tidy + build integration
This commit is contained in:
parent
9a68fb6b49
commit
04509c4bd7
7 changed files with 402 additions and 0 deletions
38
src/object2/ISequence_Any.cpp
Normal file
38
src/object2/ISequence_Any.cpp
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/** @file ISequence_Any.cpp
|
||||
*
|
||||
**/
|
||||
|
||||
#include "sequence/ISequence_Any.hpp"
|
||||
#include <iostream>
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
int32_t
|
||||
ISequence_Any::s_typeseq = typeseq::id<DVariantPlaceholder>();
|
||||
|
||||
bool
|
||||
ISequence_Any::_valid
|
||||
= valid_facet_implementation<ASequence, ISequence_Any>();
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end ISequence_Any.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue