<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wata_d</author_name>
  <author_url>https://blog.hatena.ne.jp/wata_d/</author_url>
  <blog_title>閑古鳥</blog_title>
  <blog_url>https://www.little-cuckoo.jp/</blog_url>
  <categories>
    <anon>programming</anon>
    <anon>C++</anon>
  </categories>
  <description>RAII(Resource Acquisition Is Initialization)に関してはリンク先を参照してもらうとして、先日の ScopeGuard を使った RAII の実装 (怪しい表現だなあ) を、実際にやってみた。自分がちゃんと理解できているかを確認するための覚書。 CloseFile の省略 #include &lt;boost/multi_index/detail/scope_guard.hpp&gt; #include &lt;windows.h&gt; using namespace boost::multi_index::detail; void f() { HANDLE file = C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20051102%2F1130883390&quot; title=&quot;RAII を ScopeGuard を使って実践 - 閑古鳥&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>2005-11-02 07:16:30</published>
  <title>RAII を ScopeGuard を使って実践</title>
  <type>rich</type>
  <url>https://www.little-cuckoo.jp/entry/20051102/1130883390</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
