<?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>もう昔から散々言われている話題だと思いますが、ヘッダーファイルの循環参照に手を焼いています。相互に定義を参照するケースが増えた結果、前方宣言を忘れたために引き起こるコンパイルエラーが多発するようになり、ウザくてたまりません。エラーを解消するために、その都度、前方宣言を追加するのですが、ヘッダーファイルがだんだんと複雑になってくるのも気持ちが悪いです。 ちなみに、下の図は今開発しているレイトレーサーのヘッダーファイルからインクルードしているファイル名を正規表現で抜き出して、その参照関係をグラフ化したもの。最近は幾何データを扱うクラスが煩雑になってきたので、ここをどうにかしたいと考えています。 単…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fishikawash.hatenadiary.org%2Fentry%2F20080409%2F1207711494&quot; title=&quot;ヘッダーファイルの循環参照 - 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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/ishikawash/20080409/20080409122259.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-04-09 12:24:54</published>
  <title>ヘッダーファイルの循環参照</title>
  <type>rich</type>
  <url>https://ishikawash.hatenadiary.org/entry/20080409/1207711494</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
