{"type":"rich","title":"std::tuple \u306f C++ \u306e \u8907\u6570\u306e\u7570\u306a\u308b\u578b\u306e\u5024\u3092\u3072\u3068\u307e\u3068\u3081\u306b\u3067\u304d\u308b\u30b3\u30f3\u30c6\u30ca map\u306e\u30ad\u30fc\u306b\u3044\u3044\u306d","categories":[],"provider_name":"Hatena Blog","height":"190","provider_url":"https://hatena.blog","blog_title":"shikaku's blog","author_name":"shikaku","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2025%2F04%2F19%2F120102\" title=\"std::tuple \u306f C++ \u306e \u8907\u6570\u306e\u7570\u306a\u308b\u578b\u306e\u5024\u3092\u3072\u3068\u307e\u3068\u3081\u306b\u3067\u304d\u308b\u30b3\u30f3\u30c6\u30ca map\u306e\u30ad\u30fc\u306b\u3044\u3044\u306d - shikaku&#39;s blog\" 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%","url":"https://blog.systemjp.net/entry/2025/04/19/120102","description":"std::tuple \u306f C++ \u306e \u8907\u6570\u306e\u7570\u306a\u308b\u578b\u306e\u5024\u3092\u3072\u3068\u307e\u3068\u3081\u306b\u3067\u304d\u308b\u30b3\u30f3\u30c6\u30ca\u3067\u3059\u3002\u3056\u3063\u304f\u308a\u8a00\u3046\u3068\uff1a std::tuple<int, std::string, double> myTuple = std::make_tuple(42, \"Hello\", 3.14);\u3053\u308c\u306f\u3001int, std::string, double \u306e 3\u3064\u306e\u8981\u7d20\u3092\u3072\u3068\u3064\u306b\u307e\u3068\u3081\u305f\u300c\u7bb1\u300d\u3067\u3059\u3002 \u57fa\u672c\u306e\u4f7f\u3044\u65b9 1. \u4f5c\u308b auto t = std::make_tuple(1, \"apple\", 3.14);2. \u53d6\u308a\u51fa\u3059 int i = std::get<0>(t); // 1 std::string s = std\u2026","version":"1.0","blog_url":"https://blog.systemjp.net/","published":"2025-04-19 12:01:02","image_url":null,"author_url":"https://blog.hatena.ne.jp/shikaku/"}