{"width":"100%","blog_title":"\u306f\u3084\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306a\u308a\u305f\u3044","provider_url":"https://hatena.blog","version":"1.0","type":"rich","description":"\u4f8b\u3048\u3070\u30e6\u30fc\u30b6\u540d\uff0cE\u30e1\u30fc\u30eb\uff0cID\u306e3\u3064\u306e\u5024\u3092\u4e00\u6c17\u306b\u8fd4\u3057\u305f\u3044\u3068\u304d\uff0cC++ \u3067\u306f std::tuple \u304c\u4f7f\u3048\u307e\u3059\uff0e #include <string> #include <tuple> using std::operator\"\"s; auto get_user() { // std::tuple<std::string, std::string, int> return std::make_tuple(\"Linda\"s, \"foo@bar.com\"s, 17); // name, email, id } // ... auto const user = get_user(); std::get<0\u2026","height":"190","title":" \u7121\u540d\u69cb\u9020\u4f53\u3092\u540d\u524d\u4ed8\u304d tuple \u3068\u3057\u3066\u4f7f\u3046","url":"https://rhysd.hatenablog.com/entry/2015/03/05/172720","published":"2015-03-05 17:27:20","blog_url":"https://rhysd.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frhysd.hatenablog.com%2Fentry%2F2015%2F03%2F05%2F172720\" title=\" \u7121\u540d\u69cb\u9020\u4f53\u3092\u540d\u524d\u4ed8\u304d tuple \u3068\u3057\u3066\u4f7f\u3046 - \u306f\u3084\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306a\u308a\u305f\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"categories":["C++"],"author_url":"https://blog.hatena.ne.jp/rhysd/","provider_name":"Hatena Blog","author_name":"rhysd"}