[Bug c++/115852] ICE in satisfy_declaration_constraints when using a explicit object lambda inside requires clause
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 10 02:00:07 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115852
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
/* The TI_ARGS of a regenerated lambda contains only the innermost
set of template arguments. Augment this with the outer template
arguments that were used to regenerate the lambda. */
gcc_assert (!args || TMPL_ARGS_DEPTH (args) == 1);
More information about the Gcc-bugs
mailing list