Hey guys,
is it possible to always remove ambiguity? May be by changing precedence?

Can you always do it? Or no?

Recommended Answers

All 2 Replies

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.

I meant not in a particular language, in a grammar is it possible?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.