#include <iostream>
using namespace std;
class Base {
public:
int k;
Base(int n):k(n) { }
};
class Big {
public:
int v; Base b;
Big(int n)
{
b=Base(n);
v=n;
}
};
int main() {
Big a1(5);
return 0;
}
为什么提示no matching function for call to ‘Base::Base'
慕码人2483693
慕娘9325324
相关分类