0_0_38662111_17253.cpp: In function 'int line_cross_line(Line, Line)':
0_0_38662111_17253.cpp:175:33: error: reference to 'relation' is ambiguous
175 | if (parallel (a, v)) return relation (a.e, v) == 3;
| ^~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/compare:37,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:65,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:365:13: note: candidates are: 'template<class _Rel, class _Tp, class _Up> concept std::relation'
365 | concept relation
| ^~~~~~~~
0_0_38662111_17253.cpp:134:5: note: 'int relation(Point, Line)'
134 | int relation (Point p, Line l) {//点和直线的关系
| ^~~~~~~~
0_0_38662111_17253.cpp: In function 'int circle_intersection(Circle, Circle, Point&, Point&)':
0_0_38662111_17253.cpp:283:15: error: reference to 'relation' is ambiguous
283 | int rel = relation (a, v);
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:365:13: note: candidates are: 'template<class _Rel, class _Tp, class _Up> concept std::relation'
365 | concept relation
| ^~~~~~~~
0_0_38662111_17253.cpp:249:5: note: 'int relation(Circle, Circle)'
249 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_38662111_17253.cpp:242:5: note: 'int relation(Line, Circle)'
242 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:235:5: note: 'int relation(Point, Circle)'
235 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:134:5: note: 'int relation(Point, Line)'
134 | int relation (Point p, Line l) {//点和直线的关系
| ^~~~~~~~
0_0_38662111_17253.cpp: In function 'int line_cirlce_intersection(Line, Circle, Point&, Point&)':
0_0_38662111_17253.cpp:298:10: error: reference to 'relation' is ambiguous
298 | if (!relation (v, u)) return 0;
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:365:13: note: candidates are: 'template<class _Rel, class _Tp, class _Up> concept std::relation'
365 | concept relation
| ^~~~~~~~
0_0_38662111_17253.cpp:249:5: note: 'int relation(Circle, Circle)'
249 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_38662111_17253.cpp:242:5: note: 'int relation(Line, Circle)'
242 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:235:5: note: 'int relation(Point, Circle)'
235 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:134:5: note: 'int relation(Point, Line)'
134 | int relation (Point p, Line l) {//点和直线的关系
| ^~~~~~~~
0_0_38662111_17253.cpp: In function 'int tan_line(Point, Circle, Line&, Line&)':
0_0_38662111_17253.cpp:368:13: error: reference to 'relation' is ambiguous
368 | int x = relation (q, a);
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:365:13: note: candidates are: 'template<class _Rel, class _Tp, class _Up> concept std::relation'
365 | concept relation
| ^~~~~~~~
0_0_38662111_17253.cpp:249:5: note: 'int relation(Circle, Circle)'
249 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_38662111_17253.cpp:242:5: note: 'int relation(Line, Circle)'
242 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:235:5: note: 'int relation(Point, Circle)'
235 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:134:5: note: 'int relation(Point, Line)'
134 | int relation (Point p, Line l) {//点和直线的关系
| ^~~~~~~~
0_0_38662111_17253.cpp: In function 'double area_circle(Circle, Circle)':
0_0_38662111_17253.cpp:384:15: error: reference to 'relation' is ambiguous
384 | int rel = relation (a, v);
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:365:13: note: candidates are: 'template<class _Rel, class _Tp, class _Up> concept std::relation'
365 | concept relation
| ^~~~~~~~
0_0_38662111_17253.cpp:249:5: note: 'int relation(Circle, Circle)'
249 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_38662111_17253.cpp:242:5: note: 'int relation(Line, Circle)'
242 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:235:5: note: 'int relation(Point, Circle)'
235 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:134:5: note: 'int relation(Point, Line)'
134 | int relation (Point p, Line l) {//点和直线的关系
| ^~~~~~~~
0_0_38662111_17253.cpp: In function 'double circle_traingle_area(Point, Point, Circle)':
0_0_38662111_17253.cpp:415:13: error: reference to 'relation' is ambiguous
415 | if (relation (q[i], c) == 0 || relation (q[i+1], c) == 0) {
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:365:13: note: candidates are: 'template<class _Rel, class _Tp, class _Up> concept std::relation'
365 | concept relation
| ^~~~~~~~
0_0_38662111_17253.cpp:249:5: note: 'int relation(Circle, Circle)'
249 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_38662111_17253.cpp:242:5: note: 'int relation(Line, Circle)'
242 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:235:5: note: 'int relation(Point, Circle)'
235 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:134:5: note: 'int relation(Point, Line)'
134 | int relation (Point p, Line l) {//点和直线的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:415:40: error: reference to 'relation' is ambiguous
415 | if (relation (q[i], c) == 0 || relation (q[i+1], c) == 0) {
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:365:13: note: candidates are: 'template<class _Rel, class _Tp, class _Up> concept std::relation'
365 | concept relation
| ^~~~~~~~
0_0_38662111_17253.cpp:249:5: note: 'int relation(Circle, Circle)'
249 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_38662111_17253.cpp:242:5: note: 'int relation(Line, Circle)'
242 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:235:5: note: 'int relation(Point, Circle)'
235 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_38662111_17253.cpp:134:5: note: 'int relation(Point, Line)'
134 | int relation (Point p, Line l) {//点和直线的关系
| ^~~~~~~~
|