前一阵发现 GCC 一个 bug, 提交到了 gcc bugzilla ,已被确认,当然,这个 bug 有点刁钻:struct A { struct B {}; struct C { template void foo1(B*); template void foo2(B*) {} // ok }; template void foo1(B*); template void foo2(B*) {} // ok }; template void A::C::foo1(B*) {} // (1). fail template void A::foo1(B*) {} // (2). fail(1) (2) 两处都是合法…。
为什么会有人喜欢养乌龟当宠物?
...
为什么C语言写的Nginx从来不会挂掉?
为什么是9月3日阅兵而不是10月1日国庆阅兵?
如何评价剪映svip,599一年,有替代方案吗?
我男朋友年薪远高于我,我说因为女生生理结构需要生娃,生娃这件事情女性需要比男生牺牲更多,我说的对吗?
为什么中国开发不出流行的编程语言?
为什么不用rust重写Nginx?
为什么欧美影视喜欢露点?
为什么二游厂商都喜欢推出泳装版本?
为何 Linus 一个人就能写出这么强的系统,中国却做不出来?
扫描二维码分享到微信