Thanks Agustin, that worked.

--- On Fri, 10/9/09, Agustín K-ballo Bergé <kaballo86@hotmail.com> wrote:

From: Agustín K-ballo Bergé <kaballo86@hotmail.com>
Subject: Re: [Boost-users] error: expected unqualified id before '=' token
To: boost-users@lists.boost.org
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@lists.boost..org
http://lists.boost.org/mailman/listinfo.cgi/boost-users