<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>プログラミング言語C++において、通常関数名やstaticメンバ関数名から関数ポインタ型へは暗黙変換が行われるが、メンバ関数名からメンバ関数ポインタ型への変換はアドレス演算子&amp;利用が必須。 void f0(); struct S { static void f1(); void mf(); }; // (通常)関数／staticメンバ関数 using PF = void (*)(); PF p0a = &amp;f0; // OK PF p0b = f0; // OK: 暗黙変換 PF p1a = &amp;S::f1; // OK PF p1b = S::f1; // OK: 暗黙変換 // メンバ関数 u…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20230809%2Fp1&quot; title=&quot;関数名／メンバ関数名とアドレス演算子 - yohhoyの日記&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>2023-08-09 00:00:00</published>
  <title>関数名／メンバ関数名とアドレス演算子</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20230809/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
