Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-02-29 14:07:59


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

> Eric Niebler wrote:
>
>>
>> That's too complicated for such a simple thing. I could just add my own
>> overloads of boost::std_min and boost::std_max for unsigned int. I don't
>> even have to limit their existence to the Borland toolset. I'll check
>> it in ASAP to unwedge the Borland build.
>>
>> Thanks.
>>
>
> I meant "unsigned long" instead of "unsigned int".
>
> OK, I've checked in the fix. I limited the fix to the Borland toolset
> after all. If someone with Borland installed can run a quick sanity
> check, that'd be great.

Urrrh, your "std_min" function makes an unqualified call to min,
right? How can you know whether the invoked function is going to
return a value or a reference?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk