- Timestamp:
- Sep 25, 2013 4:45:39 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 89316
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r42570 r48691 205 205 206 206 bool operator==(const Bstr &that) const { return !compare(that.m_bstr); } 207 bool operator==(CBSTR that) const { return !compare(that); } 208 bool operator==(BSTR that) const { return !compare(that); } 207 209 bool operator!=(const Bstr &that) const { return !!compare(that.m_bstr); } 208 bool operator==(CBSTR that) const { return !compare(that); } 209 bool operator==(BSTR that) const { return !compare(that); } 210 211 bool operator!=(CBSTR that) const { return !!compare(that); } 212 bool operator!=(BSTR that) const { return !!compare(that); } 213 bool operator<(const Bstr &that) const { return compare(that.m_bstr) < 0; } 214 bool operator<(CBSTR that) const { return compare(that) < 0; } 215 bool operator<(BSTR that) const { return compare(that) < 0; } 210 bool operator!=(CBSTR that) const { return !!compare(that); } 211 bool operator!=(BSTR that) const { return !!compare(that); } 212 bool operator<(const Bstr &that) const { return compare(that.m_bstr) < 0; } 213 bool operator<(CBSTR that) const { return compare(that) < 0; } 214 bool operator<(BSTR that) const { return compare(that) < 0; } 215 bool operator<=(const Bstr &that) const { return compare(that.m_bstr) <= 0; } 216 bool operator<=(CBSTR that) const { return compare(that) <= 0; } 217 bool operator<=(BSTR that) const { return compare(that) <= 0; } 218 bool operator>(const Bstr &that) const { return compare(that.m_bstr) > 0; } 219 bool operator>(CBSTR that) const { return compare(that) > 0; } 220 bool operator>(BSTR that) const { return compare(that) > 0; } 221 bool operator>=(const Bstr &that) const { return compare(that.m_bstr) >= 0; } 222 bool operator>=(CBSTR that) const { return compare(that) >= 0; } 223 bool operator>=(BSTR that) const { return compare(that) >= 0; } 216 224 217 225 /**
Note:
See TracChangeset
for help on using the changeset viewer.