<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Clang</anon>
  </categories>
  <description>Clangには、__has_include()という特殊なプリプロセス時判定機能があるようです。 // &lt;atomic&gt;ヘッダを持っているかチェックする #if defined( __clang__ ) #if __has_include( &lt;atomic&gt; ) // ... #endif #endif Clangは、使用する標準ライブラリを切り替えられることもあって、コンパイラがClangであることと、コンパイラバージョンだけでは、ライブラリの機能が使えるかどうかわかりません。そういった状況でこの機能が有効なようです。 GCCでも話は出ているようです。 __has_include() mac…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20130523%2F1369296048&quot; title=&quot; ヘッダファイルが存在するかどうかをチェックする(Clang) - Faith and Brave - C++で遊ぼう&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>2013-05-23 17:00:48</published>
  <title> ヘッダファイルが存在するかどうかをチェックする(Clang)</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20130523/1369296048</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
