<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nevil</author_name>
  <author_url>https://blog.hatena.ne.jp/nevil/</author_url>
  <blog_title>nevil diary</blog_title>
  <blog_url>https://nevil.hatenadiary.org/</blog_url>
  <categories>
    <anon>Programming</anon>
  </categories>
  <description>ふくしゅう。 http://exe.adam.ne.jp/j/tmfd.html から。 template &lt;int x&gt; struct Square { enum { value = x * x}; }; int main() { std::cout &lt;&lt; Square::&lt;16&gt;::value &lt;&lt; std::endl; }このコードだと実行時に計算が行われず、コンパイル時に計算される。マクロだと思えば良い。これを「定数の畳み込み」というらしい。次、「ループ展開」。お題はビットフラグ。順に #define BIT_ONE 0x0001 #define BIT_TWO 0x0002 #def…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnevil.hatenadiary.org%2Fentry%2F20050417%2Fp1&quot; title=&quot; C++ - nevil 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-04-17 00:00:00</published>
  <title> C++</title>
  <type>rich</type>
  <url>https://nevil.hatenadiary.org/entry/20050417/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
