F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:60,
                 from 0_0_19533625_31208.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h: In instantiation of 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = point; _Args = {}]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_uninitialized.h:515:43:   required from 'static void std::__uninitialized_default_n_1<_TrivialValueType>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = point*; _Size = long long unsigned int; bool _TrivialValueType = false]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_uninitialized.h:570:33:   required from 'void std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = point*; _Size = long long unsigned int]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_uninitialized.h:631:50:   required from 'void std::__uninitialized_default_n_a(_ForwardIterator, _Size, std::allocator<_Tp>&) [with _ForwardIterator = point*; _Size = long long unsigned int; _Tp = point]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:549:39:   required from 'void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = point; _Alloc = std::allocator<point>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:676:41:   required from 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = point; _Alloc = std::allocator<point>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int]'
0_0_19533625_31208.cpp:74:13:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:75:7: error: no matching function for call to 'point::point()'
     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:75:7: note: candidates are:
0_0_19533625_31208.cpp:31:5: note: point::point(double, double)
     point(double x,double y):x(x),y(y){}
     ^
0_0_19533625_31208.cpp:31:5: note:   candidate expects 2 arguments, 0 provided
0_0_19533625_31208.cpp:29:8: note: constexpr point::point(const point&)
 struct point{
        ^
0_0_19533625_31208.cpp:29:8: note:   candidate expects 1 argument, 0 provided
0_0_19533625_31208.cpp:29:8: note: constexpr point::point(point&&)
0_0_19533625_31208.cpp:29:8: note:   candidate expects 1 argument, 0 provided


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 18:14:30, Gzip enabled