<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jeneshicc</author_name>
  <author_url>https://blog.hatena.ne.jp/jeneshicc/</author_url>
  <blog_title>落書き、時々落学</blog_title>
  <blog_url>https://jeneshicc.hatenadiary.org/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>C++</anon>
    <anon>Memo</anon>
  </categories>
  <description>C++ には関数内関数がないらしい． struct使えば，似非関数内関数は作れるが， この似非関数内関数は親関数の変数に触ることができない．例えば，以下のプログラムはコンパイルエラーになった． // test.cpp int main() { int c = 0; struct Func { void operator () () { c ++; } } f; f(); return 0; } コンパイルすると，以下のようなメッセージが表示される． % g++ -O2 -o a.out test.cpp test.cpp: In member function ‘void main()::Fu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20100212%2F1265978637&quot; title=&quot;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>2010-02-12 21:43:57</published>
  <title>C++ かんすうないかんすう ない</title>
  <type>rich</type>
  <url>https://jeneshicc.hatenadiary.org/entry/20100212/1265978637</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
