Unexpected function overloading

Gabriel Dos Reis gdr@integrable-solutions.net
Mon May 7 20:20:00 GMT 2012


On Mon, May 7, 2012 at 10:20 AM, sundararaj reel
<sundararaj.reel@googlemail.com> wrote:

> PS: The __PRETTY_FUNCTION__ macro in MyPrintf(const char*, va_list&)
> reports the function as MyPrintf(const char*, char* &). Does it
> indicate some "confusion" inside gcc (g++) ?

No.  It just means that on your system va_list and char* are equivalent.



More information about the Gcc-help mailing list