Boost logo

Boost :

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:
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at