Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2005-03-09 11:32:12


Russell Hind wrote:
> Has anyone tried BOOST_FOREACH with bcc32-5.6.4? I've just tried the
> example

<snip>

I just uploaded to the Boost Sandbox File Vault a new and improved
version of BOOST_FOREACH. Since much of the code is new, I removed many
of the old work-arounds, so things are likely to break until the dust
settles. I have verified it works on VC6+ and gcc 3.3.3.

I would be especially interested in seeing results from BCC, EDG-based
compilers, and GCC 2.9x. You can find foreach.zip at:

http://tinyurl.com/5qhj8
http://boost-sandbox.sourceforge.net/vault/index.php?directory=eric_niebler

There is a simple regression test there and a Jamfile. If it doesn't
compile, try defining BOOST_FOREACH_NO_CONST_RVALUE_DETECTION. If it
still doesn't compiler, try defining BOOST_FOREACH_NO_RVALUE_DETECTION.
Let me know the compiler version, and which macros you needed to define
to get it to work.

Thanks!

-- 
Eric Niebler
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk