<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BG1</author_name>
  <author_url>https://blog.hatena.ne.jp/BG1/</author_url>
  <blog_title>車輪のx発明 ~B.G's Blog~</blog_title>
  <blog_url>https://bg1.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>文字列をストリームのように扱えるクラスがstrstreamstd::strstream - cppreference.com入出力演算子で、文字列を追加したりできる。(ただし、随分前から非推奨になっているので、 basic_istringstream - cpprefjp C++日本語リファレンス 現在では、こちらを使うべきである。)コンストラクタにバッファを指定すれば、そのバッファを使うし、そうでなければ動的にバッファを用意する。 今回は、自前でバッファを用意する。bufを全て'X'で埋める。 そのbufをssに指定する。 ssに&quot;ABC&quot;を出力する。 ssをそのまま出力できないので、紐付い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2019%2F06%2F13%2F210000&quot; title=&quot;strstream - 車輪のx発明 ~B.G&amp;#39;s Blog~&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-13 21:00:00</published>
  <title>strstream</title>
  <type>rich</type>
  <url>https://bg1.hatenablog.com/entry/2019/06/13/210000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
