{"id":2764,"date":"2022-08-30T15:27:35","date_gmt":"2022-08-30T15:27:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/08\/bada-c-stdstringstream-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:27:35","modified_gmt":"2022-08-30T15:27:35","slug":"bada-c-stdstringstream-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/bada-c-stdstringstream-collection-of-common-programming-errors\/","title":{"rendered":"bada C++ std::stringstream-Collection of common programming errors"},"content":{"rendered":"<p>bada crashed on stringstream read.<\/p>\n<pre><code>json::Object objDocument = d();\nstd::stringstream stream;\njson::Writer::Write(objDocument, stream);\njson::Object objDocument2;\njson::Reader::Read(objDocument2, stream); \/\/ c_str()); \/\/<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2014-02-08 16:02:04. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>bada crashed on stringstream read. json::Object objDocument = d(); std::stringstream stream; json::Writer::Write(objDocument, stream); json::Object objDocument2; json::Reader::Read(objDocument2, stream); \/\/ c_str()); \/\/ Originally posted 2014-02-08 16:02:04.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2764","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2764"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2764\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}