$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [Review:Algorithms] Order of args to clamp
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-09-26 14:16:05
on Mon Sep 26 2011, Marshall Clow <mclow.lists-AT-gmail.com> wrote:
> BTW, clamp_range defined like this fails on the following code:
>
> int inputs [] = { 0, 1, 2, 3, 4 };
> clamp_range ( &inputs[0], &inputs[5], 2, 4 );
>
> because pointers are not iterators.
Since when?!
-- Dave Abrahams BoostPro Computing http://www.boostpro.com