<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>haru-s</author_name>
  <author_url>https://blog.hatena.ne.jp/haru-s/</author_url>
  <blog_title>...ing logging 4.0</blog_title>
  <blog_url>https://haru-s.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>メモみたいなもの（＾＾；C++でダブルディスパッチのうまい実装を考え中． １つのパラダイムに限定した設計から始めて，もう４パターン作ってしまったがどうも気に入らない． 適当に名前を付けるとこんな感じか？・インタフェースベース ・ファンクタベース ・テンプレートベース ・コールバックベース今回の局面に使えるようなダブルディスパッチを説明するサイトが見つからないのが痛い． とりあえず，ディスパッチに使える言語要素を３つ見つけた．・仮想関数 ・関数オーバーロード ・メンバ関数テンプレートこの中の２つを使って，２回ディスパッチしてやればいい． さらに，・動的なディスパッチは仮想関数と関数オーバーロード…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20060414%2F1144949098&quot; title=&quot;C++: ダブルディスパッチ（１） - ...ing logging 4.0&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>2006-04-14 02:24:58</published>
  <title>C++: ダブルディスパッチ（１）</title>
  <type>rich</type>
  <url>https://haru-s.hatenablog.com/entry/20060414/1144949098</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
