<?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>結論からいうと、 C++0x に GC は入りません。 C++0x では、透過的な GC の導入が間に合わないので、最低限の決めごとだけを行います。 で、以下が C++0x での GC の決めごと 【目的】 GC と到達可能性ベースリーク検知の両方のサポート 【背景】 以下のような&quot;hide a pointer&quot;(ポインタを隠す)プログラム(ポインタを他の値とXORして、あとでそれを通常のポインタに戻して参照をはずす)は未定義動作となります。 T *p = new ...; intptr_t x = reinterpret_cast&lt;intptr_t&gt;(p) ^ 0x555; // ここでGC…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20081117%2F1226913980&quot; title=&quot; C++0x ガベージコレクションと到達可能性ベースリーク検知の最小支援 - 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>2008-11-17 18:26:20</published>
  <title> C++0x ガベージコレクションと到達可能性ベースリーク検知の最小支援</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20081117/1226913980</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
