Created on 2009-07-02.00:00:00 last changed 172 months ago
Proposed resolution:
Change [bitset.members] p42-43:
bool operator==(const bitset<N>& rhs) const;-42- Returns:
A nonzero valuetrue if the value of each bit in *this equals the value of the corresponding bit in rhs.bool operator!=(const bitset<N>& rhs) const;-43- Returns:
A nonzero valuetrue if !(*this == rhs).
[ 2009-07-27 Howard sets to NAD Editorial. ]
[ 2009-07-27 Pete adds: ]
It's obviously editorial. There's no need for further discussion.
[ 2009-07-24 Alisdair recommends NAD Editorial. ]
The following wording seems a little unusual to me:
p42/43 [bitset.members]
bool operator==(const bitset<N>& rhs) const;-42- Returns: A nonzero value if the value of each bit in *this equals the value of the corresponding bit in rhs.
bool operator!=(const bitset<N>& rhs) const;-43- Returns: A nonzero value if !(*this == rhs).
"A nonzero value" may be well defined as equivalent to the literal 'true' for Booleans, but the wording is clumsy. I suggest replacing "A nonzero value" with the literal 'true' (in appropriate font) in each case.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg991 |
2010-10-21 18:28:33 | admin | set | messages: + msg990 |
2010-10-21 18:28:33 | admin | set | messages: + msg989 |
2010-10-21 18:28:33 | admin | set | messages: + msg988 |
2009-07-02 00:00:00 | admin | create |