temporary auto_ptr

Dima Sorkin dima.sorkin@gmail.com
Thu Sep 29 12:35:00 GMT 2005


> If there is a *single* implicit conversion possible, then I think you'll get
> that implicit conversion.
>
> If there are *multiple* implicit conversions possible, then the compiler
> will indicate an ambiguous implicit conversion situation.

 At least I don't see any options for multiple implicit conversion here.
It seems to be one and single .
  I don't see neither multiple paths to do the conversion,nor sequence of
conversions that require more than one cast.
(maybe there are some hidden things in actual implementation of auto_ptr,
 however)


Regards,
 Dima.



More information about the Gcc-help mailing list