You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the put(s, s, s.fill(), err, &tmbuf, 'x') call, the fourth argument seems intended to be reference to ios_base::iostate err. However, in both put member functions in [locale.time.put.members], the fourth parameter is const tm* t:
I suppose the definition and uses of ios_base::iostate err should be deleted from the example, and the code should instead call ostreambuf_iterator<charT, traits>::failed(), like in [ostream.inserters.arithmetic].
If I understand correctly, the example is non-normative text, making this an editorial issue.
The text was updated successfully, but these errors were encountered:
[locale] paragraph 3 is this example:
draft/source/locales.tex
Lines 180 to 203 in e287e82
In the
put(s, s, s.fill(), err, &tmbuf, 'x')
call, the fourth argument seems intended to be reference toios_base::iostate err
. However, in bothput
member functions in [locale.time.put.members], the fourth parameter isconst tm* t
:draft/source/locales.tex
Lines 3977 to 3980 in e287e82
I suppose the definition and uses of
ios_base::iostate err
should be deleted from the example, and the code should instead callostreambuf_iterator<charT, traits>::failed()
, like in [ostream.inserters.arithmetic].If I understand correctly, the example is non-normative text, making this an editorial issue.
The text was updated successfully, but these errors were encountered: