<?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>はてブコメントより。id:sankasekiさん曰く クソして寝る前にC言語でClassを記述して欲しい、ついで言うとサンプルソースの様にClass固有のメモリ領域が不要である場合(メンバ変数なし等)、環境によってはclassポインタがNULLになり a: b: c: が一致する あり、 クラス固有のデータを持たない場合も、 sizeofの結果は最低1になり、 new演算子が呼び出すoperator newには最低でもその1が渡される筈、 とか思ってましたが、これって保証された仕様じゃなかったかしら？ そうでないと、 A a; B b; で、AもBもsizeofの結果が0ならば&amp;a==&amp;bが一…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20080126%2F1201332708&quot; title=&quot;sizeof(Hoge)==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>2008-01-26 16:31:48</published>
  <title>sizeof(Hoge)==0?</title>
  <type>rich</type>
  <url>https://isoparametric.hatenablog.com/entry/20080126/1201332708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
