Files Classes Functions Hierarchy
#include <cassert>#include <string>#include <typedefs.h>
Go to the source code of this file.
Classes | |
| class | myisspace |
| My interpretation of space characters. More... | |
| class | spacertrim< SPC > |
| Trim a string by removing leading and trailing space. More... | |
| class | spacerdelete< SPC > |
| The functional object identifies an empty string. More... | |
Functions | |
| stringc | stringtrim (stringc &str) |
Definition at line 13 of file stringspace.cpp.
Referenced by mkerrorscompile::compilecode(), mkerrorsstate::mkerrorsstate(), and projunittests::xml().
00014 { 00015 string s2(str); 00016 spacertrim<>()(s2); 00017 00018 return s2; 00019 }
1.5.8