Andre Poenitz wrote:

> On Tue, Nov 04, 2003 at 12:19:25PM +0000, Angus Leeming wrote:
>> I have a container that currently allows the user to alter the Node
>> container. I want to allow the user to be able to alter the Node
>> contents but to not be able to insert, erase Nodes from the vector.
>> 
>> What's the best way to proceed?
> 
> 
>          /// The element list is immutable.
>          //std::vector<Element> const & elements() const { return
>          elements_; } Element const & element(size_t i) const {
>          return elements_[i]; } Element & element(size_t i) { return
>          elements_[i]; }

Thanks André. Thanks Lars. You have confirmed my suspicions about my 
coding (bad ;-)

-- 
Angus

Reply via email to