CPP Overloading

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Apr 25 6:45
Editor
Edited
Edited
2023 Apr 25 15:28
  1. looks for exact signature
    1. Where no argument conversion required
  1. looks for "compatible" signature
    1. Looks for "compatible" signature where automatic type conversion is possible
      1. 1st with promotion (No loss of data)
      2. 2nd with demotion (Possible loss of data)
recommended just implement using double to avoid confusing
 
 
 
 
 
 
 

Recommendations