+
+ // More conversions needed for other standard functions: uchar is for VC++
+ // _mbxxx() ones (to which toxxx/isxxx() are mapped when _MBCS is defined)
+ // and some wide character functions take wint_t which happens to be the
+ // same as wchar_t for Windows compilers but not for g++ (except for the
+ // special Apple version)
+ operator unsigned char() const { return (unsigned char)To8bit(m_value); }
+#if defined(__GNUC__) && !defined(__DARWIN__)
+ operator wint_t() const { return m_value; }
+#endif