Hey guys, is it possible to always remove ambiguity? May be by changing precedence?
Can you always do it? Or no?
Ancient Dragon5,243 Achieved Level 70 Team ColleagueFeatured Poster
I don't know about other languages, but in c++ I think it is always possible to remove it, because there is such a thing as namespaces and function overloading. Often an "ambiguous" error message means there is a programming error in the parameters (such as mis-matched data types) and the compiler doesn't know which of several overloaded functions/methods to call.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.