[Bug c++/13809] Template conversion operator reports ambiguity where none exists

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 22 08:45:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-22 08:45 -------
Actually I did that on accident but the standard says it is only three (23.3):
namespace std { template <class Key, class Compare = less<Key>, class Allocator = 
allocator<Key> > class set;  ...

So it does not matter if I did or did not.  The problem is still the same any ways.  Also sometimes if 
this is rejected and it should be reject GCC can also produce the wrong error message.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-22 08:45:46
               date|                            |


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



More information about the Gcc-bugs mailing list