<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>DigitalGhost</author_name>
  <author_url>https://blog.hatena.ne.jp/DigitalGhost/</author_url>
  <blog_title>デ-mk6</blog_title>
  <blog_url>https://dechimal.hatenadiary.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Preprocessor</anon>
  </categories>
  <description>さて今回は代入です。とはいっても関数マクロを展開中に代入とかは無理です。なので、#defineで、プリプロセスシンボルに代入しましょう。 あともうかなりめんどいので超展開で話が進みます。 #define A 1 #define B A #undef A #define A 2 B 最後の行のBは、もちろん2になります。Bが展開されてAになり、Aが展開されて2になります。Bが定義されたときのAの定義なんて知ったこっちゃありません。Bを展開しようとしたときの定義が重要です。 しかし私はBを展開すると1になるようにしたいのです。なんで？世の中には大きく分けて二つの行動があります。理由のある行動と、な…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdechimal.hatenadiary.com%2Fentry%2F20090720%2F1248112453&quot; title=&quot;プリプロセッサで代入しましょう！ - デ-mk6&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-07-20 02:54:13</published>
  <title>プリプロセッサで代入しましょう！</title>
  <type>rich</type>
  <url>https://dechimal.hatenadiary.com/entry/20090720/1248112453</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
