Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-08 18:45:16

"Eric Niebler" <eric_at_[hidden]> writes:

> David Abrahams wrote:
>> You can detect at compile-time whether a call will yield an lvalue by
>> checking to see whether the restult can bind to a T& argument, where
>> T is a template parameter. See boost/iterator/is_lvalue_iterator.hpp.
> I'm getting around to fixing the min/max lvalue return problem. Looks
> like I'll need the BOOST_NO_LVALUE_RETURN_DETECTION macro, which is
> currently defined in boost/iterator/detail/config_def.hpp. Any
> particular reason why this was put here and not in
> boost/config.hpp?

Only because it was only being used by

> Anybody opposed to my moving it there?

If you move it to config.hpp, I think the rule is that you have to
document it. And you have to ask on the boost developer list ;-)

> Also, Dave I'd like to move any_conversion_eater.hpp into boost/detail
> so I can use it from boost/minmax.hpp. Any objection?


> Can somebody
> familiar with CVS tell me how to move a file while preserving its
> revision history?

I wouldn't worry about it in this case. It's complicated unless you
have access to the server; you have to get the SF folks to do it for

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at