14 #ifdef __GXX_ABI_VERSION
23 #ifdef XAOD_STANDALONE
30 void reportErrorStandalone (
const std::string& context,
32 const std::string&
msg) {
36 std::string source (context);
37 static constexpr std::size_t CONTEXT_WIDTH = 18;
38 if (source.size() > CONTEXT_WIDTH) {
39 source = source.substr(0, CONTEXT_WIDTH - 3);
45 output << std::setiosflags(std::ios::left)
46 << std::setw(CONTEXT_WIDTH) << source <<
" ERROR "
49 std::cout <<
output.str() << std::endl;
63 std::string typeinfoName (
const std::type_info& ti)
67 std::string
result = ti.name();
69 #ifdef __GXX_ABI_VERSION
88 #endif // XAOD_STANDALONE