You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't forget also that Class Template Argument Deduction with a class with no constructors is also a viable option: https://compiler-explorer.com/z/1o4sMc8E4
This allows you to bundle the lambda with other stuff in the same allocation, or even multiple lambdas at once (e.g. new Overloads{...})
Activity
LB-- commentedon Mar 25, 2025
Don't forget also that Class Template Argument Deduction with a class with no constructors is also a viable option: https://compiler-explorer.com/z/1o4sMc8E4
This allows you to bundle the lambda with other stuff in the same allocation, or even multiple lambdas at once (e.g.
new Overloads{...})lefticus commentedon Apr 19, 2025
Coming in Ep478