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
Sorry I didn't find the ep205 corresponding "issue".
In this episode and in some previous one on lambda. It is claimed that lambdas can be used to optimize some variable creation.
The canonical example given is
Sorry I didn't find the ep205 corresponding "issue".
In this episode and in some previous one on lambda. It is claimed that lambdas can be used to optimize some variable creation.
The canonical example given is
Yet
seems to lead to the exact same assembly : https://godbolt.org/z/bc6TxY7vW.
This more verbose snippet, shows also that NRVO might fail inside the lambda (which are submitted to the same rules as regular functions) : https://godbolt.org/z/hG1qT18K1
Would it be possible to have a clarification?
The text was updated successfully, but these errors were encountered: