Re: How does string.format handle undefined behavior?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How does string.format handle undefined behavior?
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2021年8月31日 14:45:36 -0300
To define a behavior as undefined sounds like those "this page
intentionally left blank" pages :-)
In the particular case of 'printf', the format "%#c" is defined as
undefined, while the format "%+c" is literally undefined. Should we
consider "%+c" as undefined behavior(™)?
-- Roberto