| 854 | virtual int do_encoding() const throw() { return 0; } |
| 855 | |
| 856 | virtual std::codecvt_base::result do_in(std::mbstate_t&, |
| 857 | const char*, const char*, const char*&, |
| 858 | wchar_t*, wchar_t*, wchar_t*&) const |
| 859 | { |
| 860 | static std::codecvt_base::result r = std::codecvt_base::noconv; |
| 861 | if (r == std::codecvt_base::partial) r = std::codecvt_base::error; |
| 862 | else if (r == std::codecvt_base::error) r = std::codecvt_base::noconv; |
| 863 | else r = std::codecvt_base::partial; |
| 864 | return r; |
| 865 | } |
| 866 | |
| 867 | virtual std::codecvt_base::result do_out(std::mbstate_t &, |
| 868 | const wchar_t*, const wchar_t*, const wchar_t*&, |
nothing calls this directly
no outgoing calls
no test coverage detected