Strange builtin operator

Nathan Sidwell nathan@codesourcery.com
Wed Oct 22 13:32:00 GMT 2003


Cage@brit.co.ru wrote:
 > Hello!
 >
 > I using GCC 3.3.1
 > What is the "operator+(int, const char*) <built-in>"?
the one you get with
	int i;
	char const *p;

	i + p; // here

 > Can I disable this operator, like it was in 3.2?
no, that would have been a bug

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-help mailing list