What does the C++ compiler do when coming ambiguous default parameters?

后端 未结 4 475
予麋鹿
予麋鹿 2021-01-13 01:19

What does the C++ compiler do when coming ambiguous default parameters? For example, let\'s say there was a function such as:

void function(int a = 0, float          


        
4条回答
  •  梦毁少年i
    2021-01-13 02:25

    Furthermore, the answer to any question starting with, "What does the C++ compiler do...," is always going to be, "Depends on which compiler you're talking about."

提交回复
热议问题