On Wed, 2003-07-09 at 16:42, Henrik Nordstrom wrote: > On Wednesday 09 July 2003 01.53, Robert Collins wrote: > > > > std::ostringstream *Debug::currentDebug (NULL); > > > Hmm.. doesn't that have to be something like this? > > std::ostringstream (*Debug::currentDebug)(NULL);
Huh? not AFAIK. std::ostringstream *Debug::CurrentDebug(NULL); , if we substitute variable for Debug::CurrentDebug, and int for std::ostringstream, becomes int *variable(NULL); which is clearly a pointer to an int, initialised with NULL. Guido, if you want to try an alternative syntax, you could try: std::ostringstream * Debug::CurrentDebug = NULL; Rob -- GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
signature.asc
Description: This is a digitally signed message part
