This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-12-20
[Voted into the WP at the February, 2012 meeting;moved to DR at the October, 2012 meeting.]
9.3.4.6 [dcl.fct]/2 restricts the use of voidas parameter type, but does notmention CV qualified versions. Sincevoid f(volatile void)isn't a callablefunction anyway, 9.3.4.6 [dcl.fct]should also ban cv-qualified versions.(BTW, this follows C)
Suggested resolution:
A possible resolution would be to add (cv-qualified) before void in
The parameter list(void) is equivalent to the emptyparameter list. Exceptfor this special case,(cv-qualified)void shallnot be a parameter type (though types derived fromvoid, such asvoid*, can).
Proposed resolution (August, 2011):
This issue is resolved by the resolution ofissue 577.