C和C++中未定义,未指定和实现定义的行为有什么区别?
c c++ undefined-behavior unspecified-behavior implementation-defined-behavior
我正在阅读一些模拟器代码,我反驳了一些奇怪的东西:
switch (reg){
case 'eax':
/* and so on*/
}
Run Code Online (Sandbox Code Playgroud)
这怎么可能?我以为你只能switch在积分类型上.是否有一些宏观技巧在继续?