I wanna have a set to store several graphs, and each graph has several dots, and each dot has its own coordinate. So here is my code:
unordered_set<vector<vector<int>> set;
vector<vector<int>> graph;
graph.push_back({1,1});
graph.push_back({2,2});
set.insert(graph);
Then the failure shows that set expect two arguments, but one provided. I know for this problem, it's better to build a data structure to store dots, and graphs. But I just wanna know why this cannot be achieved by a set?