Volatile binding for const?

Henry Spencer henry at utzoo.uucp
Sun Apr 2 08:56:32 AEST 1989


In article <1989Mar29.210035.4085 at utzoo.uucp> I wrote:
>>	char const *s, *t;	=is=>  {char const *} s, t
>>	char *const s, *t;	=is=>  char {const *s}, *t
>>
>... (Both declare "t" to be pointer to const char.)

Oops.  Talk about blunders.  I got the important part, about "s", right,
but botched "t".  The first declaration declares t to be pointer to const
char.  The second declares it to be pointer to char.
-- 
Welcome to Mars!  Your         |     Henry Spencer at U of Toronto Zoology
passport and visa, comrade?    | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.std.c mailing list