<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>melpon</author_name>
  <author_url>https://blog.hatena.ne.jp/melpon/</author_url>
  <blog_title>melpon日記 - HaskellもC++もまともに扱えないへたれのページ</blog_title>
  <blog_url>https://melpon.hatenadiary.org/</blog_url>
  <categories>
    <anon>BREW</anon>
    <anon>C++</anon>
  </categories>
  <description>は最悪だと思うのです。 C での擬似的な継承関係は C++ の継承関係とは関係が無いので、型の変換が一切できないのです。 intrusive_ptr&lt;IShell&gt; shell; intrusive_ptr&lt;IBase&gt; base; shell = base; // 当然エラー base = shell; // エラー base = static_pointer_cast&lt;IBase&gt;(shell); // エラー base = shell.get(); // エラー base = static_cast&lt;IBase*&gt;(shell.get()); // エラー base = reinterp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelpon.hatenadiary.org%2Fentry%2F20090310%2F1236686154&quot; title=&quot;BREW API と intrusive_ptr の親和性 - melpon日記 - Haskellも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>2009-03-10 20:55:54</published>
  <title>BREW API と intrusive_ptr の親和性</title>
  <type>rich</type>
  <url>https://melpon.hatenadiary.org/entry/20090310/1236686154</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
