1.assign operator和copy method会传递ownership
2.可以使用const 修饰。传递ownership会报错。并且可以更改指向的值
3.
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3