Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-09-02 15:12:16


"Thorsten Ottosen" <nesotto_at_[hidden]> writes:

> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:un008zsze.fsf_at_boost-consulting.com...
> | "Thorsten Ottosen" <nesotto_at_[hidden]> writes:
>
> | > what code?
> | For example, the Multi Array library uses the collection concept.
> | In addition to code, you'd need to update the docs.
>
> ok, sorry...I did not know that it was actually used in
> boost.multiarray...the version I found of the docs was in the files
> section.
>
> | > | Sounds like Collection is a refinement of Range.
> | > well, I dropped the external/internal concept definitions in the
> | > range docs, so currently ranges are defined by free-standing
> | > functions and metafunctions and not members.
> | If you have generalized free-standing functions/metafunctions that
> | work for STL collections, they should work for the Collection
> | concept too.
>
> yes, of course. but that doesn't make a collection a refinement of a
> range.

Why not? Is something else missing from collection that is present in
range?

-- 
Dave Abrahams
Boost Consulting
http://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