basic_ios::copyfmt()overly loosely specified
Section: 126.96.36.199 [basic.ios.members] Status: NAD Editorial Submitter: Martin Sebor Opened: 2008-05-17 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [basic.ios.members].
View all issues with NAD Editorial status.
basic_ios::copyfmt() member function is specified in 188.8.131.52 [basic.ios.members] to have the following effects:
(this == &rhs)does nothing. Otherwise assigns to the member objects of
*thisthe corresponding member objects of
rhs, except that
rdbuf()are left unchanged;
exceptions()is altered last by calling
- the contents of arrays pointed at by
iwordare copied not the pointers themselves
Since the rest of the text doesn't specify what the member objects
basic_ios are this seems a little too loose.
[ Batavia (2009-05): ]
We agree with the proposed resolution. Move to NAD Editorial.
I propose to tighten things up by adding a Postcondition clause to the function like so:
The format of the table follows Table 117 (as
The intent of the new table is not to impose any new requirements or change existing ones, just to be more explicit about what I believe is already there.