Boost logo

Boost-Build :

From: Eric Niebler (eric_at_[hidden])
Date: 2004-02-29 14:27:38


David Abrahams wrote:

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

I see your point, but is this a corner case we really want to handle? If
users are overloading min and max, shouldn't they be using
std-compatible signatures? (I'm sincerely asking, these are not
rhetorical questions.)

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