c ++中元组的代码块错误

Codeblock error for tuple in c++

我在 Codeblocks (C++) 中编写了以下代码:

#include <bits/stdc++.h>
using namespace std;
int main(void)
{
    vector<int> v;
    tuple<int,int,int> t1 = make_tuple(1,2,3)
    tuple<char,int,double,int,long long int >t2;
    t2=make_tuple( 'a' , 2 , 2.3 , 1 , 10000 );
    cout<< get<2>t1 << " "<< get<0> t2;// will print 3 and 'a'
}

当我提示编译时,它显示了很多错误。一个错误是:

 no match for 'operator<<' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and '<unresolved overloaded function type>')|

谁能告诉我是什么原因?我是否缺少任何库文件?

get<x> y 必须是 get<x>(y).