$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Warning c4002 with boost_foreach
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-05 18:38:16
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