[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird list.begin() error

From: Andre Poenitz
Subject: Re: weird list.begin() error
Date: Sun, 7 Nov 2004 22:17:33 +0100

Thomas <> wrote:
>> There is no point in having a `protected' data member if you allow
>> direct access to it via the getList() function.
>> R'
> ------------------------------
> Thanks for pointing that out R'.  But this is only a demo program.  In 
> my actual program the pointer being returned is a const.

Btw: why return a const pointer and not a const reference? 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]