------- Additional Comments From pcarlini at suse dot de  2005-09-08 21:06 
-------
(In reply to comment #2)
> We don't accept
>    
>     #include <vector>
>     #include <string>
>   
>     int main()
>     {
>        using namespace std;
>        vector<string>::iterator p = NULL;
>     }
> 
> for proper type checking.  The list iterator constructor accepting a
> pointer should be explicit.

Agreed. Likewise for deque::iterator, I suppose. I will work on this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-08 21:06:28
               date|                            |


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

Reply via email to