I have tested the same cpp file with namespace bracket and without. The code
Explorer don't show any Class, functions, define or types within a namespace. I
can only show the include.

Example of namespace bracket with no explorer code :


namespace log{

#define MAXPRINTMSG 4096
void logger::Print( const char * msg, ...){
    char msg[MAXPRINTMSG];

    va_list argptr;
    va_start( argptr, fmt );
    sprintf( msg, fmt, argptr );
    msg[ sizeof(msg)-1 ] = '\0';
    va_end( argptr );

    OutputDebugString( msg );
}

} // end of namespace log


It does not matter but could you fix this bug (if one exist) ?

Thanks.

-- 
<http://forum.pspad.com/read.php?4,60726,60726>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem