Title
Requirements for fpos and stateT
Status
resolved
Section
[fpos.operations]
Submitter
Great Britain

Created on 2016-11-09.00:00:00 last changed 56 months ago

Messages

Date: 2020-05-12.16:34:12
Resolved by

Rationale:

P0759R1.
Date: 2020-05-15.00:00:00

[ 2020-05-12; Reflector discussions ]

Resolved by P0759R1.

Date: 2019-03-15.00:00:00

[ 2019-03-17; Daniel comments ]

With the acceptance of P0759R1 at the Rapperswil 2018 meeting this issue should be closed as Resolved (Please note that this paper resolves a historic NB comment that was originally written against C++17 but was at that time responded: "invite a paper if anybody wants to change it - no concensus for change").

Date: 2017-02-02.00:41:18

[ Issues Telecon 16-Dec-2016 ]

Priority 4; no consensus for any concrete change

Date: 2016-11-09.00:00:00

Addresses GB 60

The requirements on the stateT type used to instantiate class template fpos are not clear, and the following Table 108 — "Position type requirements" is a bit of a mess. This is old wording, and should be cleaned up with better terminology from the Clause 17 Requirements. For example, stateT might be require CopyConstructible?, CopyAssignable?, and Destructible. Several entries in the final column of the table appear to be post-conditions, but without the post markup to clarify they are not assertions or preconditions. They frequently refer to identifiers that do not apply to all entries in their corresponding Expression column, leaving some expressions without a clearly defined semantic. If stateT is a trivial type, is fpos also a trivial type, or is a default constructor not required/supported?

Proposed change:

Clarify the requirements and the table.

History
Date User Action Args
2020-05-12 16:34:12adminsetmessages: + msg11290
2019-03-22 17:53:09adminsetmessages: + msg10372
2019-03-22 17:53:09adminsetstatus: new -> resolved
2019-03-17 18:39:01adminsetmessages: + msg10360
2016-12-16 20:56:38adminsetmessages: + msg8739
2016-11-09 00:00:00admincreate