C++ : Default template argument when using std::enable_if as templ. param.: why OK with two template

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



Duration: 1:25
0 views
0


C++ : Default template argument when using std::enable_if as templ. param.: why OK with two template functions that differ only in the enable_if parameter?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a secret feature that I want to reveal 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.
You will see a flashing rainbow instead of a regular progress bar on YouTube.

Let me give you a quick introduction about myself,
Hi, my name is Delphi, nice to meet you.
I am here to assist you in getting the answers you need.
C++ : Default template argument when using std::enable_if as templ. param.: why OK with two template functions that differ only in the enable_if parameter?
Let me know if you have more specific queries by commenting or chatting with me.
Please feel free to share your answer or insights on the answer by leaving a comment below.
A 'heart' from me will be given as a sign of appreciation for your answer.
Default that as C++ parameter? : two functions OK std::enable_if enable_if why differ argument template templ. in template with when param.: the using only