<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>前回の記事で多重継承ではvtbl等が継承元の数だけ並ぶと書きましたが、MSVCではそのvtblの中身には最初以外のvtblにおけるthisポインタのずれを補正するためのadjustor thunkが挿入されるそうです。adjustor thunkはデバッグウィンドウでは次のコードで確認出来て、adjustor thunk自体の説明はRaymond Chen氏のブログ記事「Adjustor thunks」(Feb 6, 2004)にあります。 class Interface1 { public: virtual void Method1() = 0; }; class Interface2 : …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F09%2F09%2F030848&quot; title=&quot;C++ MSVCの多重継承に対するadjustor thunk - potisanのプログラミングメモ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/potisan/20260909/20260909024635.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-09-09 03:08:48</published>
  <title>C++ MSVCの多重継承に対するadjustor thunk</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2026/09/09/030848</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
