Questions tagged [disambiguation]

This tag refers to the process of making something less ambiguous.

Use this tag for questions related to reducing or eliminating the ambiguity of something, such as code.

63 questions
0
votes
1 answer

How to disambiguate column names in yii MANY_MANY relation

I have a nice case of folder and item in the folder. All mysql is abbreviated for clarity. CREATE TABLE folder folder_id INT, name VARCHAR(32), sort_weight INT CREATE TABLE item item_id INT, name VARCHAR(32) and of course the linking…
RandomWhiteTrash
  • 3,974
  • 5
  • 29
  • 42
-2
votes
3 answers

Can you explicitly use a constructor overload?

If I have 2 constructor overloads calculations(double vector, double angle); calculations(double horizontalVector, double verticalVector); How can I ensure the compiler specifically uses one of the overloads that I choose (as each of them do…
-2
votes
1 answer

How to disambiguate a function call in GCC C++?

I get the following error warning: reference to 'selectionMode' is ambiguous candidates are: virtual KFile::SelectionMode KFileView::selectionMode() const virtual KFile::SelectionMode selectionMode() const; The call is as follows: …
Anixx
  • 139
  • 1
  • 1
  • 8
1 2 3 4
5