摘要: task1: 1 #pragma once 2 3 #include<string> 4 5 //类T声明 6 class T{ 7 public: 8 T(int x=0,int y=0);//普通构造函数 9 T(const T&t);//复制构造函数 10 T(T &&t);//移动构造函数 阅读全文
posted @ 2025-10-25 16:04 sunishope 阅读(9) 评论(1) 推荐(0)