C's triadic operator.
Doug Gwyn
gwyn at smoke.BRL.MIL
Tue May 16 06:40:02 AEST 1989
In article <26212 at watmath.waterloo.edu> rbutterworth at watmath.waterloo.edu (Ray Butterworth) writes:
>Does that seem obvious, reasonable, or useful to anyone out there?
>The Rationale gives no justification for this behaviour.
How about: It is always possible to validly convert a pointer of any type
to a void*. The other direction is not always valid.
>Not only that, as far as I know, the compiler is not even
>allowed to issue any warnings about how stupid this request is.
Conforming compilers may issue warnings about anything they wish.
More information about the Comp.std.c
mailing list