title: How to access .second in std::pair with std::variant?
body: <p>I'm using MinGW64 with GCC 7.5.0 that enables C++17 on Dev C++ 5.11 on Windows 7.</p>
  
  <p>Now how to access <code>.second</code> in the following <code>pair</code>?</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;vector&gt;
  #include &lt;variant&gt;
  using namespace std;
  int main()
  {
      vector&lt;pair&lt;char,variant&lt;bool,int,string&gt;&gt;&gt; x;
      x.push_back(make_pair('i',5));
      cout&lt;&lt;x[0].first; //ok
      cout&lt;&lt;x[0].second; //error: no match for 'operator&lt;&lt;'
  }
  </code></pre>