|
Boost : |
From: Dave Harris (brangdon_at_[hidden])
Date: 2006-10-06 16:38:33
In-Reply-To: <45252C77.3050708_at_[hidden]>
macke_at_[hidden] (Marcus Lindblom) wrote (abridged):
> So, we need to support three different styles of access, at least, to
> make everyone happy?
>
> - vec[0]
> - vec.x
> - vec[_x]
I won't be happy if vec.x is supported, no matter how many other styles of
access we add. A class like this should not expose its representation so
directly.
(Not that my opinion should carry any weight; I'm just saying the conflict
here is deeper than your message suggests.)
-- Dave Harris, Nottingham, UK.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk