Changeset 74 for cpp/gdk/sstring.h


Ignore:
Timestamp:
12/16/11 21:41:43 (12 years ago)
Author:
Maciej Komosinski
Message:

improved documentation, compilation, and precision of numbers parsed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/gdk/sstring.h

    r66 r74  
    137137int operator==(const SString &s) const {return equals(s);} ///< TRUE if equal
    138138const 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 array
     139char operator[](int i) const {return buf->txt[i];} ///< get char like in array
    140140
    141141/// return a substring of the current string
Note: See TracChangeset for help on using the changeset viewer.