Svashasan Logo
Simulated data

Automotive Standards and Regulations · Coding standard

MISRA C++

Also known as MISRA C++:2023, MISRA C++:2023 TC1, MISRA C++:2008, AUTOSAR C++14 guidelines (predecessor)

IntermediateSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Coding guidelines that define a safer subset of C++ for critical systems. The current edition, MISRA C++:2023 (October 2023), now with Technical Corrigendum 1:2026, targets C++17 and incorporates AUTOSAR's former C++14 guidelines.

Explanation

MISRA C++:2023 provides guidelines for the use of C++17 in critical systems, targeting the language as defined by ISO/IEC 14882:2017. MISRA's site lists it as the current edition, now as MISRA C++:2023 (TC1:2026); the technical corrigendum incorporates corrections but introduces no new guidelines.

AUTOSAR had developed its own C++14 guidelines for the Adaptive Platform on the basis of MISRA C++:2008. In an announcement published by AUTOSAR in January 2019, MISRA and AUTOSAR agreed to merge the AUTOSAR rules into the next MISRA C++ to give industry a single rule set; MISRA C++:2023 is the result, and AUTOSAR's Adaptive Platform general requirements now reference it for C++ APIs.

Teams moving from AUTOSAR C++14 should expect a gap analysis, because MISRA does not publish a rule-by-rule mapping, and code is expected to be compiled as C++17. As with MISRA C, compliance concerns code and documented deviations, not overall correctness or safety.

How it works

A project adopts MISRA C++:2023 in its coding standard, compiles as C++17, configures static analysers for the guidelines on every build, reviews the aspects tools cannot decide, and records justified deviations, producing a compliance summary for the delivered software.

Automotive applications

  • AUTOSAR Adaptive Platform applications and APIs
  • ADAS and perception software written in C++
  • Middleware and high-performance ECU software
  • Static-analysis gates for C++ code

Example

An ADAS team migrating from AUTOSAR C++14 rules to MISRA C++:2023 switches its compiler to C++17, reruns static analysis, compares the old and new rule sets in a gap analysis, and updates deviation records for rules that changed or were dropped.

An illustrative example: any figures in it are worked numbers, not measurements.

Standard details

Standard
MISRA C++ (guidelines for the use of C++17 in critical systems)
Edition
MISRA C++:2023 (published October 2023), incorporating Technical Corrigendum 1 (TC1:2026)
Publication status
Published; current edition
Scope
Coding guidelines defining a subset of C++17 (ISO/IEC 14882:2017) for critical systems.
How this was checked
Read from misra.org.uk (fetched): the MISRA C++ page lists 'MISRA C++:2023 (TC1:2026)' as the current edition and states that TC1 adds no new guidelines; no publication date for TC1 was given. The merger of AUTOSAR C++14 guidance is documented in an AUTOSAR news item dated 29 January 2019 (fetched). The reference from AUTOSAR Adaptive Platform requirements (R24-11) was read via search index.

References

  1. MISRA C++ (opens in a new tab)

    MISRA · Specification · MISRA C++:2023 (TC1:2026) · retrieved 6 December 2026

  2. MISRA Integrates AUTOSAR C++ Coding Guidelines (29 January 2019) (opens in a new tab)

    AUTOSAR · Publication · retrieved 6 December 2026

  3. General Requirements specific to Adaptive Platform (AUTOSAR AP R24-11) (opens in a new tab)

    AUTOSAR · Specification · RS_AP_00167 (read via search index) · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.