{"blog_url":"https://osyo-manga.hatenadiary.org/","published":"2011-12-27 20:19:47","image_url":null,"width":"100%","provider_url":"https://hatena.blog","description":"\u3068\u304b\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 [\u30bd\u30fc\u30b9] #include <iostream> #include <type_traits> template<typename ...Args> using common_type = typename std::common_type<Args...>::type; template< typename ...Args, typename CommonType = common_type<Args...> > void disp(Args&&... args){ for(auto&& n : { static_cast<CommonType>(args)...} \u2026","author_name":"osyo-manga","height":"190","url":"https://osyo-manga.hatenadiary.org/entry/20111227/1324984787","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","provider_name":"Hatena Blog","type":"rich","categories":["C++"],"title":"Variadic Templates \u304b\u3089 range-based for \u3078","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20111227%2F1324984787\" title=\"Variadic Templates \u304b\u3089 range-based for \u3078 - C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" 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","author_url":"https://blog.hatena.ne.jp/osyo-manga/"}