Boost logo

Boost :

From: joel de guzman (djowel_at_[hidden])
Date: 2002-01-11 15:42:56


----- Original Message -----
From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, January 12, 2002 4:22 AM
Subject: Re: [boost] Loki SmartPtr study: Policy orthogonality issues

> > I find the whole idea of adding pointer arithmetic to shared_array
> > questionable at best and nonsensical at worst.
>
> Cool, but operator[] is kind of closely related to pointer arithmetic, ain't
> it?
>
> > That said, if I had to support pointer arithmetic, I'd rather provide the
> > full range of operators.
>

I think the problem is that C incorrectly combined the notion of
pointers and iterators (and even arrays) in one whole uncanny mix.
Are we trying to commit the same mistake again?

--Joel


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