<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>Boost.Accumulatorsなどを見ていると、Boost.Parametersの主な使い道はデフォルト引数をユーザーコードから名前付きで渡すことなんじゃないかと思えてきました。 たとえば、こんな再描画フラグがデフォルトfalseのdraw関数があったとして： void draw(const Point&amp; p, bool is_draw = false); こういった関数で、デフォルト値以外を指定することはあまりないからこういった宣言を書くわけですが、たいていこういう関数には直値を指定するので、ユーザーコードには意味不明のbool値を指定することになってしまうことがあります。 draw(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20110425%2F1303716119&quot; title=&quot; Boost.Parametersの主な用途？ - Faith and Brave - C++で遊ぼう&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>2011-04-25 16:21:59</published>
  <title> Boost.Parametersの主な用途？</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20110425/1303716119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
