cpp_proposals icon indicating copy to clipboard operation
cpp_proposals copied to clipboard

Suggestion for removing UB in the library wording of P2996

Open frederick-vs-ja opened this issue 1 year ago • 0 comments

"Shall" in the library wording means that the behavior is undefined when such a requirement is not met by default.

Perhaps we just want ill-formedness, and "non-constant library call" ([defns.nonconst.libcall]) looks appropriate to me since these functions are all consteval.

frederick-vs-ja avatar Mar 03 '24 10:03 frederick-vs-ja