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



Jonathan Wakely <redi at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED

         Resolution|                            |INVALID



--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-01 
18:20:49 UTC ---

(In reply to comment #0)

> Trying to declare and initialize two iterators in a comma separated list

> results in an invalid declaration error.



There's a very good reason for that, C++ doesn't allow it.



You cannot declare two variables of different types in a single declaration

Reply via email to