On 24 May 2012 20:26, Peter A. Felvegi wrote:
> Hello,
>
> I'm not sure whether this is standard behaviour or not; nonetheless I was
> quite surprised:
Please note that "is this valid" questions are not appropriate on this
mailing list, please use the gcc-help mailing list for questions about
usin
On Thu, May 24, 2012 at 2:26 PM, Peter A. Felvegi
wrote:
> Hello,
this list is not the appropriate place to discuss this.
Check a C++ forum.
>
> I'm not sure whether this is standard behaviour or not; nonetheless I was
> quite surprised:
Welcome to null pointer constant madness. It is standard
Hello,
I'm not sure whether this is standard behaviour or not; nonetheless I
was quite surprised:
8<8<8<
void foo(long);
void foo(const char*);
void bar()
{
foo(0);
foo(0+0); // !
foo(1-1); // !
foo(1);
}
8<8<8<
The first call t