Loading src/html.cpp +5 −0 Changes for src/html.cpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -145,6 +145,11 @@ libhtmlpp::HtmlString& libhtmlpp::HtmlString::operator<<(std::string src) { return *this; } libhtmlpp::HtmlString& libhtmlpp::HtmlString::operator<<(HtmlString src) { _Data.append(src._Data); return *this; } libhtmlpp::HtmlString& libhtmlpp::HtmlString::operator<<(int src) { char buf[255]; snprintf(buf, 255, "%d", src); Loading src/html.h +1 −0 Changes for src/html.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ namespace libhtmlpp { HtmlString& operator<<(const char* src); HtmlString& operator<<(std::string src); HtmlString& operator<<(HtmlString src); HtmlString& operator<<(int src); HtmlString& operator<<(unsigned int src); HtmlString& operator<<(char src); Loading Loading
src/html.cpp +5 −0 Changes for src/html.cpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -145,6 +145,11 @@ libhtmlpp::HtmlString& libhtmlpp::HtmlString::operator<<(std::string src) { return *this; } libhtmlpp::HtmlString& libhtmlpp::HtmlString::operator<<(HtmlString src) { _Data.append(src._Data); return *this; } libhtmlpp::HtmlString& libhtmlpp::HtmlString::operator<<(int src) { char buf[255]; snprintf(buf, 255, "%d", src); Loading
src/html.h +1 −0 Changes for src/html.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ namespace libhtmlpp { HtmlString& operator<<(const char* src); HtmlString& operator<<(std::string src); HtmlString& operator<<(HtmlString src); HtmlString& operator<<(int src); HtmlString& operator<<(unsigned int src); HtmlString& operator<<(char src); Loading