小编use*_*463的帖子

遗漏是不确定的行为?

标准说:

1.3.24                                                          [defns.undefined]
undefined behavior
behavior for which this International Standard imposes no requirements
[ Note: Undefined behavior may be expected when this International Standard 
omits any explicit definition of behavior or when a program uses an erroneous 
construct or erroneous data. Permissible undefined behavior ranges from ignoring 
the situation completely with unpredictable results, to behaving during 
translation or program execution in a documented manner characteristic of the 
environment (with or without the issuance of a diagnostic message), to …

c++ language-lawyer

6
推荐指数
1
解决办法
196
查看次数

标签 统计

c++ ×1

language-lawyer ×1