================
Comment at: include/iterator:1116
@@ -1115,1 +1115,3 @@
+template <class _Tp, class _Alloc> class vector;
+
 template <class _Iter>
----------------
thakis wrote:
> mclow.lists wrote:
> > There's also a friend decl for `basic_string` in `__wrap_iter`; why don't 
> > we need a fwd declaration for that as well?
> > 
> > (because it's a compiler bug?)
> I wondered about this too, but I wasn't able to tickle the symmetric problem 
> for string. I think it's because iterator includes iosfwd, and iosfwd 
> declares basic_string (as that file is where `typedef basic_string<char> 
> string` lives, for some reason).
In other words, there already is a forward declaration of basic_string 
somewhere.

http://reviews.llvm.org/D7201

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to