2021年1月18日星期一

Eclipse C++ vector of tuple [closed]

I want to create a vector of tuples, but eclipse is giving me an invalid template argument error, symbol tuple could not be resolved. I tried importing tuple manually and the same error persists. How do I fix this? (vectors work fine on its own).

#include <bits/stdc++.h>  using namespace std;    int main()  {      vector<tuple<int,int,int>> edges;    }  
https://stackoverflow.com/questions/65784441/eclipse-c-vector-of-tuple January 19, 2021 at 09:43AM

没有评论:

发表评论