<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shurabaP</author_name>
  <author_url>https://blog.hatena.ne.jp/shurabaP/</author_url>
  <blog_title>フェルマータ</blog_title>
  <blog_url>https://shurabap.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>経緯 ブログも久々だが C++ も久々で、書いているとどうにもポインタを触りたくないために、できるだけ参照型で物事を済ませたかった。のだが、そういえば参照型って多態効くんだっけと思って調べたがググらビリティが低かったので自分で調べた。 結果 効く。 test.cpp #include &lt;stdio.h&gt; class Base { public: virtual ~Base() {} virtual void func() { printf(&quot;Base class function.\n&quot;); } }; class ChildA : public Base { public: ~ChildA()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshurabap.hatenablog.jp%2Fentry%2F2014%2F11%2F30%2F125244&quot; title=&quot;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>2014-11-30 12:52:44</published>
  <title>C++ の参照型で多態は効くのか。</title>
  <type>rich</type>
  <url>https://shurabap.hatenablog.jp/entry/2014/11/30/125244</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
