C++ : Why does this compile when passing a lambda in direct initialization and assignment but not wi
C++ : Why does this compile when passing a lambda in direct initialization and assignment but not with copy initialization?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
I have a hidden feature that I promised to tell you about.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Then, type the letters 'awesome' on your keyboard as the next step.
You will see a flashing rainbow instead of a regular progress bar on YouTube.
A brief introduction of myself,
Nice to meet you, I am Delphi.
I am at your disposal to help you with any questions you have.
C++ : Why does this compile when passing a lambda in direct initialization and assignment but not with copy initialization?
Please feel free to comment or chat with me for more detailed information.
If you have an answer or any additional information on the answer, please leave a comment below.
A 'heart' from me will be given to show my gratitude for your contribution.
not copy passing in this but Why assignment initialization? : with compile C++ does lambda and initialization a direct when