<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>djann</author_name>
  <author_url>https://blog.hatena.ne.jp/djann/</author_url>
  <blog_title>並ゲームプログラマの書き捨て場</blog_title>
  <blog_url>https://djann-prog.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>戻り値だけが違うオーバーロード関数 変な時間に目が覚めてしまったので、記事の移植を再開する。 2014/09/14の記事 戻り値だけが違うオーバーロード関数･･･それは夢への旅立ち。djannです。 前にどこかのブログで、戻り値だけが違うオーバーロード関数を作成したいというような要望を見かけた。 整数、浮動小数点数それぞれのπを取得するGetPi関数を例として考えていたので、こちらでもそれに準じることにする。 ・要求事項 GetPiInt()やGetPiFloat()と書くと、コードの見た目的に美しくない ・解決策 テンプレートの特殊化によりGetPi()とGetPi()を作った。 これでは、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdjann-prog.hatenablog.com%2Fentry%2F2014%2F11%2F11%2F042323&quot; title=&quot;戻り値だけが違うオーバーロード関数 - 並ゲームプログラマの書き捨て場&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-11-11 04:23:23</published>
  <title>戻り値だけが違うオーバーロード関数</title>
  <type>rich</type>
  <url>https://djann-prog.hatenablog.com/entry/2014/11/11/042323</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
