ustring(const ustring& other);
ustring& operator=(const ustring& other);
- ustring(const std::string& src);
- ustring(const char* src);
+ ustring(const std::string& src, bool utf8 = true);
+ ustring(const char* src, bool utf8 = true);
// append to the string
// No reference return; use replace() to write characters.
value_type operator[](size_type i) const;
+ // compare strings
+
+ bool operator==(const ustring &other) const;
+ bool operator==(const std::string &other) const;
+ bool operator==(const char *other) const;
+
// internal data
const char* data() const;