Opened 2 years ago

Last modified 2 years ago

#132 new task

Remove reference cost from resolution

Reported by: Thierry Delisle Owned by:
Priority: major Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description (last modified by a3moss)

char foo(int);
long foo(int&);

int x;
foo(x);

These two functions are not ambiguous on resolution and should be.

This is because the cost function counts references.
The reference cost should be removed from the cost tuple.

Change History (2)

comment:1 Changed 2 years ago by a3moss

Description: modified (diff)

comment:2 Changed 2 years ago by a3moss

Description: modified (diff)
Note: See TracTickets for help on using tickets.