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>.
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:16 MST