我有以下代码:
class Student {
private:
int no;
char name[14];
public:
void display() const;
Student(const Student& student); // Line 1
};
Run Code Online (Sandbox Code Playgroud)
我已经读过该类是一个引用类型,所以为什么在上面代码的第1行声明为别名.是Line 1等同于:Student(const Student student);?