C++ : Why does it not work when an lvalue-ref-arg and an rvalue-ref-arg are passed as the same forwa

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



Duration: 1:31
1 views
1


C++ : Why does it not work when an lvalue-ref-arg and an rvalue-ref-arg are passed as the same forwarding-ref type?
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 this video is playing.
Next, enter the letters 'awesome' on your keyboard.
You will see a flashing rainbow instead of a regular progress bar on YouTube.

Let me give you a quick introduction about myself,
Hey, I am Delphi.
Let me assist you in answering any questions you may have.
C++ : Why does it not work when an lvalue-ref-arg and an rvalue-ref-arg are passed as the same forwarding-ref type?
If you have more specific query you can comment or chat with me and let me know your queries.
If you have an answer or any additional information on the answer, please leave a comment below.
Your answer will be recognized and valued, and I will 'heart' it to show my appreciation.
and passed when an it are type? Why an lvalue-ref-arg the forwarding-ref same not as does work : C++ rvalue-ref-arg