0_0_30098358_16789.cpp: In member function 'point point::operator+(const point&) const':
0_0_30098358_16789.cpp:22:74: error: no matching function for call to 'point::point(<brace-enclosed initializer list>)'
point operator + (const point &k1) const{return (point){k1.x+x,k1.y+y};}
^
0_0_30098358_16789.cpp:22:74: note: candidates are:
0_0_30098358_16789.cpp:19:8: note: point::point()
struct point{
^
0_0_30098358_16789.cpp:19:8: note: candidate expects 0 arguments, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(const point&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(point&&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp: In member function 'point point::operator-(const point&) const':
0_0_30098358_16789.cpp:23:74: error: no matching function for call to 'point::point(<brace-enclosed initializer list>)'
point operator - (const point &k1) const{return (point){x-k1.x,y-k1.y};}
^
0_0_30098358_16789.cpp:23:74: note: candidates are:
0_0_30098358_16789.cpp:19:8: note: point::point()
struct point{
^
0_0_30098358_16789.cpp:19:8: note: candidate expects 0 arguments, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(const point&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(point&&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp: In member function 'point point::operator*(db) const':
0_0_30098358_16789.cpp:24:60: error: no matching function for call to 'point::point(<brace-enclosed initializer list>)'
point operator * (db k1) const{return (point){x*k1,y*k1};}
^
0_0_30098358_16789.cpp:24:60: note: candidates are:
0_0_30098358_16789.cpp:19:8: note: point::point()
struct point{
^
0_0_30098358_16789.cpp:19:8: note: candidate expects 0 arguments, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(const point&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(point&&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp: In member function 'point point::operator/(db) const':
0_0_30098358_16789.cpp:25:60: error: no matching function for call to 'point::point(<brace-enclosed initializer list>)'
point operator / (db k1) const{return (point){x/k1,y/k1};}
^
0_0_30098358_16789.cpp:25:60: note: candidates are:
0_0_30098358_16789.cpp:19:8: note: point::point()
struct point{
^
0_0_30098358_16789.cpp:19:8: note: candidate expects 0 arguments, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(const point&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(point&&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp: In member function 'point point::turn(db)':
0_0_30098358_16789.cpp:28:77: error: no matching function for call to 'point::point(<brace-enclosed initializer list>)'
point turn(db k1){return (point){x*cos(k1)-y*sin(k1),x*sin(k1)+y*cos(k1)};}
^
0_0_30098358_16789.cpp:28:77: note: candidates are:
0_0_30098358_16789.cpp:19:8: note: point::point()
struct point{
^
0_0_30098358_16789.cpp:19:8: note: candidate expects 0 arguments, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(const point&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(point&&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp: In member function 'point point::turn90()':
0_0_30098358_16789.cpp:29:39: error: no matching function for call to 'point::point(<brace-enclosed initializer list>)'
point turn90(){return (point){-y,x};}
^
0_0_30098358_16789.cpp:29:39: note: candidates are:
0_0_30098358_16789.cpp:19:8: note: point::point()
struct point{
^
0_0_30098358_16789.cpp:19:8: note: candidate expects 0 arguments, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(const point&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(point&&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp: In member function 'point point::unit()':
0_0_30098358_16789.cpp:37:52: error: no matching function for call to 'point::point(<brace-enclosed initializer list>)'
point unit(){db w=abs(); return (point){x/w,y/w};}
^
0_0_30098358_16789.cpp:37:52: note: candidates are:
0_0_30098358_16789.cpp:19:8: note: point::point()
struct point{
^
0_0_30098358_16789.cpp:19:8: note: candidate expects 0 arguments, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(const point&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp:19:8: note: constexpr point::point(point&&)
0_0_30098358_16789.cpp:19:8: note: candidate expects 1 argument, 2 provided
0_0_30098358_16789.cpp: In function 'int main()':
0_0_30098358_16789.cpp:182:29: error: no matching function for call to 'std::vector<circle>::push_back(<brace-enclosed initializer list>)'
szc.pb({{x,y},r});
^
0_0_30098358_16789.cpp:182:29: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_30098358_16789.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:913:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = circle; _Alloc = std::allocator<circle>; std::vector<_Tp, _Alloc>::value_type = circle]
push_back(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:913:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type& {aka const circle&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:931:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = circle; _Alloc = std::allocator<circle>; std::vector<_Tp, _Alloc>::value_type = circle]
push_back(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:931:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<circle>::value_type&& {aka circle&&}'
0_0_30098358_16789.cpp:188:25: error: no matching function for call to 'std::vector<point>::push_back(<brace-enclosed initializer list>)'
szp.pb({x,y});
^
0_0_30098358_16789.cpp:188:25: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_30098358_16789.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:913:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = point; _Alloc = std::allocator<point>; std::vector<_Tp, _Alloc>::value_type = point]
push_back(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:913:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type& {aka const point&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:931:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = point; _Alloc = std::allocator<point>; std::vector<_Tp, _Alloc>::value_type = point]
push_back(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:931:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<point>::value_type&& {aka point&&}'
|