summaryrefslogtreecommitdiff
path: root/otk/ustring.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-04 23:33:07 +0000
committerDana Jansens <danakj@orodu.net>2003-02-04 23:33:07 +0000
commit58336526043b3e1b4ce583f3392d261438b6eb35 (patch)
treec563456f04b16aef8e693b1ba73e7da173702a0a /otk/ustring.hh
parentb8735c759a0a638a1169089c310baf9de6414597 (diff)
add operator==
Diffstat (limited to 'otk/ustring.hh')
-rw-r--r--otk/ustring.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/otk/ustring.hh b/otk/ustring.hh
index 8ee066d3..0031e1c5 100644
--- a/otk/ustring.hh
+++ b/otk/ustring.hh
@@ -155,6 +155,12 @@ public:
// 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;