C++ : A lambda's return type can be deduced by the return value, so why can't a function's?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=fz4mogrchPc



Duration: 1:38
0 views
0


C++ : A lambda's return type can be deduced by the return value, so why can't a function's?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

Here's a secret feature that I promised to disclose to you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Then, type the letters 'awesome' on your keyboard as the next step.
Your YouTube progress bar will transform into a flashing rainbow.

Allow me to introduce myself briefly,
Hi there, I go by the name of Delphi.
Allow me to support you in answering your questions.
C++ : A lambda's return type can be deduced by the return value, so why can't a function's?
Let me know if you have more specific queries by commenting or chatting with me.
If you have knowledge to contribute or an answer to provide, we encourage you to comment below.
A 'heart' from me will be given as a sign of appreciation for your answer.
return A deduced so type lambda's a return can can't be function's? : value, by C++ why the