Re: MSVC C++ problems

From: Robert Collins <robertc@dont-contact.us>
Date: 16 Jul 2003 09:14:57 +1000

On Wed, 2003-07-16 at 06:50, Serassio Guido wrote:

> Here there are some MSVC working C++ fixes.
>
> Not sure if all is correct.

Looks fine syntatically. I've commited a variation:

type (*variable)(NULL); // this looks ugly
type *variable = NULL; // this doesn't, but /may do an assignment +
                        //construction rather than construction.

The first syntax is potentially important for static members, but for
locally scoped variables, the second is fine and easier to read...

Hope this makes sense - I know its kindof arbitrary.

Cheers,
Rob

Received on Tue Jul 15 2003 - 17:15:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:17 MST