我有一堂课。
class Books
{
private:
int m_books;
public:
Books(int books=0)
{
m_books = books;
}
Books(const Books &source) //Here is what I don't understand.
{
m_books = source.m_books;
}
};
我不明白为什么它必须是Books(const Books &source)
,而不是Books(const Books source)
。