0_0_33193843_13151.cpp: In function 'int main()':
0_0_33193843_13151.cpp:77:29: error: no matching function for call to 'node::node(int&, int&)'
adj[a].push_back(node(b,c));
^
0_0_33193843_13151.cpp:77:29: note: candidates are:
0_0_33193843_13151.cpp:6:8: note: node::node()
struct node{
^
0_0_33193843_13151.cpp:6:8: note: candidate expects 0 arguments, 2 provided
0_0_33193843_13151.cpp:6:8: note: constexpr node::node(const node&)
0_0_33193843_13151.cpp:6:8: note: candidate expects 1 argument, 2 provided
0_0_33193843_13151.cpp:6:8: note: constexpr node::node(node&&)
0_0_33193843_13151.cpp:6:8: note: candidate expects 1 argument, 2 provided
0_0_33193843_13151.cpp:78:29: error: no matching function for call to 'node::node(int&, int&)'
adj[b].push_back(node(a,c));
^
0_0_33193843_13151.cpp:78:29: note: candidates are:
0_0_33193843_13151.cpp:6:8: note: node::node()
struct node{
^
0_0_33193843_13151.cpp:6:8: note: candidate expects 0 arguments, 2 provided
0_0_33193843_13151.cpp:6:8: note: constexpr node::node(const node&)
0_0_33193843_13151.cpp:6:8: note: candidate expects 1 argument, 2 provided
0_0_33193843_13151.cpp:6:8: note: constexpr node::node(node&&)
0_0_33193843_13151.cpp:6:8: note: candidate expects 1 argument, 2 provided
|