On Fri, 7 Jul 2000, Thomas Fletcher wrote:

> 
> Martin,
> 
>   I just patched in some code to cast away a const in fl_AutoNum.cpp
> that you committed.  I thought it might be list related (but in
> retrospect now I don't think so).  In any case you might want to
> check and see that casting this const away is valid, otherwise
> we should change the code (getType) to return a const pointer
> and not a plain pointer.  People please take care in this regard.
> const is there for a reason ... if you are just going to do 
> away with it, then don't use it in the first place!
> 

Hi Thomas,
          Thanks for clearing up the compiler warning. The code still
works. Does it compile in QNX? 

Can you enlighten me as when one would want to return a const pointer
instead of a regular pointer? I've had no formal C or C++ training.

Cheers

Martin





Reply via email to