MCPcopy Create free account
hub / github.com/boostorg/filesystem / message

Method message

src/codecvt_error_category.cpp:56–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56std::string codecvt_error_cat::message(int ev) const
57{
58 std::string str;
59 switch (ev)
60 {
61 case std::codecvt_base::ok:
62 str = "ok";
63 break;
64 case std::codecvt_base::partial:
65 str = "partial";
66 break;
67 case std::codecvt_base::error:
68 str = "error";
69 break;
70 case std::codecvt_base::noconv:
71 str = "noconv";
72 break;
73 default:
74 str = "unknown error";
75 break;
76 }
77 return str;
78}
79
80#if (defined(BOOST_GCC) && BOOST_GCC >= 40600) || defined(BOOST_CLANG)
81#pragma GCC diagnostic pop

Callers 2

show_statusFunction · 0.45
report_error_codeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected