<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Isoparametric</author_name>
  <author_url>https://blog.hatena.ne.jp/Isoparametric/</author_url>
  <blog_title>神様なんて信じない僕らのために</blog_title>
  <blog_url>https://isoparametric.hatenablog.com/</blog_url>
  <categories>
    <anon>c/c++</anon>
  </categories>
  <description>と言われたら。 C++ code - 21 lines - codepad class Container { public: ~Container() { printf(&quot;Container::~Container()\n&quot;); } }; class Hoge : protected Container { public: }; int main() { Hoge h; Hoge* hoge = new Hoge(); delete hoge; いったい何の話ですか？ と、とぼけましょう。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20091105%2F1257382016&quot; title=&quot;デストラクタがvirtualじゃないクラス、例えばvectorは継承しちゃだめなんだぞー！ - 神様なんて信じない僕らのために&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-05 09:46:56</published>
  <title>デストラクタがvirtualじゃないクラス、例えばvectorは継承しちゃだめなんだぞー！</title>
  <type>rich</type>
  <url>https://isoparametric.hatenablog.com/entry/20091105/1257382016</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
