struct Node{
int val;
double dval;
};
int main(){
size_t t=sizeof(static_cast<Node*>(0)->dval);
cout<<t<<endl;
}
输出8
struct Node{
int val;
double dval;
};
int main(){
size_t t=sizeof(static_cast<Node*>(0)->dval);
cout<<t<<endl;
}
输出8