{"blog_url":"https://osyo-manga.hatenadiary.org/","author_url":"https://blog.hatena.ne.jp/osyo-manga/","author_name":"osyo-manga","provider_name":"Hatena Blog","url":"https://osyo-manga.hatenadiary.org/entry/20111227/1324984787","version":"1.0","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","provider_url":"https://hatena.blog","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>","width":"100%","title":"Variadic Templates \u304b\u3089 range-based for \u3078","image_url":null,"type":"rich","published":"2011-12-27 20:19:47","height":"190","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","categories":["C++"]}