Created on 2003-06-07.00:00:00 last changed 171 months ago
Rationale:
There isn't any real doubt about what these operators are supposed to do, but we ought to spell it out.
[ Kona: Matt provided wording. ]
Proposed resolution:
Add the following new paragraphs after [list.cons] paragraph 3:
operator!=Returns: x.c != y.c
operator>Returns: x.c > y.c
operator<=Returns: x.c <= y.c
operator>=Returns: x.c >= y.c
Add the following paragraphs at the end of [list.modifiers]:
operator==Returns: x.c == y.c
operator<Returns: x.c < y.c
operator!=Returns: x.c != y.c
operator>Returns: x.c > y.c
operator<=Returns: x.c <= y.c
operator>=Returns: x.c >= y.c
Sections [list.cons] and [list.modifiers] list comparison operators (==, !=, <, <=, >, =>) for queue and stack. Only the semantics for queue::operator== ([list.cons] par2) and queue::operator< ([list.cons] par3) are defined.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2532 |
2010-10-21 18:28:33 | admin | set | messages: + msg2531 |
2010-10-21 18:28:33 | admin | set | messages: + msg2530 |
2003-06-07 00:00:00 | admin | create |