"John Harrison" <> wrote in message
news

psao9dtlz212331@andronicus...
> On Mon, 5 Jul 2004 19:58:38 -0600, johny smith
> <> wrote:
>
> Others have explained your mistake, but maybe your confusion arises from
> ambiguous terminolgy. Constant pointers are pretty rare
Yes, and they are particularly rare as function parameters. There's not much
point making any pass-by-value type const because it doesn't matter if you
change it.
> (usually you would
> use a reference instead), but pointers to constant data are very common,
> therefore people use the term constant pointer to actually mean pointer to
> constant data.
DW