<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>setuna-kanata</author_name>
  <author_url>https://blog.hatena.ne.jp/setuna-kanata/</author_url>
  <blog_title>while( c++ );</blog_title>
  <blog_url>https://setuna-kanata.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>boost::weak_ptrの使い方は、多くの方々が解説していますので割愛します。 weak_ptr http://www.ustream.tv/recorded/2981654 ここでは実装方法についてかなり適当に解説します。 一応前回（shared_ptrの実装7 - while( c++ );）の続き。 まとめページ（shared_ptrまとめ - while( c++ );）にshared_ptrのサンプルをアップしました。 とりあえず以下のよう扱い方が出来るweak_ptrを目指します。 使い方 class Hoge { public: void func(){} }; int m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsetuna-kanata.hatenadiary.org%2Fentry%2F20100125%2F1264434096&quot; title=&quot;shared_ptrの実装8 -weak_ptrに対応させる- - while( 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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/setuna-kanata/20100125/20100125031310.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-01-25 00:41:36</published>
  <title>shared_ptrの実装8 -weak_ptrに対応させる-</title>
  <type>rich</type>
  <url>https://setuna-kanata.hatenadiary.org/entry/20100125/1264434096</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
