$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [multi-index] foreach supports breaks compilation
From: Szymon Gatner (szymon.gatner_at_[hidden])
Date: 2011-11-16 07:37:37
> I see a couple of possibilities for you: either #undef foreach before the
> above code, then #define it again afterwards, or use a name other than
> 'foreach'. Unfortunately (or not) this is just the way PP macros work, and
> why avoiding them is desirable - they are not namespaceable unlike real
> types & names.
>
Changing exiting code at this point is impossible. I might be forced to stay
with multi-index version from 1.47.
Cheers