$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Shunsuke Sogame (mb2act_at_[hidden])
Date: 2006-04-28 06:00:09
Hi gurus,
VC++7.1/8 complains:
error C2355: 'this' : can only be referenced inside non-static member
about:
struct xxx : std::vector<int>
{
void test()
{
BOOST_FOREACH(int x, *this) {
}
}
};
GCC compiles.
Is this maybe a bug of VC++?
-- Shunsuke Sogame