<?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>
    <anon>boost</anon>
  </categories>
  <description>Boost.TypeErasure で処理を呼び出す際に元の型にキャストして渡しています。 template&lt;class C, class T&gt; struct push_back { static void apply(C&amp; cont, const T&amp; arg) { cont.push_back(arg); } }; std::vector&lt;int&gt; vec; any&lt;push_back&lt;_self, int&gt;, _self&amp;&gt; c(vec); int i = 10; call(push_back&lt;_self, int&gt;(), c, i); // push_back::apply(std::…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20120627%2F1340790487&quot; title=&quot;TypeErasure で元の型にキャストする - 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>2012-06-27 18:48:07</published>
  <title>TypeErasure で元の型にキャストする</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20120627/1340790487</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
