[Bug libstdc++/78361] [7 regression][c++1z] std::__is_referenceable doesn't handle noexcept function types

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 13 11:25:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78361

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
#include <type_traits>

using type = void() noexcept;
using type2 = void(&)() noexcept;
using type3 = std::add_lvalue_reference_t<type>;
static_assert(std::is_same_v<type2, type3>);


More information about the Gcc-bugs mailing list