Test: init_order.cpp init_order.cpp:29:2: error: expected '}' at end of input 29 | } | ^ init_order.cpp:4:13: note: to match this '{' 4 | class Point { | ^ init_order.cpp: In constructor 'Point::Point(double, double, double)': init_order.cpp:7:11: error: class 'Point' does not have any field named 'x_' 7 | : x_(x * scale), | ^~ init_order.cpp:8:11: error: class 'Point' does not have any field named 'y_' 8 | y_(y * scale), | ^~ init_order.cpp:9:11: error: class 'Point' does not have any field named 'scale_' 9 | scale_(scale) | ^~~~~~ init_order.cpp:12:24: error: a function-definition is not allowed here before '{' token 12 | void print() const { | ^ init_order.cpp:16:1: error: expected primary-expression before 'private' 16 | private: | ^~~~~~~ init_order.cpp: In member function 'int Point::main()': init_order.cpp:25:7: error: 'class Point' has no member named 'print' 25 | p.print(); | ^~~~~ init_order.cpp: At global scope: init_order.cpp:29:2: error: expected unqualified-id at end of input 29 | } | ^