|
Boost Users : |
Subject: Re: [Boost-users] error: expected unqualified id before '=' token
From: John Robertson (jrobertson7711_at_[hidden])
Date: 2009-10-09 15:03:36
Thanks Agustin, that worked.
--- On Fri, 10/9/09, Agustín K-ballo Bergé <kaballo86_at_[hidden]> wrote:
From: Agustín K-ballo Bergé <kaballo86_at_[hidden]>
Subject: Re: [Boost-users] error: expected unqualified id before '=' token
To: boost-users_at_[hidden]
Date: Friday, October 9, 2009, 6:38 PM
John Robertson escribió:
> typedef vector <set< string > > VCS;
> typedef vector <set< string > >::iterator vcs_iter, vcs_end;
>
> VCS & vcolour_set = get(m_eColours_map, *edge_iter);
> for(vcs_iter = vcolour_set.begin(); vcs_iter !=
> vcolour_set.end(); ++vcs_iter) {
>
> Then compiler says
> error: expected unqualified id before '=' token
vcs_iter is a type, not a variable. Try
for(vcs_iter iter = vcolour_set.begin(); iter !=
> vcolour_set.end(); ++iter)
Agustín K-ballo Bergé.-
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net