{"author_url":"https://blog.hatena.ne.jp/yohhoy/","categories":["C++","C++2c"],"image_url":null,"published":"2026-03-07 00:00:00","type":"rich","url":"https://yohhoy.hatenadiary.jp/entry/20260307/p1","blog_url":"https://yohhoy.hatenadiary.jp/","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC++\u306b\u304a\u3044\u3066\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u30d1\u30c3\u30af(template parameter pack)\u304b\u3089\u30a4\u30f3\u30c7\u30af\u30b9\u6307\u5b9a\u3067\u578b(type)\u3092\u9078\u629e\u3059\u308b\u65b9\u6cd5\u3002C++2c(C++26)\u4ee5\u964d\u3067\u306f\u76f4\u63a5\u7684\u306a\u8a18\u8ff0\u304c\u53ef\u80fd\u3068\u306a\u308b\u3002 #include <tuple> // C++11 template <std::size_t Idx, typename... Ts> using Selector = typename std::tuple_element<Idx, std::tuple<Ts...>>::type; // C++14 template <std::size_t Idx, typename\u2026","version":"1.0","title":"\u578b\u30d1\u30c3\u30af\u304b\u3089\u306e\u30a4\u30f3\u30c7\u30af\u30b9\u6307\u5b9a","height":"190","width":"100%","provider_name":"Hatena Blog","author_name":"yohhoy","blog_title":"yohhoy\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20260307%2Fp1\" title=\"\u578b\u30d1\u30c3\u30af\u304b\u3089\u306e\u30a4\u30f3\u30c7\u30af\u30b9\u6307\u5b9a - 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>"}