------- Additional Comments From bangerth at dealii dot org  2005-09-14 21:10 
-------
Fair enough. And to get more to the point of only using user-defined 
conversion sequences (instead of the standard conversion from double 
to int): 
-------------------- 
struct A; 
struct B { B(const double &); }; 
 
void f(const A&) { } 
void f(const B&) { } 
 
void g() 
{ 
  f(2.0); 
} 
---------------------- 
This is accepted by all compilers I have as well. 
 
I retract my point of view. This doesn't mean, however, that I'm convinced 
that the opposite would be true. 
 
W. 

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


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

Reply via email to