0_0_21126039_1404.cpp: In function 'int main()':
0_0_21126039_1404.cpp:28:11: error: no matching function for call to 'qnode::qnode()'
qnode q1;
^
0_0_21126039_1404.cpp:28:11: note: candidates are:
0_0_21126039_1404.cpp:14:5: note: qnode::qnode(int, int, int)
qnode(int a,int b,int c){
^
0_0_21126039_1404.cpp:14:5: note: candidate expects 3 arguments, 0 provided
0_0_21126039_1404.cpp:10:8: note: constexpr qnode::qnode(const qnode&)
struct qnode{
^
0_0_21126039_1404.cpp:10:8: note: candidate expects 1 argument, 0 provided
0_0_21126039_1404.cpp:10:8: note: constexpr qnode::qnode(qnode&&)
0_0_21126039_1404.cpp:10:8: note: candidate expects 1 argument, 0 provided
0_0_21126039_1404.cpp:40:39: error: no match for call to '(qnode) (int&, int&, int&)'
E[a].push_back(q1(b,d,cost));
^
0_0_21126039_1404.cpp:42:39: error: no match for call to '(qnode) (int&, int&, int&)'
E[b].push_back(q1(a,d,cost);
^
|