https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710
steve02081504 <steve_green at qq dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #8 from steve02081504 <steve_green at qq dot com> ---
(In reply to Andrew Pinski from comment #6)
> Changing:
> if
> constexpr(type_info<T>.
> has_attribute_helper<can_t_use_default_null_ptr>()&&type_info<T>.
> not_has_has_attribute_helper<force_use_default_null_ptr>())
>
> to:
> if constexpr(type_info<T>.template
> has_attribute_helper<can_t_use_default_null_ptr>()&&type_info<T>.template
> not_has_has_attribute_helper<force_use_default_null_ptr>())
>
> Fixes many of the errors
> Note the use of template.
>
> Note there are cases where GCC does not realize the template keyword is not
> needed but I don't know if it is actually needed in this case or not. I
> suspect it is.
So I just need to add "template" to these errors?
Well, although it doesn't look very beautiful, I think I latched on
This is my code's problem, not GCC's ICE, right
thank you