Ticket #44775

Functions with 'void' argument list in C++

Open Date: 2022-06-08 11:58 Last Update: 2022-06-08 11:58

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

We have quite a number of functions taking 'void' argument list in our C++ code.

From the CodingStyle: "Functions that take no arguments should be declared and defined with 'void' argument list in C code, and empty argument list in C++ code."

While this is not as bad as having it the other way (empty argument list in C-code, while it should be 'void'), it should still be corrected.

Ticket History (1/1 Histories)

2022-06-08 11:58 Updated by: cazfi
  • New Ticket "Functions with 'void' argument list in C++" created

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login