[Bug c++/55722] failed static_assert won't trigger a second time

2021-08-31 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/55722] failed static_assert won't trigger a second time

2019-10-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/55722] failed static_assert won't trigger a second time

2012-12-19 Thread redi at gcc dot gnu.org
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,

[Bug c++/55722] failed static_assert won't trigger a second time

2012-12-17 Thread redi at gcc dot gnu.org
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