{"categories":["C++"],"author_url":"https://blog.hatena.ne.jp/osyo-manga/","author_name":"osyo-manga","image_url":null,"type":"rich","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2018%2F03%2F05%2F233325\" title=\"C++ \u3067 std::tuple \u3092\u4f7f\u3063\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u6bd4\u8f03\u3059\u308b - Secret Garden(Instrumental)\" 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%","provider_url":"https://hatena.blog","url":"https://secret-garden.hatenablog.com/entry/2018/03/05/233325","version":"1.0","published":"2018-03-05 23:33:25","blog_title":"Secret Garden(Instrumental)","provider_name":"Hatena Blog","title":"C++ \u3067 std::tuple \u3092\u4f7f\u3063\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u6bd4\u8f03\u3059\u308b","description":"\u5143\u30cd\u30bf\uff1aC++ \u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5 - \u30a4\u30cd\u30de\u30eb\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5099\u5fd8\u9332 #include <tuple> #include <iostream> int main(){ // \u9069\u5f53\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u30c7\u30fc\u30bf auto appA = std::tuple{ 2, 0, 101, 2 }; auto appB = std::tuple{ 2, 0, 100, 3 }; // C++11 \u3067\u4f7f\u3044\u305f\u3044\u306a\u3089 std::make_tuple \u3092\u4f7f\u3046 // auto appA = std::make_tuple(2, 0, 101, 2); // auto appB = std::make_tuple(2\u2026","blog_url":"https://secret-garden.hatenablog.com/"}