vB() versus vB(void)

David Carlton carlton@kealia.com
Wed Feb 4 16:54:00 GMT 2004


On Tue, 3 Feb 2004 22:53:54 -0500, Daniel Jacobowitz <drow@mvista.com> said:

> Secondly, you tell me.  Which form is preferable in general - I used to
> think (void) but the demangler, which I've been using as a rough style
> guide lately, disagrees.  Which form is preferable for default
> constructors?  Probably ().

I like () - I think of (void) as an unfortunate legacy of K&R C.

David Carlton
carlton@kealia.com



More information about the Gdb mailing list