Incidencia #44775

Functions with 'void' argument list in C++

Abrir Fecha: 2022-06-08 11:58 Última actualización: 2022-06-08 11:58

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

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

Editar

Please login to add comment to this ticket » Entrar