<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rhysd</author_name>
  <author_url>https://blog.hatena.ne.jp/rhysd/</author_url>
  <blog_title>はやくプログラムになりたい</blog_title>
  <blog_url>https://rhysd.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>例えばユーザ名，Eメール，IDの3つの値を一気に返したいとき，C++ では std::tuple が使えます． #include &lt;string&gt; #include &lt;tuple&gt; using std::operator&quot;&quot;s; auto get_user() { // std::tuple&lt;std::string, std::string, int&gt; return std::make_tuple(&quot;Linda&quot;s, &quot;foo@bar.com&quot;s, 17); // name, email, id } // ... auto const user = get_user(); std::get&lt;0…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frhysd.hatenablog.com%2Fentry%2F2015%2F03%2F05%2F172720&quot; title=&quot; 無名構造体を名前付き tuple として使う - はやくプログラムになりたい&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-03-05 17:27:20</published>
  <title> 無名構造体を名前付き tuple として使う</title>
  <type>rich</type>
  <url>https://rhysd.hatenablog.com/entry/2015/03/05/172720</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
