1 2 3 4 5 6 7 8
| test.cpp: In member function void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, std::vector<_Tp, _Alloc>::value_type) [with _Tp = Vertex, _Alloc = std::allocator<Vertex>, std::vector<_Tp, _Alloc>::size_type = unsigned int, std::vector<_Tp, _Alloc>::value_type = Vertex]:
test.cpp:15:11: erreur: no matching function for call to Vertex::Vertex()
test.cpp:15:11: note: candidates are:
test.cpp:8:2: note: Vertex::Vertex(double, double)
test.cpp:8:2: note: candidate expects 2 arguments, 0 provided
test.cpp:5:7: note: Vertex::Vertex(const Vertex&)
test.cpp:5:7: note: candidate expects 1 argument, 0 provided
[2]+ Fini eclipse test.cpp |