<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>YuukTsuchida</author_name>
  <author_url>https://blog.hatena.ne.jp/YuukTsuchida/</author_url>
  <blog_title>YuukTsuchida's blog</blog_title>
  <blog_url>https://yukimemo.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>if文はそこまで嫌いではないのだが、switchはとても嫌いだ。 というのもswitchを使うときは大抵その関数が大きくなるからだ！！（自分の書き方的な所もあるのだろうが） だからといってswitchをif文に変えれば嫌いじゃなくなる！！ というわけでもない。 結局のところ関数の大きさによってはif文だろうがなんだろうが嫌いになるわけで。。。 こういった条件分岐により関数が大きくなる場合は各条件の内容を全て関数にして関数テーブルを利用することで1関数のサイズを小さく保ってやる。 [func03.cpp]はメンバ関数ポインタを利用しての実装 [func11.cpp]はC++11で追加されたstd…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyukimemo.hatenadiary.jp%2Fentry%2F2014%2F07%2F24%2F022354&quot; title=&quot;関数テーブル - YuukTsuchida&amp;#39;s blog&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>2014-07-24 02:23:54</published>
  <title>関数テーブル</title>
  <type>rich</type>
  <url>https://yukimemo.hatenadiary.jp/entry/2014/07/24/022354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
