<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>methane</author_name>
  <author_url>https://blog.hatena.ne.jp/methane/</author_url>
  <blog_title>methaneのブログ</blog_title>
  <blog_url>https://methane.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>プログラミング言語C++の5.3.1に、こう書いてある。 T*型のポインタpに対して算術演算子を適用するとき、pはT型オブジェクトの配列の要素を指しているものとみなされる。p+1は、配列内の次の要素、p-1は手前の要素を指す。そのため、p+1の整数値は、pの整数値よりも、sizeof(T)だけ大きいということになる。 ポインタ変数にアドレスが入っていると仮定すると、sizeof演算子が返すサイズの単位が、アドレスの単位と等しいことになる。しかし、4.6には、こう書いてあった。 C++オブジェクトのサイズは、charのサイズの倍数によって表現出きるので、定義上、charのサイズは1とされている。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20080414%2F1208195760&quot; title=&quot;sizeof()はやっぱりバイト数を返す？ - methaneのブログ&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-04-14 02:56:00</published>
  <title>sizeof()はやっぱりバイト数を返す？</title>
  <type>rich</type>
  <url>https://methane.hatenablog.jp/entry/20080414/1208195760</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
