0_0_38109287_24349.cpp: In member function 'std::tuple<int, Circle, line<long double> > Circle::inverse(const Line&) const':
0_0_38109287_24349.cpp:432:47: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int, const Circle&, const line<long double>&}; <template-parameter-2-2> = void; _Elements = {int, Circle, line<long double>}]'
if (l.toleft(c)==0) return {2,null_c,l};
^
0_0_38109287_24349.cpp:436:39: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
return {1,{(c+p)/2,d/2},null_l};
^
0_0_38109287_24349.cpp: In member function 'std::tuple<int, Circle, line<long double> > Circle::inverse(const Circle&) const':
0_0_38109287_24349.cpp:448:44: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
return {2,null_c,{p,{-v.y,v.x}}};
^
0_0_38109287_24349.cpp:450:49: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
if (c==a.c) return {1,{c,r*r/a.r},null_l};
^
0_0_38109287_24349.cpp:453:46: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
return {1,{(p+q)/2,p.dis(q)/2},null_l};
^
0_0_38109287_24349.cpp: In function 'Convex convexhull(std::vector<point<long double> >)':
0_0_38109287_24349.cpp:513:36: error: no matching function for call to 'convex<long double>::convex(<brace-enclosed initializer list>)'
if (p.empty()) return Convex{st};
^
0_0_38109287_24349.cpp:513:36: note: candidates are:
0_0_38109287_24349.cpp:181:29: note: convex<long double>::convex()
template<typename T> struct convex: polygon<T>
^
0_0_38109287_24349.cpp:181:29: note: candidate expects 0 arguments, 1 provided
0_0_38109287_24349.cpp:181:29: note: convex<long double>::convex(const convex<long double>&)
0_0_38109287_24349.cpp:181:29: note: no known conversion for argument 1 from 'std::vector<point<long double> >' to 'const convex<long double>&'
0_0_38109287_24349.cpp:181:29: note: convex<long double>::convex(convex<long double>&&)
0_0_38109287_24349.cpp:181:29: note: no known conversion for argument 1 from 'std::vector<point<long double> >' to 'convex<long double>&&'
0_0_38109287_24349.cpp:533:21: error: no matching function for call to 'convex<long double>::convex(<brace-enclosed initializer list>)'
return Convex{st};
^
0_0_38109287_24349.cpp:533:21: note: candidates are:
0_0_38109287_24349.cpp:181:29: note: convex<long double>::convex()
template<typename T> struct convex: polygon<T>
^
0_0_38109287_24349.cpp:181:29: note: candidate expects 0 arguments, 1 provided
0_0_38109287_24349.cpp:181:29: note: convex<long double>::convex(const convex<long double>&)
0_0_38109287_24349.cpp:181:29: note: no known conversion for argument 1 from 'std::vector<point<long double> >' to 'const convex<long double>&'
0_0_38109287_24349.cpp:181:29: note: convex<long double>::convex(convex<long double>&&)
0_0_38109287_24349.cpp:181:29: note: no known conversion for argument 1 from 'std::vector<point<long double> >' to 'convex<long double>&&'
0_0_38109287_24349.cpp: In function 'std::pair<long double, long double> minmax_triangle(const std::vector<point<long double> >&)':
0_0_38109287_24349.cpp:592:15: error: expected unqualified-id before '[' token
for (auto [u,v]:evt)
^
0_0_38109287_24349.cpp:592:15: error: expected ';' before '[' token
0_0_38109287_24349.cpp:592:16: error: 'u' was not declared in this scope
for (auto [u,v]:evt)
^
0_0_38109287_24349.cpp:592:18: error: 'v' was not declared in this scope
for (auto [u,v]:evt)
^
0_0_38109287_24349.cpp: In lambda function:
0_0_38109287_24349.cpp:592:20: error: expected '{' before ':' token
for (auto [u,v]:evt)
^
0_0_38109287_24349.cpp: In function 'std::pair<long double, long double> minmax_triangle(const std::vector<point<long double> >&)':
0_0_38109287_24349.cpp:592:20: error: expected ';' before ':' token
0_0_38109287_24349.cpp:592:20: error: expected primary-expression before ':' token
0_0_38109287_24349.cpp:592:20: error: expected ')' before ':' token
0_0_38109287_24349.cpp:592:20: error: expected primary-expression before ':' token
0_0_38109287_24349.cpp: In lambda function:
0_0_38109287_24349.cpp:613:20: error: expected unqualified-id before '[' token
const auto [u0,u1,u2]=u;
^
0_0_38109287_24349.cpp:614:20: error: expected unqualified-id before '[' token
const auto [v0,v1,v2]=v;
^
0_0_38109287_24349.cpp:615:17: error: 'u0' was not declared in this scope
if (abs(u0-v0)<=eps) return make_pair(u1,u2)<make_pair(v1,v2);
^
0_0_38109287_24349.cpp:615:20: error: 'v0' was not declared in this scope
if (abs(u0-v0)<=eps) return make_pair(u1,u2)<make_pair(v1,v2);
^
0_0_38109287_24349.cpp:615:47: error: 'u1' was not declared in this scope
if (abs(u0-v0)<=eps) return make_pair(u1,u2)<make_pair(v1,v2);
^
0_0_38109287_24349.cpp:615:50: error: 'u2' was not declared in this scope
if (abs(u0-v0)<=eps) return make_pair(u1,u2)<make_pair(v1,v2);
^
0_0_38109287_24349.cpp:615:64: error: 'v1' was not declared in this scope
if (abs(u0-v0)<=eps) return make_pair(u1,u2)<make_pair(v1,v2);
^
0_0_38109287_24349.cpp:615:67: error: 'v2' was not declared in this scope
if (abs(u0-v0)<=eps) return make_pair(u1,u2)<make_pair(v1,v2);
^
0_0_38109287_24349.cpp:616:16: error: 'u0' was not declared in this scope
return u0<v0-eps;
^
0_0_38109287_24349.cpp:616:19: error: 'v0' was not declared in this scope
return u0<v0-eps;
^
0_0_38109287_24349.cpp: In function 'bool segs_inter(const std::vector<segment<long double> >&)':
0_0_38109287_24349.cpp:622:38: error: converting to 'std::vector<std::tuple<long double, int, segment<long double> > >::value_type {aka std::tuple<long double, int, segment<long double> >}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long double&, int, segment<long double>&}; <template-parameter-2-2> = void; _Elements = {long double, int, segment<long double>}]'
seq.push_back({seg.a.x,0,seg});
^
0_0_38109287_24349.cpp:623:38: error: converting to 'std::vector<std::tuple<long double, int, segment<long double> > >::value_type {aka std::tuple<long double, int, segment<long double> >}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long double&, int, segment<long double>&}; <template-parameter-2-2> = void; _Elements = {long double, int, segment<long double>}]'
seq.push_back({seg.b.x,1,seg});
^
0_0_38109287_24349.cpp:633:21: error: expected unqualified-id before '[' token
for (const auto [x,o,seg]:seq)
^
0_0_38109287_24349.cpp:633:21: error: expected ';' before '[' token
0_0_38109287_24349.cpp:633:22: error: 'x' was not declared in this scope
for (const auto [x,o,seg]:seq)
^
0_0_38109287_24349.cpp:633:24: error: 'o' was not declared in this scope
for (const auto [x,o,seg]:seq)
^
0_0_38109287_24349.cpp:633:26: error: 'seg' was not declared in this scope
for (const auto [x,o,seg]:seq)
^
0_0_38109287_24349.cpp: In lambda function:
0_0_38109287_24349.cpp:633:30: error: expected '{' before ':' token
for (const auto [x,o,seg]:seq)
^
0_0_38109287_24349.cpp: In function 'bool segs_inter(const std::vector<segment<long double> >&)':
0_0_38109287_24349.cpp:633:30: error: expected ';' before ':' token
0_0_38109287_24349.cpp:633:30: error: expected primary-expression before ':' token
0_0_38109287_24349.cpp:633:30: error: expected ')' before ':' token
0_0_38109287_24349.cpp:633:30: error: expected primary-expression before ':' token
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x8
|