Example: quiz answers

Guidelines for the use of the C++14 language in critical ...

Guidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release 18-10 Document TitleGuidelines for the use of theC++14 language in critical andsafety- related systemsDocument OwnerAUTOSARD ocument ResponsibilityAUTOSARD ocument Identification No839 Document StatusFinalPart of AUTOSAR StandardAdaptive PlatformPart of Standard Release18-10 Document Change HistoryDateReleaseChanged byDescription2018-10-3118-10 AUTOSARR eleaseManagement Added traceability for ISO 26262( ) New rules resulting from continuedanalysis of the C++ Core Guideline Finished addressing MISRA reviewcomments of the 2017-03 release Improvements of already existingrules, more details in the Changelog( ) Marked the specification as obsolete2018-03-2918-03 AUTOSARR eleaseManagement New rules resulting from the analysisof JSF, HIC, CERT, C++ CoreGuideline Improvements of already existingrules, more details in the Changelog( ) Covered smart pointers usag

Guidelines for the use of the C++14 language in critical and safety-related systems AUTOSAR AP Release 18-10 1 Background See chapter 1. Background" in MISRA C++:2008, which is applicable for this document as well. This document specifies coding guidelines for the usage of the C++14 language as

Tags:

  Guidelines, Critical, Language, System, Safety, Related, Guidelines for the use, Language in critical and safety related systems

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Guidelines for the use of the C++14 language in critical ...

1 Guidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release 18-10 Document TitleGuidelines for the use of theC++14 language in critical andsafety- related systemsDocument OwnerAUTOSARD ocument ResponsibilityAUTOSARD ocument Identification No839 Document StatusFinalPart of AUTOSAR StandardAdaptive PlatformPart of Standard Release18-10 Document Change HistoryDateReleaseChanged byDescription2018-10-3118-10 AUTOSARR eleaseManagement Added traceability for ISO 26262( ) New rules resulting from continuedanalysis of the C++ Core Guideline Finished addressing MISRA reviewcomments of the 2017-03 release Improvements of already existingrules, more details in the Changelog( ) Marked the specification as obsolete2018-03-2918-03 AUTOSARR eleaseManagement New rules resulting from the analysisof JSF, HIC, CERT, C++ CoreGuideline Improvements of already existingrules, more details in the Changelog( )

2 Covered smart pointers usage Reworked checked/uncheckedexception definitions and rules2017-10-2717-10 AUTOSARR eleaseManagement Updated traceability for HIC, CERT,C++ Core Guideline Partially included MISRA review ofthe 2017-03 release Changes and fixes for existing rules,more details in the Changelog ( )1 of 510 AUTOSAR CONFIDENTIAL Document ID 839: AUTOSAR_RS_CPP14 GuidelinesGuidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release 18-102017-03-3117-03 AUTOSARR eleaseManagement Initial release2 of 510 AUTOSAR CONFIDENTIAL Document ID 839: AUTOSAR_RS_CPP14 GuidelinesGuidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release 18-10 DisclaimerThis work (specification and/or software implementation) and the material contained init, as released by AUTOSAR, is for the purpose of information only.

3 AUTOSAR and thecompanies that have contributed to it shall not be liable for any use of the material contained in this work is protected by copyright and other types ofintellectual property rights. The commercial exploitation of the material contained inthis work requires a license to such intellectual property work may be utilized or reproduced without any modification, in any form or byany means, for informational purposes only. For any other purpose, no part of the workmay be utilized or reproduced, in any form or by any means, without permission inwriting from the work has been developed for automotive applications only. It has neither beendeveloped, nor tested for non-automotive word AUTOSAR and the AUTOSAR logo are registered of 510 AUTOSAR CONFIDENTIAL Document ID 839: AUTOSAR_RS_CPP14 GuidelinesGuidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release 18-10 Contents1 Background92 The Rationale for the production of AUTOSAR C++14 .

4 Objectives of AUTOSAR C++14 .. 103 Allowed features of C++ language .. Limitations .. 144 Using AUTOSAR C++14165 Introduction to the Rule classification .. classification according to compatibility with MISRA .. classification according to obligation level .. classification according to enforcement by static analysis classification according to allocated target .. Organization of rules .. Exceptions to the rules .. Redundancy in the rules .. Presentation of rules .. Understanding the issue references .. Scope of rules .. 196 AUTOSAR C++14 coding language independent issues.

5 Constructs .. failures .. General .. references .. compliance .. Lexical conventions .. sets .. tokens .. names .. Identifiers .. Keywords .. Literals .. Basic concepts .. 544 of 510 AUTOSAR CONFIDENTIAL Document ID 839: AUTOSAR_RS_CPP14 GuidelinesGuidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release and definitions .. Definition Rule .. lookup .. lifetime .. Standard conversions .. promotions .. conversion .. Pointer conversions .. Expressions .. expression .. expressions .. expressions.

6 Operators .. operators .. Equality operators .. Logical AND operator .. Conditional operator .. Assignment and compound assignment operation .. Comma operator .. Constant expression .. Statements .. statement .. statement or block .. statements .. statements .. statements .. Declaration .. declaration .. asm declaration .. specification .. Declarators .. resolution .. of declarators .. definitions .. Classes .. function .. 1825 of 510 AUTOSAR CONFIDENTIAL Document ID 839: AUTOSAR_RS_CPP14 GuidelinesGuidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release.

7 Derived Classes .. General .. Multiple base Classes .. Member name lookup .. Virtual functions .. Abstract Classes .. Member access control .. General .. Friends .. Special member functions .. General .. Constructors .. Destructors .. Initialization .. Construction and destructions .. Copying and moving class objects .. Overloading .. Overloadable declarations .. Declaration matching .. Overload resolution .. Overloaded operators .. Build-in operators .. Templates .. General .. Template parameters.

8 Template declarations .. Name resolution .. Template instantiation and specialization .. Function template specializations .. Exception handling .. General .. Throwing an exception .. Constructors and destructors .. Handling an exception .. Exception specifications .. Special functions .. Preprocessing directives .. General .. Conditional inclusion .. Source file inclusion .. Macro replacement .. Error directive .. Pragma directive .. Library introduction - partial .. General .. 3266 of 510 AUTOSAR CONFIDENTIAL Document ID 839: AUTOSAR_RS_CPP14 GuidelinesGuidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release The C standard library.

9 Definitions .. Library-wide requirements .. language support library - partial .. General .. Types .. Implementation properties .. Dynamic memory management .. Other runtime support .. Diagnostics library - partial .. Error numbers .. General utilities library - partial .. Smart pointers .. Strings library .. Null-terminated sequence utilities .. Containers library - partial .. General .. Algorithms library .. General .. Sorting and related operations .. Random number generation .. Input/output library - partial .. General.

10 3787 References383A Allocation of rules to work Rules allocated to architecture .. Rules allocated to design .. Rules allocated to toolchain .. Rules allocated to infrastructure .. Rules allocated to analysis .. Rules allocated to hardware .. Rules allocated to management .. Rules allocated to verification .. Rules allocated to implementation .. 388B Traceability to existing Traceability to MISRA C++:2008 .. Traceability to HIC++ .. Traceability to JSF .. Traceability to SEI CERT C++ .. Traceability to C++ Core Guidelines .. Traceability to ISO 26262 .. 495C Glossary5037 of 510 AUTOSAR CONFIDENTIAL Document ID 839: AUTOSAR_RS_CPP14 GuidelinesGuidelines for the use of the C++14 language incritical and safety - related systemsAUTOSAR AP Release 18-10D Release 17-10.


Related search queries