std::tuple tup1("first tuple",3,4.17); std::tuple tup2= std::make_tuple("second tuple",4,1.1); std::vector < std::tuple > tupVec; tupVec.push_back(tup1); bool a= tup1 < tup2; std::string str= std::get<0>(tup1); std::get<0>(tup2)= "Second Tuple";