0_0_39814418_288.cpp: In function 'int circle_intersection(Circle, Circle, Point&, Point&)':
0_0_39814418_288.cpp:216:15: error: reference to 'relation' is ambiguous
216 | int rel = relation (a, v);
| ^~~~~~~~
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++/bits/specfun.h:43,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:3716,
from 0_0_39814418_288.cpp:2:
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_39814418_288.cpp:203:5: note: 'int relation(Circle, Circle)'
203 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_39814418_288.cpp:196:5: note: 'int relation(Line, Circle)'
196 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_39814418_288.cpp:189:5: note: 'int relation(Point, Circle)'
189 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_39814418_288.cpp: In function 'int line_cirlce_intersection(Line, Circle, Point&, Point&)':
0_0_39814418_288.cpp:231:10: error: reference to 'relation' is ambiguous
231 | 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_39814418_288.cpp:203:5: note: 'int relation(Circle, Circle)'
203 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_39814418_288.cpp:196:5: note: 'int relation(Line, Circle)'
196 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_39814418_288.cpp:189:5: note: 'int relation(Point, Circle)'
189 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_39814418_288.cpp: In function 'double circle_traingle_area(Point, Point, Circle)':
0_0_39814418_288.cpp:262:13: error: reference to 'relation' is ambiguous
262 | 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_39814418_288.cpp:203:5: note: 'int relation(Circle, Circle)'
203 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_39814418_288.cpp:196:5: note: 'int relation(Line, Circle)'
196 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_39814418_288.cpp:189:5: note: 'int relation(Point, Circle)'
189 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
0_0_39814418_288.cpp:262:40: error: reference to 'relation' is ambiguous
262 | 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_39814418_288.cpp:203:5: note: 'int relation(Circle, Circle)'
203 | int relation (Circle a, Circle v) {//两圆的位置关系
| ^~~~~~~~
0_0_39814418_288.cpp:196:5: note: 'int relation(Line, Circle)'
196 | int relation (Line a, Circle b) {//直线和圆的关系
| ^~~~~~~~
0_0_39814418_288.cpp:189:5: note: 'int relation(Point, Circle)'
189 | int relation (Point p, Circle a) {//点和圆的关系
| ^~~~~~~~
|