Skip to content

C++基础语法——条目28:拷贝初始化和直接初始化 #154

Description

@RightOff

当拷贝构造函数为private时:语句2string str2(str1); 在编译时应该也会报错吧

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions