Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-03 14:13:39


christopher diggins <cdiggins_at_[hidden]> writes:

> ----- Original Message -----
> From: "Neal Becker" <ndbecker2_at_[hidden]>
>>
>> Here's my version:
> [snip]
>
> That code looks great! Any reason it can't go into boost as is? I would like
> to see that and a version which takes the step as a template parameter, to
> improve efficiency when the step size is known at compile-time.

A. there are no tests

B. What about the undefined behavior that results when you stride off
   the end of a container?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk