Title
f(TYPE) where TYPE is void should be allowed
Status
nad
Section
9.3.4.6 [dcl.fct]
Submitter
unknown

Created on 1998-10-24.00:00:00 last changed 317 months ago

Messages

Date: 2004-09-10.00:00:00

9.3.4.6 [dcl.fct] paragraph 2 says:

If the parameter-declaration-clause is empty, the function takes no arguments. The parameter list (void) is equivalent to the empty parameter list.
Can a typedef to void be used instead of the type void in the parameter list?

Rationale: The IS is already clear that this is not allowed.

History
Date User Action Args
1998-10-24 00:00:00admincreate