010 返回什么才好呢

#include <iostream> using namespace std; class A { public: int val; A(int n):val(n) { } A():val(123){} A & GetObj() { return *this; } }; int main() {
posted @ 2022-02-19 22:43  icefield817  阅读(29)  评论(0编辑  收藏  举报