0_0_17427721_13441.cpp: In function 'int main()':
0_0_17427721_13441.cpp:196:25: error: no matching function for call to 'line::line(point&, point)'
line l1(p1, p1 + force), insecpoints;
^
0_0_17427721_13441.cpp:196:25: note: candidates are:
0_0_17427721_13441.cpp:98:2: note: line::line(double, double, double)
line(double a, double b, double c) : s(point(0, -c / b)), e(point(-c / a, 0)) {}
^
0_0_17427721_13441.cpp:98:2: note: candidate expects 3 arguments, 2 provided
0_0_17427721_13441.cpp:97:2: note: line::line(point&, point&)
line(point &a, point &b) : s(a), e(b) {}
^
0_0_17427721_13441.cpp:97:2: note: no known conversion for argument 2 from 'point' to 'point&'
0_0_17427721_13441.cpp:96:2: note: line::line()
line() {}
^
0_0_17427721_13441.cpp:96:2: note: candidate expects 0 arguments, 2 provided
0_0_17427721_13441.cpp:92:16: note: constexpr line::line(const line&)
typedef struct line
^
0_0_17427721_13441.cpp:92:16: note: candidate expects 1 argument, 2 provided
0_0_17427721_13441.cpp:92:16: note: constexpr line::line(line&&)
0_0_17427721_13441.cpp:92:16: note: candidate expects 1 argument, 2 provided
|