[Bug c++/106143] Add fix-it for missing ::value on trait with std::integral_constant base

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 30 09:08:35 GMT 2022


--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> But the other suggestion could be to use std::is_void_v<void> instead (at
> least for C++17 and later), no?

Indeed :-)

More information about the Gcc-bugs mailing list