consistency - conventional
Why is this an issue?
Various aspects of ctime
are implementation-defined or unspecified, such as the formats of times.
Noncompliant code example
#include <ctime> /* Noncompliant */
void f()
{
clock();
}
Resources
- MISRA C++:2008, 18-0-4 - The time handling functions of library <ctime> shall not be used.