Ok, is the a way to solve this? Cheers Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: 05 September 2008 23:38 To: boost-users@lists.boost.org 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
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@lists.boost.org 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. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3420 (20080905) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com