Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2003-12-03 16:40:29


"Douglas Paul Gregor" <gregod_at_[hidden]> wrote in message
news:20031203132418.C2024_at_ashley.cs.rpi.edu...
> On Wed, 3 Dec 2003, Howard Hinnant wrote:
>
> > On Dec 3, 2003, at 10:27 AM, Douglas Paul Gregor wrote:
> >
> > > Arrays don't play nice with the standard library,
> >
> > Could you give an example or two on this? I always thought that a
> > strength of the std::lib was that it /did/ play nice with built-in
> > arrays. And I don't want to miss your point.
>
> Well, arrays are just not _objects_ like all of the STL containers. They
> don't have begin()/end() to get iterators, they don't have a size() member
> function, or a value_type typedef, and can't be copied around like objects
> can.

apart from the copy business, the other stuff will be part of Collection
Traits (that's the newest name for container traits).

FWIW, I hate arrays too :-)

br

Thorsten


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