Created on 2018-04-25.00:00:00 last changed 76 months ago
Proposed resolution:
This wording is relative to N4741.
Edit [new.syn] as indicated:
struct nothrow_t { explicit nothrow_t() = default; };extern constinline constexpr nothrow_t nothrow;
[ 2018-08-23 Batavia Issues processing ]
Status to Tentatively NAD - if we had a status 'Wont Fix' that would be correct.
This is an ABI break for most implementations, and people can define their own variable of type std::nothrow_t if they want a constexpr one.
[ 2018-06-18 after reflector discussion ]
Priority set to 2
std::nothrow in [new.syn] is declared as 'extern const nothrow_t nothrow;'. Unfortunately this declaration requires linking with Standard Library (which does not work well on GCC with -nostdlib flag). Moreover the declaration differs from other Standard Library tags that are 'inline constexpr'.
History | |||
---|---|---|---|
Date | User | Action | Args |
2018-08-24 13:31:33 | admin | set | messages: + msg10133 |
2018-08-24 13:31:33 | admin | set | status: new -> nad |
2018-06-19 05:49:11 | admin | set | messages: + msg9944 |
2018-05-05 12:57:26 | admin | set | messages: + msg9838 |
2018-04-25 00:00:00 | admin | create |