|
Boost Users : |
Subject: Re: [Boost-users] Warning c4002 with boost_foreach
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2008-09-05 18:50:56
Ok, is the a way to solve this?
Cheers
Sean.
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Steven
Watanabe
Sent: 05 September 2008 23:38
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Warning c4002 with boost_foreach
AMDG
Sean Farrow wrote:
> Hi:
> Could somebody please tell me why I get a warning c4002 with the
> following boost::foreach declaration?
> BOOST_FOREACH(
>
boost::bimaps::bimap<boost::bimaps::set_of<std::vector<std::bitset<6>>>,
> int>::left_reference CurrentSign, SignsList.left )
> Should I use a typedef instead
Yes. Since BOOST_FOREACH is a macro the arguments cannot
contain unparenthesized commas.
In Christ,
Steven Watanabe
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3420 (20080905) __________
The message was checked by ESET NOD32 Antivirus.
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3420 (20080905) __________
The message was checked by ESET NOD32 Antivirus.
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