| 39 | #endif |
| 40 | |
| 41 | class codecvt_error_cat final : |
| 42 | public boost::system::error_category |
| 43 | { |
| 44 | public: |
| 45 | // clang up to version 3.8 requires a user-defined default constructor in order to be able to declare a static constant of the error category. |
| 46 | BOOST_SYSTEM_CONSTEXPR codecvt_error_cat() noexcept {} |
| 47 | const char* name() const noexcept override; |
| 48 | std::string message(int ev) const override; |
| 49 | }; |
| 50 | |
| 51 | const char* codecvt_error_cat::name() const noexcept |
| 52 | { |
nothing calls this directly
no outgoing calls
no test coverage detected