[Bug c++/36769] implicit conversion do not work

2008-07-09 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2008-07-09 11:41 --- Only a single user-defined conversion is allowed in an implicit conversion sequence, but the copy-initialization would require two. -- schwab at suse dot de changed: What|Removed

[Bug c++/36769] implicit conversion do not work

2008-07-09 Thread jia3ep at gmail dot com
--- Comment #2 from jia3ep at gmail dot com 2008-07-09 12:30 --- Please, look at the following code. There are the same conversions, but it's compiles and works without any errors. In the following sample takes place implicit conversion 'int' to 'double' and then

[Bug c++/36769] implicit conversion do not work

2008-07-09 Thread schwab at suse dot de
--- Comment #3 from schwab at suse dot de 2008-07-09 13:06 --- int-double is not a user-defined conversion, but a standard conversion. -- schwab at suse dot de changed: What|Removed |Added