<?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>class A { public: A (){} virtual ~A (){} }; class B { public: B (){}; virtual ~B (){}; }; class C : public A, public B { public: C (){} virtual ~C (){} }; int main() { C* c = new C(); A* a = c; B* b = c; printf(&quot;c:%p\n&quot;, c); printf(&quot;b:%p\n&quot;, b); printf(&quot;a:%p\n&quot;, a); delete c; return 0; } a,b,cが全て同じア…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20080124%2F1201185062&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>2008-01-24 23:31:02</published>
  <title>もしかしてCの奴らは代入やキャストでポインタのアドレスが変わらないとか思っているのか？</title>
  <type>rich</type>
  <url>https://isoparametric.hatenablog.com/entry/20080124/1201185062</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
