<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ishikawash</author_name>
  <author_url>https://blog.hatena.ne.jp/ishikawash/</author_url>
  <blog_title>ishikawashの学習ノート</blog_title>
  <blog_url>https://ishikawash.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>Template Metaprograms 前回に引き続いて再びC++Reportから。今度はテンプレートメタプログラミング（TMP）の記事を読んでみた。TMPとは、簡単にいうと、テンプレートを特殊化するプロセスを応用してコンパイルと同時に実行結果を生成するテクニックといっていいのだろうか。コンパイラをあたかもインタプリタのように振る舞わせることで、通常のマクロ展開よりも遥かに強力なプリプロセッサ機能を利用できるようになる。 TMPでは条件分岐やループなどの制御構造をテンプレートの特殊化と再帰呼び出しで表現する。この意味においてTMPは関数型言語と良く似てるといえるかもしれない。例えば、ユーク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fishikawash.hatenadiary.org%2Fentry%2F20090228%2F1235840351&quot; title=&quot; TMP : Template Meta Programming - ishikawashの学習ノート&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>2009-02-28 01:59:11</published>
  <title> TMP : Template Meta Programming</title>
  <type>rich</type>
  <url>https://ishikawash.hatenadiary.org/entry/20090228/1235840351</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
