}
operator const char *() const { return m_str; }
+ char operator[](size_t n) const { return m_str[n]; }
private:
char *m_str;
}
operator const wchar_t *() const { return m_wcs; }
-
+ wchar_t operator[](size_t n) const { return m_wcs[n]; }
+
private:
wchar_t *m_wcs;
};