复制类构造函数C++

Chr*_*ine 1 c++

我有一首我要复制的歌曲......

int mtm::Song::getLimitedLength(int maximum_length) {

        Song copied_song(this);
    this->Song(copied_song);
}
Run Code Online (Sandbox Code Playgroud)

我收到这个错误:

Multiple markers at this line
- candidates are:
- no matching function for call to 'mtm::Song::Song(mtm::Song* const)'
Run Code Online (Sandbox Code Playgroud)

Ker*_* SB 5

Song copied_song(*this);.

请记住,这this是一个指针,但复制构造函数需要引用.