--- a/str.cpp Sat Mar 16 03:42:04 2013 +0200 +++ b/str.cpp Sat Mar 16 13:08:24 2013 +0200 @@ -5,6 +5,8 @@ #include <assert.h> // #include <initializer_list> #include "str.h" +#include "common.h" +#include "misc.h" #define ITERATE_STRING(u) \ for (unsigned int u = 0; u < strlen (text); u++) @@ -463,4 +465,9 @@ std::vector<str> str::operator/ (str splitstring) {return split(splitstring);} std::vector<str> str::operator/ (char* splitstring) {return split(splitstring);} -std::vector<str> str::operator/ (const char* splitstring) {return split(splitstring);} \ No newline at end of file +std::vector<str> str::operator/ (const char* splitstring) {return split(splitstring);} + +str& str::operator+= (vertex vrt) { + appendformat ("%s", vrt.getStringRep (false).chars()); + return *this; +} \ No newline at end of file