<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Cryolite</author_name>
  <author_url>https://blog.hatena.ne.jp/Cryolite/</author_url>
  <blog_title>Cry's Blog</blog_title>
  <blog_url>https://blog.cryolite.net/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>今日，起きてベッドの上でぼけ〜っとしてたら思いついたけれど， Type Erasure にちょこっと hack を加えれば， double dispatch ができるんじゃないかと思いついた．けれど忙しくて実験・実演するヒマがないっ！！ というか， Type Erasure によるインタフェースは派生先のクラス（実装）と依存関係が逆転してると考えること（「インタフェースをまず先に定義してそれを派生クラスで実装する」ではなくて「インターフェースが共通な実装が複数あって，ありゃそういやこいつら抽象化してインタフェースが作れるじゃん」という考え方）もできる．ので，例えば Type Erasure で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.cryolite.net%2Fentry%2F20051202%2Fp1&quot; title=&quot;Double dispatch in C++ - Cry&amp;#39;s Blog&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>2005-12-02 00:00:00</published>
  <title>Double dispatch in C++</title>
  <type>rich</type>
  <url>https://blog.cryolite.net/entry/20051202/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
