<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koturn</author_name>
  <author_url>https://blog.hatena.ne.jp/koturn/</author_url>
  <blog_title>koturnの日記</blog_title>
  <blog_url>https://koturn.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>はじめに C++において，たまに std:cout や std:ofstream， std::ostringstream といった出力ストリームに，配列や std::vector の要素を何かの区切り文字を入れて出力したいことがある． この「区切り文字を入れて出力」というのは少々面倒で，末端要素の後に区切り文字を入れないようにしないといけない． 可能な限り，そういった処理を簡潔に記述したいものである． for インデックスベースのforを利用するなら以下のように書くだろう． #include &lt;iostream&gt; #include &lt;vector&gt; int main() { std::vect…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoturn.hatenablog.com%2Fentry%2F2018%2F07%2F22%2F120000&quot; title=&quot;C++の配列・STLコンテナで区切り文字を入れてostreamに出力する - koturnの日記&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>2018-07-22 12:00:00</published>
  <title>C++の配列・STLコンテナで区切り文字を入れてostreamに出力する</title>
  <type>rich</type>
  <url>https://koturn.hatenablog.com/entry/2018/07/22/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
