{"description":"C++\u306b\u304a\u3044\u3066\u30bf\u30d7\u30eb\u578b\u306b\u683c\u7d0d\u3055\u308c\u305f\u53ef\u5909\u500b\u306e\u5024\u3092\u3001\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e\u5b9f\u5f15\u6570\u306a\u3069\u306b\u5c55\u958b\u3059\u308b\u30a4\u30c7\u30a3\u30aa\u30e0\u3002C++14\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306f\u540c\u30a4\u30c7\u30a3\u30aa\u30e0\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308bstd::index_sequence, std::make_index_sequence\u304c\u63d0\u4f9b\u3055\u308c\u308b\u3002 // C++14\u4ee5\u964d #include <utility> #include <tuple> template<typename... Ts> class Holder { std::tuple<Ts...> t_; public: Holder(Ts... args) // \u5f15\u6570args...\u3092\u30bf\u30d7\u30eb\u578btuple<Ts...>\u306b\u683c\u7d0d\u3059\u308b : \u2026","provider_url":"https://hatena.blog","author_name":"yohhoy","provider_name":"Hatena Blog","categories":["C++"],"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20150426%2Fp1\" title=\"index_tuple\u30a4\u30c7\u30a3\u30aa\u30e0 \u3082\u3057\u304f\u306f The Indices Trick - 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","blog_url":"https://yohhoy.hatenadiary.jp/","author_url":"https://blog.hatena.ne.jp/yohhoy/","blog_title":"yohhoy\u306e\u65e5\u8a18","title":"index_tuple\u30a4\u30c7\u30a3\u30aa\u30e0 \u3082\u3057\u304f\u306f The Indices Trick","width":"100%","type":"rich","url":"https://yohhoy.hatenadiary.jp/entry/20150426/p1","image_url":null,"published":"2015-04-26 00:00:00"}