{"type":"rich","author_url":"https://blog.hatena.ne.jp/yohhoy/","height":"190","provider_url":"https://hatena.blog","author_name":"yohhoy","width":"100%","title":"\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u89e3\u6c7a\u306e\u512a\u5148\u9806\u4f4d\u5236\u5fa1","blog_url":"https://yohhoy.hatenadiary.jp/","blog_title":"yohhoy\u306e\u65e5\u8a18","categories":["C++"],"published":"2019-04-20 00:00:00","url":"https://yohhoy.hatenadiary.jp/entry/20190420/p1","provider_name":"Hatena Blog","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC++\u306b\u304a\u3051\u308b\u95a2\u6570\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u306b\u304a\u3044\u3066\u3001SFINAE\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u89e3\u6c7a\u306e\u512a\u5148\u9806\u3092\u5236\u5fa1\u3059\u308b\u30c6\u30af\u30cb\u30c3\u30af\u3002 \u9078\u629e\u5019\u88dc\u304c2\u500b\u306e\u30b1\u30fc\u30b9 2\u3064\u306e\u578bT, U\u306b\u5bfe\u3057\u3066\u30011) \u6f14\u7b97 T / U \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308c\u3070\u540c\u6f14\u7b97\u5b50\u3092\u30012) \u305d\u3046\u3067\u306a\u3051\u308c\u3070 T * (1/U) \u3092\u9078\u629e\u3059\u308b\u30b1\u30fc\u30b9\u3092\u8003\u3048\u308b\u3002*1 // \u5b9f\u88c5\u95a2\u6570 \u7b2c1\u5019\u88dc template <typename T, typename U> auto f_impl(T a, U b, int) -> decltype(a / b) { return a / b; } // \u5b9f\u88c5\u95a2\u6570 \u7b2c2\u5019\u88dc template <ty\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20190420%2Fp1\" title=\"\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u89e3\u6c7a\u306e\u512a\u5148\u9806\u4f4d\u5236\u5fa1 - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0"}