develooper Front page | perl.perl6.internals | Postings from February 2002

Re: [PATCH] Bowing to necessity (was Re: [PATCH]Macro bulletproofing )

Thread Previous
From:
Segher Boessenkool
Date:
February 23, 2002 04:21
Subject:
Re: [PATCH] Bowing to necessity (was Re: [PATCH]Macro bulletproofing )
Message ID:
3C778910.2DCCED2D@chello.nl
> >        An integral constant expression with the value 0, or such an
> >     expression cast to type void *, is called a null pointer
> >     constant.

> Function pointers are not data pointers.
> 
> [And thinking about it, that excerpt doesn't say that. I hope its context did,
> else I'd accuse the standard of being unclear]

Functions (or functions pointers) are not integral constant expressions.
So the standard is perfectly clear.


Cheers,

Segher


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About