You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

解析C++标准中execution contains an undefined operation的含义及疑问

关于C++标准n4917 4.1.2p5中"execution contains an undefined operation"的疑问

C++(n4917),4.1.2p5(重点标注):

符合标准的实现执行格式良好的程序时,应产生与抽象机器对应实例在相同程序和相同输入下的某一种可能执行相同的可观察行为。然而,如果任何此类execution contains an undefined operation(执行包含未定义操作),本文档对实现执行该程序及对应输入不做任何要求(甚至不要求考虑第一个未定义操作之前的操作)。

  • 请问“execution contains an undefined operation”具体指什么?
  • 它是指*presence(存在)未定义操作(即未执行该操作),还是指execution(执行)*了未定义操作?

内容的提问来源于stack exchange,提问作者pmor

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.19 07:22:44