On Sat, Aug 12, 2006 at 08:16:10PM -0500, Andy Lester wrote:

> I've written up some stuff about why consting is good.  It's in the  
> Parrot repository as cage/consting.pod.
> 
> To my old p5p homies: I send this to you so you don't forget about  
> consting while I'm working over here in Parrotland!

Er, right, um, wotcha Andy!

> =head2 C<const> pointers
> 
> If a pointer is qualified as const, then its contents cannot be
> modified.

I know you know this, and you even demonstrate it later, but what you are
talking about here is a pointer to a constant rather than a constant pointer.

> =head2 Mixing C<consts>
> 
> Combining C<const>s on a pointer and its constants can get confusing.

Very much so.  s/constants/contents/ I suspect?  Or maybe s/its constants/what
it points to/ ?

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to