Subject: Re: [boost] [foreach] use of boost_foreach_argument_dependent_lookup_hack
From: Joaquin M LÃ³pezMuÃ±oz (joaquin_at_[hidden])
Date: 2015-07-15 02:20:56
Tim Blechmann <tim <at> klingt.org> writes:
> > I'm rather conversative and prefer a pragma-free workaround: I don't
> > know which exact compiler versions support push_macro etc.
Shouldn't you have
# undef foreach
# pragma push_macro("foreach")
> [push_macro] is supported by msvc for ages and by gcc since 4.6
> and clang ...
As for GCC, we're still testing 4.4 (http://tinyurl.com/no2q5wh ). Besides,
there are other compilers outside the three big ones, so I'm not so
convinced about this patch.
I think it's fair to declare Boost.Foreach unusable in the presence of
"foreach" macros, and we should only strive to be resilient against
these for libs that do not depend on Boost.Fo ¡ Ì¥ÌÑ¡ Í)½È ½½ÍÐ¹5Õ±Ñ¥%¹à°Ý¡¥ µÉ±ä¹ÍÕÉÌ¥¹ÑÉ½ÁÉ ¥±¥ÑäÝ¥Ñ ¥Ð¤¸)M¼ È°¥ÉÐÕÍ½½½ÍÑ}½É ¡} ÉÕµ¹Ñ}Á¹¹Ñ}±½½ÕÁ}¡ ¬ÍµÌ)µ½ÉÉ½ÕÍÐ¸())½ Å×µ¸43ÍÁè5×Å½è)Q±Í¹¥