AutosarC++19_03-M18.0.4¶
The time handling functions of library <ctime> shall not be used
Required inputs: IR
| Level | required |
|---|---|
| Target | implementation |
| Enforcement | automated |
Rationale
Various aspects are implementation-defined or unspecified, such as the formats of times.
Example
#include <ctime>
void f ( )
{
clock ( ); // Non-compliant
}
Note
For legal reasons, this rule’s description is not part of the public documentation.