<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>C++の多重継承に熟知された方から見れば（そうでない方でも？）、なにをいまさら感、が漂ってますが、こういう使い方をすれば便利なのか、と気付いたのでメモ。 わたし自身の考えとしては、多重継承はぜんぜん否定していないんですが、うまい使い方というのを知らなかったので、インタフェースを実装する以外ではほとんど使ったことがありませんでした。それがたまたま、昨日今日ととあるプログラムの実装方法を考えていたときにコレに気がつきました。インタフェースの一部だけを実装して、最終的に利用するクラスではそれら一部ずつ実装されたクラスを多重継承するというものです。 #include &lt;iostream&gt; enum I…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20091126%2F1259241459&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>2009-11-26 22:17:39</published>
  <title>多重継承の使い方の一例</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/20091126/1259241459</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
