This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vB() versus vB(void)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]