Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2005-03-10 12:49:08


Russell Hind wrote:
>
> Well we're getting somewhere. That has made foreach.hpp compile. I
> have to #define BOOST_FOREACH_NO_CONST_RVALUE_DETECTION and a couple of
> examples I've tried now work.

Awesome! I just committed the fixes. I also committed a blunder in one
of my previous fixes, which has now been fixed. I hope I didn't rock the
boat.

>
> [C++] main.cpp(1):
> [C++ Warning] main.cpp(14): W8032 Temporary used for parameter 1 in call
> to 'boost::foreach_detail_::boost::mpl::false_ is_rvalue<char *>(char *
> &,int)'

Doesn't look serious to me. But since the warning is coming from the cpp
file and not foreach.hpp, there is nothing I can do to disable it.
You'll have to do that yourself.

-- 
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