我有我要复制一个类歌曲...拷贝构造函数类C++
int mtm::Song::getLimitedLength(int maximum_length) {
Song copied_song(this);
this->Song(copied_song);
}
我得到这个错误:
Multiple markers at this line
- candidates are:
- no matching function for call to 'mtm::Song::Song(mtm::Song* const)'
Thankkk你这么much..this工程:) – Christine
@Christine:您可以点击旁边的复选标记接受的答案。 – GManNickG