[Bug c++/126406] [16/17 Regression] __is_nothrow_invocable crashes gcc

kaelfandrew at gmail dot com via Gcc-bugs <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126406

--- Comment #2 from Kael Franco <kaelfandrew at gmail dot com> ---
(In reply to Cassio Neri from comment #0)
> template<typename F>
> void invoke(F&&) noexcept(__is_nothrow_invocable(F)) {
> }
> 
> void f();
> 
> static_assert(invoke<decltype(f)>);

r16-5967-gbae0ed69e1862a
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.