Skip to content
Snippets Groups Projects
Commit e379c072 authored by arq5x's avatar arq5x
Browse files

[ENH] add str() method to QuickString

parent e6cab1c6
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ public:
bool operator < (const QuickString &) const;
bool operator > (const QuickString &) const;
const char *c_str() const { return _buffer; }
const string str() const { return _buffer; }
const char &operator [] (int pos) const { return _buffer[pos]; }
char &operator [] (int pos) { return _buffer[pos]; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment