<?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>boost::functionは、clear()メンバ関数を使用する。 #include &lt;iostream&gt; #include &lt;boost/function.hpp&gt; void foo() {} int main() { boost::function&lt;void()&gt; f = foo; f.clear(); // これ if (f) { std::cout &lt;&lt; &quot;has function&quot; &lt;&lt; std::endl; } else { std::cout &lt;&lt; &quot;hasn't function&quot; &lt;&lt; std::endl; } } hasn't functionstd::function…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20131127%2F1385535726&quot; title=&quot; functionを空にする方法 - 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>2013-11-27 16:02:06</published>
  <title> functionを空にする方法</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20131127/1385535726</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
