Const sucks

Janice Caron caron800 at googlemail.com
Mon Sep 10 12:54:09 PDT 2007


> What do these below mean ...
>
>   const int (* p)
>   const int *(p)
>   const int (*) p

I believe I can answer that. They are all syntax errors.

The stuff inside the brackets needs to be a valid type expression.



More information about the Digitalmars-d mailing list