<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>N3974 - Polymorphic Deleter for Unique Pointers std::shared_ptr&lt;void&gt;は、代入された任意の型のデストラクタが適切に呼び出されるが、std::unique_ptr&lt;void&gt;はできない。この提案は、それをなんとかしようというもの。 技術的には、こういうことをする： #include &lt;iostream&gt; #include &lt;memory&gt; struct X { ~X() { std::cout &lt;&lt; &quot;destructor&quot; &lt;&lt; std::endl; } }; struct void_deleter { std::functi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2014%2F06%2F04%2F172754&quot; title=&quot;unique_ptr&amp;lt;void&amp;gt;でデストラクタを呼ぶ - Faith and Brave - 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>2014-06-04 17:27:54</published>
  <title>unique_ptr&lt;void&gt;でデストラクタを呼ぶ</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/2014/06/04/172754</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
