#include "mystring.h" #include mystring mystring::lstrip() const { const char* ptr = rep->buf; while(*ptr && isspace(*ptr)) ++ptr; return ptr; }