
26 Sep
2011
26 Sep
'11
6:38 p.m.
On Sep 26, 2011, at 11:16 AM, Dave Abrahams wrote:
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?!
What I meant to say is that they don't have a value_type typedef, but that doesn't matter because I should have been using itertor_traits<Iter>::value_type anyway. Again, sorry for the noise. -- Marshall Marshall Clow Idio Software <mailto:mclow.lists@gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki