Created on 2016-08-01.00:00:00 last changed 89 months ago
Proposed resolution:
This wording is relative to N4606.
Adjust [numeric.ops.gcd] p2 as indicated:
template<class M, class N> constexpr common_type_t<M, N> gcd(M m, N n);[…]
-2- Remarks: If either M or N is not an integer type, or if either is (possibly cv-qualified) bool, the program is ill-formed.
Adjust [numeric.ops.lcm] p2 as indicated:
template<class M, class N> constexpr common_type_t<M, N> lcm(M m, N n);[…]
-2- Remarks: If either M or N is not an integer type, or if either is (possibly cv-qualified) bool, the program is ill-formed.
[ 2016-08, Chicago ]
Monday PM: Moved to Tentatively Ready
With the acceptance of gcd and lcm in the working draft, the same problem as pointed out by LWG 2733 exists here as well and should be fixed accordingly.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-11-14 03:59:28 | admin | set | status: pending -> wp |
2016-11-14 03:55:22 | admin | set | status: ready -> pending |
2016-08-02 17:19:11 | admin | set | messages: + msg8335 |
2016-08-02 17:19:11 | admin | set | status: new -> ready |
2016-08-01 18:45:15 | admin | set | messages: + msg8297 |
2016-08-01 00:00:00 | admin | create |