{"id":7063,"date":"2017-11-20T06:59:18","date_gmt":"2017-11-20T06:59:18","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=7063"},"modified":"2017-11-20T06:59:18","modified_gmt":"2017-11-20T06:59:18","slug":"c-string-concatenation","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=7063","title":{"rendered":"C++ String Concatenation"},"content":{"rendered":"<h3>Reference<\/h3>\n<p><a href=\"http:\/\/www.cplusplus.com\/reference\/sstream\/stringbuf\/str\/\">std::stringbuf::str<\/a><br \/>\n<a href=\"http:\/\/www.cplusplus.com\/reference\/sstream\/stringstream\/stringstream\/\">std::stringstream::stringstream<\/a><\/p>\n<h2>Good<\/h2>\n<h4>stackoverflow<\/h4>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/2462951\/c-equivalent-of-stringbuffer-stringbuilder\">C++ equivalent of StringBuffer\/StringBuilder?<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/6391458\/please-help-me-to-understand-the-difference-between-streambuf-stringbuf-and-str\">Please help me to understand the difference between streambuf, stringbuf and stringstream?<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/20594520\/what-exactly-does-stringstream-do\">What exactly does stringstream do?<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/27987682\/how-to-implement-stringbuilder-class-which-to-be-able-to-accept-io-manipulators\">How to implement StringBuilder class which to be able to accept IO manipulators<\/a><\/p>\n<h4>Wikipedia<\/h4>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/C%2B%2B_string_handling\">C++ string handling<\/a><br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Resource_acquisition_is_initialization\">Resource acquisition is initialization (RAII)<\/a><br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Automatic_variable\">Automatic variable<\/a><\/p>\n<h4>ESP32.com<\/h4>\n<p><a href=\"https:\/\/esp32.com\/viewtopic.php?f=13&#038;t=2588\">How to use strings in esp idf?<\/a><br \/>\n<a href=\"https:\/\/esp32.com\/viewtopic.php?f=13&#038;t=1932\">Using C++ std::stringstream and heap exceptions<\/a><\/p>\n<h2>Bad<\/h2>\n<p><a href=\"https:\/\/www.codeproject.com\/Articles\/20491\/A-C-StringBuilder-Class\">A C++ StringBuilder Class<\/a>, 14.09.2007<br \/>\n<a href=\"https:\/\/www.codeproject.com\/Articles\/647856\/Performance-Improvement-with-the-StringBuilde\">4350% Performance Improvement with the StringBuilder for C++!<\/a>, 10.09.2013<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reference std::stringbuf::str std::stringstream::stringstream Good stackoverflow C++ equivalent of StringBuffer\/StringBuilder? Please help me to understand the difference between streambuf, stringbuf and stringstream? What exactly does stringstream do? How to implement StringBuilder class which to be able to accept IO manipulators Wikipedia C++ string handling Resource acquisition is initialization (RAII) Automatic variable ESP32.com How to use strings [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7063","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7063"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7063\/revisions"}],"predecessor-version":[{"id":7064,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7063\/revisions\/7064"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}