https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722
--- Comment #2 from Jonathan Wakely 2012-12-19
20:14:08 UTC ---
I've just encountered this bug again when trying to replace
constexpr unique_ptr(nullptr_t) noexcept
: _M_t()
{ static_assert(!std::is_pointer::value,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722
--- Comment #1 from Jonathan Wakely 2012-12-17
18:30:55 UTC ---
Either compilation should stop completely on the first failed static_assert so
that the second call is not diagnosed, or the second call should trigger the
same static_assert