|
Boost Users : |
Subject: Re: [Boost-users] error: expected unqualified id before '=' token
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2009-10-09 14:38:30
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 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