<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>STL</anon>
  </categories>
  <description>はじめに C++とSTL（Standard Template Library）で標準（エラー）出力（std::cout、std::cerr）を使用して整数などを出力するとき、出力形式を指定するにはstd::hexやstd::setw/setfillといった関数を利用します。 このstd::setw/setfillは一度出力すると消えてしまうので、出力する度に... &lt;&lt; std::setw &lt;&lt; std::setfill(...) &lt;&lt; ...などと設定する必要があります。意味としては分かりやすいのですが、冗長で読みにくいコードとなってしまいます。 例えば0x1234という数値を16進数で出力…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2014%2F06%2F23%2F000000&quot; title=&quot;C++11 STLの標準入出力にsetfill/setwをまとめて設定するヘルパー構造体＆関数 - potisanのプログラミングメモ&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>2014-06-23 00:00:00</published>
  <title>C++11 STLの標準入出力にsetfill/setwをまとめて設定するヘルパー構造体＆関数</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2014/06/23/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
