大蛋白的病毒包装问题# Biology - 生物学
c*e
1 楼
Original source:
http://www.mitbbs.com/article_t/JobHunting/31348607.html
如何对const data member做assignment?
class A{
const int a;
public:
A():a(0){};
A(int m_a):a(m_a){};
};
int main(){
A a(1);
A b;
b = a; //how to implement assignment for this?
}
http://www.mitbbs.com/article_t/JobHunting/31348607.html
如何对const data member做assignment?
class A{
const int a;
public:
A():a(0){};
A(int m_a):a(m_a){};
};
int main(){
A a(1);
A b;
b = a; //how to implement assignment for this?
}