Created on 2019-06-06.00:00:00 last changed 57 months ago
Proposed resolution:
This wording is relative to N4810.
Modify [concept.boolean] as indicated:
[…]
{ b1 } -> ConvertibleTo<bool>;
{ !b1 } -> ConvertibleTo<bool>;
{ b1 && a } -> Same<bool>;
{ b1 || a } -> Same<bool>;
{ b1 && b2 } -> Same<bool>;
{ b1 && a } -> Same<bool>;
{ a && b2 } -> Same<bool>;
{ b1 || b2 } -> Same<bool>;
{ b1 || a } -> Same<bool>;
{ a || b2 } -> Same<bool>;
{ b1 == b2 } -> ConvertibleTo<bool>;
{ b1 == a } -> ConvertibleTo<bool>;
{ a == b2 } -> ConvertibleTo<bool>;
{ b1 != b2 } -> ConvertibleTo<bool>;
{ b1 != a } -> ConvertibleTo<bool>;
{ a != b2 } -> ConvertibleTo<bool>;
};
[ 2019-06-13; Priority to 0 and Status to Tentatively Ready after seven positive votes on the reflector. ]
For consistency of presentation, we should group and order the && and || expression requirements similarly to the == and != expression requirements. Note that the suggested change is not quite editorial: evaluation of requirements for satisfaction has short-circuiting behavior, so the declaration order of requirements is normatively significant in general.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-02-25 10:48:01 | admin | set | status: wp -> c++20 |
| 2019-07-22 15:46:37 | admin | set | status: voting -> wp |
| 2019-06-17 05:25:36 | admin | set | status: ready -> voting |
| 2019-06-13 19:56:36 | admin | set | messages: + msg10439 |
| 2019-06-13 19:56:36 | admin | set | status: new -> ready |
| 2019-06-06 19:22:13 | admin | set | messages: + msg10415 |
| 2019-06-06 00:00:00 | admin | create | |