Title
fpos equality comparison unspecified
Status
new
Section
[fpos.operations]
Submitter
Jonathan Wakely

Created on 2018-06-04.00:00:00, last changed 2018-06-25.00:47:25.

Messages

Date: 2018-06-23.00:00:00

[ 2018-06-23 after reflector discussion ]

Priority set to 4

Date: 2018-06-04.00:00:00

The fpos requirements do not give any idea what is compared by operator== (even after Daniel's P0759R1 paper). I'd like something to make it clear that return true; is not a valid implementation of operator==(const fpos<T>&, const fpos<T>&). Maybe in the P(o) row state that "p == P(o)" and "p != P(o + 1)", i.e. two fpos objects constructed from the same streamoff values are equal, and two fpos objects constructed from two different streamoff values are not equal.

History
Date User Action Args
2018-06-25 00:47:25adminsetmessages: + msg9948
2018-06-04 00:00:00admincreate