<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ita</author_name>
  <author_url>https://blog.hatena.ne.jp/ita/</author_url>
  <blog_title>ita’s diary</blog_title>
  <blog_url>https://ita.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Geek</anon>
    <anon>J</anon>
  </categories>
  <description>以下のようなコードを書きたいんですが、 //クラス定義 class myclass { public: int z; void (*func)(int x); }; //クラスと関係ない変数 int myint1, myint2; // funcの行き先 void myclass::sub1(int x) { z=x + myint1; } void myclass::sub2(int x) { z=x + myint2; } int main(){ myclass a,b; a.func = sub1; b.func = sub2; }sub1, sub2 は myclass のメンバじゃな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fita.hatenadiary.jp%2Fentry%2F20050209%2Fp1&quot; title=&quot; C++ - ita’s diary&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-02-09 00:00:00</published>
  <title> C++</title>
  <type>rich</type>
  <url>https://ita.hatenadiary.jp/entry/20050209/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
