Record Detail

Compile Error

/in/Rectangle.cpp: In member function 'bool Rectangle::isRect()':
/in/Rectangle.cpp:20:30: error: expected primary-expression before 'const'
         Rectangle::Rectangle(const vector<MyPoint> &v){
                              ^~~~~
/in/Rectangle.cpp:20:54: error: cannot call constructor 'Rectangle::Rectangle' directly [-fpermissive]
         Rectangle::Rectangle(const vector<MyPoint> &v){
                                                      ^
/in/Rectangle.cpp:20:54: note: for a function-style cast, remove the redundant '::Rectangle'

Information