------- Comment #2 from bangerth at dealii dot org  2006-04-19 21:26 -------
(In reply to comment #0)

> However, the path foo->int->unsigned int is shorter than the path
> foo->A->int->unsigned int, so the former should be chosen.

There is no separate conversion A->int: values of type A already have
some sort of integer type that can directly be converted to unsigned int.
Both conversions therefore require only one intermediate.

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27215

Reply via email to