
26 Sep
2011
26 Sep
'11
4:31 p.m.
on Mon Sep 26 2011, Olaf van der Spek <ml-AT-vdspek.org> wrote:
On Mon, Sep 26, 2011 at 5:04 PM, Christian Holmquist <c.holmquist@gmail.com> wrote:
Is this really the fault of clamp() though?
No, but clamp can avoid exposing this inherited problem, just as std::min/std::max does.
min and max have two 'equivalent' parameters. clamp doesn't,
That's presuming some notion of the meaning of "clamp" that may not be shared by everyone here. -- Dave Abrahams BoostPro Computing http://www.boostpro.com