Changeset 74 for cpp/gdk/sstring.h
- Timestamp:
- 12/16/11 21:41:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/sstring.h
r66 r74 137 137 int operator==(const SString &s) const {return equals(s);} ///< TRUE if equal 138 138 const char* operator()(int p) const {return buf->txt+p;} ///< pointer to p'th character in SString 139 char operator[](int i) {return buf->txt[i];} ///< get char like in array139 char operator[](int i) const {return buf->txt[i];} ///< get char like in array 140 140 141 141 /// return a substring of the current string
Note: See TracChangeset
for help on using the changeset viewer.