How can I reset candidate functions (or viable functions or most efficient functions) to call a function?
I know that g ++ provides an option to reset the class hierarchy . (Actually, Visual Studio 2010 provides a similar option, but it is undocumented. I remember that I read something about it - maybe in the blog of the VC ++ team, but I canβt remember it.)
I recently read about overload resolution in a C ++ 0x draft, and that really confused me.
Does any compiler provide the ability to reset candidate functions, viable functions, or the most efficient functions?
Note. The candidate functions in the overload resolution script are different from the candidate functions in the compiler error. The candidate / viable / best viable function in the overload resolution scenario is relevant. I know that there are three stages to resolving overload: find the functions of the candidate; find viable functions; find the best viable features. As a rule, only one candidate is the best viable function; otherwise the call is ambiguous. Each stage has its own rules.
Yuncy source
share