yisikaipu怎么咬着人不放
C++标准2003(2011标准也一样) $5.2.5/3
If E1 has the type “pointer to class X,” then the expression E1->E2 is converted to the equivalent form (*(E1)).E2;
意思是 a->prinfs(); 其实是要转换为 (*a).printfs();
$5.2.5/1
The postfix expression before the dot or arrow is evaluated;
意思是 (*a) 要先被求值
-------------------------------------------------------
以上是这怂引用的标准,那个眼神好能看出“未定义行为”?
我说你娃不要把无知+偏执当勇敢显摆好不!
我看C标准你也就穿开裆裤,我看C++标准你丫上中学没?