Created on 2016-09-10.00:00:00 last changed 90 months ago
Proposed resolution:
This wording is relative to N4606.
Modify [tuple.general] as indicated:
// 20.5.2.4, tuple creation functions:constconstexpr unspecified ignore;
[ Issues processing Telecon 2016-10-7 ]
P0; set to Tentatively Ready
Currently std::ignore is not specified constexpr according to the C++ draft N4606 in the paragraph [tuple.general]. It prevents some use in constexpr context: for example declaring a constexpr variable equals to the result of a function to which std::ignore has been passed as a parameter:
constexpr int i = f(std::ignore); // Won't compile
If there is no fundamental reason preventing std::ignore to be constexpr, then we propose to declare it as constexpr instead of as const.
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-10-08 04:58:13 | admin | set | messages: + msg8544 |
2016-10-08 04:58:13 | admin | set | status: new -> ready |
2016-09-27 19:07:47 | admin | set | messages: + msg8524 |
2016-09-10 00:00:00 | admin | create |