in occasions like this when there is no exact match how does the compile choose one method?
what does the compiler take in to account when saying that the call to method is "ambiguous"(is it the number of widening operations)?
thanks
you will get compilation error[ambiguous eference to a method] at this statement * m(c, c); * . to remove error you have to modify this statement. how will you do that?
Seetharaman Venkatasamy wrote:understand? I ask you one question
you will get compilation error[ambiguous eference to a method] at this statement * m(c, c); * . to remove error you have to modify this statement. how will you do that?