Subject: Re: [boost] Range-aware version of min and max
From: David Abrahams (dave_at_[hidden])
Date: 2010-01-28 09:37:33
At Tue, 26 Jan 2010 16:36:32 -0600,
Zachary Turner wrote:
> is_less_comparable should be
> needed in order to determine if min is even a valid operation, and
> is_greater_comparable would be needed to determine if max is a valid
> operation, right?
is_less_comparable would suffice for both unless you have a very unusual
definition of min and max.
-- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk