<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>C++でゲームプログラミング</blog_title>
  <blog_url>https://osyo-manga.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>例えば、こんな感じに『引数から型推論を行う関数』を呼び出す時に『テンプレート型を明示的に定義したかどうか』で呼び出される関数を別々にしたい場合があります。 template&lt;typename T&gt; void func(T&amp;&amp; t); // func(10) と func&lt;int&gt;(10) で呼び出す関数を別々にしたい func(10); func&lt;int&gt;(10); これ、どうやればいいのかなーと考えていたらこんな感じで出来るみたい。 [ソース] #include &lt;type_traits&gt; #include &lt;iostream&gt; template&lt;typename T&gt; void func(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20130119%2F1358584078&quot; title=&quot;func(10) と func(10) で呼び出される関数を分ける - 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>2013-01-19 17:27:58</published>
  <title>func(10) と func(10) で呼び出される関数を分ける</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20130119/1358584078</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
