<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>C++1z</anon>
  </categories>
  <description>C++1z(C++17)標準ライブラリでは、スマートポインタstd::shared_ptr&lt;T&gt;のuniqueメンバ関数は非推奨(deprecated)とされる*1。上位互換となるuse_countメンバ関数は残存するが、スレッド間同期には関与しないという要件が明確化され、マルチスレッド実行ではその戻り値は近似(approximate)となる旨のNoteが追加される。2019-09-11追記：C++2a(C++20)では P0619R4 が採択され、shared_ptr&lt;T&gt;::unique()メンバ関数は削除(remove)される。まとめ： shared_ptr参照カウントを利用したスレッド…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20161217%2Fp1&quot; title=&quot;shared_ptr参照カウントとデータ競合 - yohhoyの日記&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>2016-12-17 00:00:00</published>
  <title>shared_ptr参照カウントとデータ競合</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20161217/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
