<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moznion</author_name>
  <author_url>https://blog.hatena.ne.jp/moznion/</author_url>
  <blog_title>その手の平は尻もつかめるさ</blog_title>
  <blog_url>https://moznion.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>全く知らなかったのだけれど，C11の新機能として_Genericという組み込み関数が提供されていた． Generic selection - cppreference.com jameshfisher.comというのをこのブログを見て気づいたんですが， #include &lt;stdio.h&gt; int main() { char* x = &quot;foo&quot;; printf(&quot;Type of x is: %s\n&quot;, _Generic(x, char*: &quot;string&quot;, int: &quot;int&quot;)); return 0; } これは完全に動くコード (最初よく文章を読んでなくて，大方擬似コードだろうと侮っ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoznion.hatenadiary.com%2Fentry%2F2018%2F05%2F16%2F103049&quot; title=&quot;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>2018-05-16 10:30:49</published>
  <title>C言語のジェネリクスサポート</title>
  <type>rich</type>
  <url>https://moznion.hatenadiary.com/entry/2018/05/16/103049</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
