当询问C中常见的未定义行为时,灵魂比我提到的严格别名规则更加开明. 他们在说什么?
c strict-aliasing undefined-behavior type-punning
C++程序员应该知道的所有常见的未定义行为是什么?
说,像:
a[i] = i++;
c++ c++-faq undefined undefined-behavior
undefined-behavior ×2
c ×1
c++ ×1
c++-faq ×1
strict-aliasing ×1
type-punning ×1
undefined ×1