I'm using MinGW64 with GCC 7.5.0 that enables C++17 on Dev C++ 5.11 on Windows 7.

Now how to access `.second` in the following `pair`?

```
#include <iostream>
#include <vector>
#include <variant>
using namespace std;
int main()
{
    vector<pair<char,variant<bool,int,string>>> x;
    x.push_back(make_pair('i',5));
    cout<<x[0].first; //ok
    cout<<x[0].second; //error: no match for 'operator<<'
}

```