Re: error: call of overloaded ‘foo(int)’ is ambiguous (0 vs null ptr)

2012-05-24 Thread Jonathan Wakely
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

Re: error: call of overloaded ‘foo(int)’ is ambiguous (0 vs null ptr)

2012-05-24 Thread Gabriel Dos Reis
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