X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fustring.hh;h=0031e1c5b888db645c7ee397038f3f62d8ade854;hb=dca8c61a91cab29128a72f252b70f4bd9f7786ff;hp=8ee066d3b277dcbfec50a0f16ad7d72da431e3cc;hpb=a7207b7d8367af47ddb7e2733cb963148fd0379f;p=chaz%2Fopenbox 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;