{"provider_url":"https://hatena.blog","type":"rich","published":"2018-05-16 10:30:49","width":"100%","url":"https://moznion.hatenadiary.com/entry/2018/05/16/103049","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoznion.hatenadiary.com%2Fentry%2F2018%2F05%2F16%2F103049\" title=\"C\u8a00\u8a9e\u306e\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u30b5\u30dd\u30fc\u30c8 - \u305d\u306e\u624b\u306e\u5e73\u306f\u5c3b\u3082\u3064\u304b\u3081\u308b\u3055\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"title":"C\u8a00\u8a9e\u306e\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u30b5\u30dd\u30fc\u30c8","provider_name":"Hatena Blog","height":"190","blog_title":"\u305d\u306e\u624b\u306e\u5e73\u306f\u5c3b\u3082\u3064\u304b\u3081\u308b\u3055","blog_url":"https://moznion.hatenadiary.com/","categories":[],"author_url":"https://blog.hatena.ne.jp/moznion/","version":"1.0","author_name":"moznion","description":"\u5168\u304f\u77e5\u3089\u306a\u304b\u3063\u305f\u306e\u3060\u3051\u308c\u3069\uff0cC11\u306e\u65b0\u6a5f\u80fd\u3068\u3057\u3066_Generic\u3068\u3044\u3046\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f\uff0e Generic selection - cppreference.com jameshfisher.com\u3068\u3044\u3046\u306e\u3092\u3053\u306e\u30d6\u30ed\u30b0\u3092\u898b\u3066\u6c17\u3065\u3044\u305f\u3093\u3067\u3059\u304c\uff0c #include <stdio.h> int main() { char* x = \"foo\"; printf(\"Type of x is: %s\\n\", _Generic(x, char*: \"string\", int: \"int\")); return 0; } \u3053\u308c\u306f\u5b8c\u5168\u306b\u52d5\u304f\u30b3\u30fc\u30c9 (\u6700\u521d\u3088\u304f\u6587\u7ae0\u3092\u8aad\u3093\u3067\u306a\u304f\u3066\uff0c\u5927\u65b9\u64ec\u4f3c\u30b3\u30fc\u30c9\u3060\u308d\u3046\u3068\u4fae\u3063\u2026"}