X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fustring.hh;fp=otk%2Fustring.hh;h=647bee86f641b69c99b24a5c9b0a80da14e23a70;hb=ef02a0c8ae65f169157c90064a335303e964a4c1;hp=ef94440cff746770ebbf0a68fe296c3ede7b4a79;hpb=5a90d2b671f01f29043ab82f909440de0abfa362;p=chaz%2Fopenbox diff --git a/otk/ustring.hh b/otk/ustring.hh index ef94440c..647bee86 100644 --- a/otk/ustring.hh +++ b/otk/ustring.hh @@ -152,7 +152,7 @@ public: ustring(const ustring& other); ustring& operator=(const ustring& other); ustring(const std::string& src); - ustring::ustring(const char* src); + ustring(const char* src); // append to the string @@ -166,6 +166,7 @@ public: ustring::size_type bytes() const; ustring::size_type capacity() const; ustring::size_type max_size() const; + bool empty() const; // erase substrings