gnaggnoyil
12 months ago
Let me tell you a pointer joke:Compiler Explorer - C++ (x86-64 gcc 13.2)
Abby@2147483647
12 months ago
Coz the number of the pair reference is fixed?
gnaggnoyil
12 months ago
abbychau: 不是哦.你把parameter换成foo (&)[N]也是一样的~
这里真正的问题在于裸指针会阻止member access的优化,因为裸指针的语义所蕴含的有效信息太少~
立即下載