История изменений
Исправление utf8nowhere, (текущая версия) :
В драфте C++17 этот термин не появляется. Это что-то из релиза, который за отдельные деньги?
Термин с того васянского сайта, который цитировал ты.
«Не обнаруживать UB» = «исполнять код, содержащий UB». Или есть способ не исполнять код, если в нём есть UB, не обнаружив этот самый UB?
Вот тебе соответствующие твоей цитате куски из стандарта
an operation that would have undefined behavior as specified in Clause 4 through Clause 19 of this International Standard [ Note: including, for example, signed integer overflow (Clause 8), certain pointer arithmetic (8.7), division by zero (8.6), or certain shift operations (8.8) — end note ] ;
If e satisfies the constraints of a core constant expression, but evaluation of e would evaluate an operation that has undefined behavior as specified in Clause 20 through Clause 33 of this International Standard, it is unspecified whether e is a core constant expression.
Исходная версия utf8nowhere, :
В драфте C++17 этот термин не появляется. Это что-то из релиза, который за отдельные деньги?
Термин с того васянского сайта, который цитировал ты.
«Не обнаруживать UB» = «исполнять код, содержащий UB». Или есть способ не исполнять код, если в нём есть UB, не обнаружив этот самый UB?
Вот тебе из стандарта
If e satisfies the constraints of a core constant expression, but evaluation of e would evaluate an operation that has undefined behavior as specified in Clause 20 through Clause 33 of this International Standard, it is unspecified whether e is a core constant expression.