- why this template function fails to compile? - 1 Update
"Öö Tiib" <ootiib@hot.ee>: Apr 11 05:36PM -0700 On Tuesday, 11 April 2023 at 20:18:50 UTC+3, quanzhou wrote: > I need this Args... type deduction in reg() function because I'm gonna forward it. I do not understand what you are trying to do. You are trying to deduce a concept? But concepts are specification of how *you* plan to use some thing. How it makes sense to deduce the constraints? Your reg in example code never uses Func passed to it so it is also not visible to us how you plan to invoke that invocable Func that has arbitrary list of parameters. |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment