方法文档
constexpr StringView () noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#29731701
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02112@rel:R25-11#29731701
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#7e8337722026-09-30 Inspect R24-11 rel:R24-11#a5e815a42026-10-14 Inspect R25-11 rel:R25-11#297317012026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr StringView (const char *str) noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#392102c3
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02113@rel:R25-11#392102c3
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#5f57f19f2026-09-30 Inspect R24-11 rel:R24-11#4a8943842026-10-14 Inspect R25-11 rel:R25-11#392102c32026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr StringView (const char *str, size_type len) noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#b47962c1
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02114@rel:R25-11#b47962c1
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#d2a437682026-09-30 Inspect R24-11 rel:R24-11#5858bb262026-10-14 Inspect R25-11 rel:R25-11#b47962c12026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr StringView (const StringView &other) noexcept=default;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#5b99b5c4
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02115@rel:R25-11#5b99b5c4
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#46185d3d2026-09-30 Inspect R24-11 rel:R24-11#2443f5be2026-10-14 Inspect R25-11 rel:R25-11#5b99b5c42026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr StringView (StringView &&other) noexcept=default;
[AUTOSAR defined] not present in ISO-14882. Move constructor
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#2b631c63
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02117@rel:R25-11#2b631c63
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#b40da38f2026-09-30 Inspect R24-11 rel:R24-11#1f028f832026-10-14 Inspect R25-11 rel:R25-11#2b631c632026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reference at (size_type pos) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos >= size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: b7697f8c19b0
来源
未决问题(1)
使用
类 ara::core::StringView 的成员函数 at 提供对单个字符的同步读取访问([SWS_CORE_02133] )。它接受类型为 size_type 的索引 pos 作为参数,并返回对该位置字符的常量引用(const_reference)。该函数被指定为 constexpr 和 noexcept,因此调用也可以在编译时求值。
错误处理
与标准 [string.view] 中的行为不同,该函数在出错时不会抛出类型为 std::out_of_range 的异常([SWS_CORE_02133] )。当满足条件 pos >= size() 时,将触发 IsoStdOutOfRangeViolation。该规范将该函数归类为异常安全(exception safe )。
并发性与限制
由于 at 被声明为 const,因此调用不会修改底层实例。调用方必须确保引用的字符串在 StringView 对象的整个生命周期内保持有效。当发生范围违规 IsoStdOutOfRangeViolation 时,执行可能会受控中止;为此可以通过 AddAbortHandler([SWS_CORE_00054] )注册自定义中止例程(解释)。 问题 Q-0836f4dc6fa946a6 (未决)
相互作用
通过 IsoStdOutOfRangeViolation 捕获越界的概念在 ara::core 中的多个容器之间一致应用:
本文本由 AI 系统生成,仅基于来自 Release R25-11 的规范数据。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Verletzungen (Violations) IsoStdOut- Description as per std::out_of_range. OfRangeViolation
Status: valid/unmigrated
Version: rel:R25-11#aedaf2b6
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02133@rel:R25-11#aedaf2b6
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#c71b9b612026-09-30 Inspect R24-11 rel:R24-11#f9ae77482026-10-14 Inspect R25-11 rel:R25-11#aedaf2b62026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reference back () const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Undefiniertes Verhalten The behavior of this function is undefined if: (empty() == true)
Status: valid/unmigrated
Version: rel:R25-11#dd32793c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02135@rel:R25-11#dd32793c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#792c8baf2026-09-30 Inspect R24-11 rel:R24-11#c14fc9562026-10-14 Inspect R25-11 rel:R25-11#dd32793c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_iterator begin () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#0ce78cee
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02120@rel:R25-11#0ce78cee
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#29eccef02026-09-30 Inspect R24-11 rel:R24-11#dabfe6c52026-10-14 Inspect R25-11 rel:R25-11#0ce78cee2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_iterator cbegin () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#ce988608
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02122@rel:R25-11#ce988608
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#638e72662026-09-30 Inspect R24-11 rel:R24-11#0801a6bf2026-10-14 Inspect R25-11 rel:R25-11#ce9886082026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_iterator cend () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#7b20c95a
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02123@rel:R25-11#7b20c95a
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#401082322026-09-30 Inspect R24-11 rel:R24-11#b02b23952026-10-14 Inspect R25-11 rel:R25-11#7b20c95a2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr int compare (StringView s) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 2927f57a7caa
来源
未决问题(1)
本使用说明是基于 AUTOSAR Adaptive 规范 R25-11 自动创建的。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#13dc427e
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02142@rel:R25-11#13dc427e
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#f35caa912026-09-30 Inspect R24-11 rel:R24-11#29da57632026-10-14 Inspect R25-11 rel:R25-11#13dc427e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr int compare (size_type pos1, size_type n1, StringView s) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5252e249a5c2
来源
未决问题(1)
本使用说明基于 AUTOSAR Adaptive R25-11 规范自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Verletzungen (Violations) IsoStdOut- Description as per std::out_of_range. OfRangeViolation
Status: valid/unmigrated
Version: rel:R25-11#954b8eb6
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02143@rel:R25-11#954b8eb6
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#ebee01fe2026-09-30 Inspect R24-11 rel:R24-11#d94c460b2026-10-14 Inspect R25-11 rel:R25-11#954b8eb62026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr int compare (size_type pos1, size_type n1, StringView s, size_type pos2, size_type n2) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size() || pos2 > s.size() ) IsoStdOutOfRangeViolation is raised instead of std::out_of_range
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 84981befbff9
来源
未决问题(1)
此文本由AI创建,用作AUTOSAR规范的补充文档。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Verletzungen (Violations) IsoStdOut- Description as per std::out_of_range. OfRangeViolation
Status: valid/unmigrated
Version: rel:R25-11#ff6c2d48
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02144@rel:R25-11#ff6c2d48
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#e0aad7e42026-09-30 Inspect R24-11 rel:R24-11#d74c38742026-10-14 Inspect R25-11 rel:R25-11#ff6c2d482026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr int compare (const char *s) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 280fbff67867
来源
未决问题(1)
类 ara::core::StringView 的成员函数 compare(头文件 #include "ara/core/string_view.h")用于将当前字符串视图与以 null 结尾的 C 字符串进行同步的字典序比较 const char* s [SWS_CORE_02145] 。由于该操作被指定为 constexpr,因此求值既可以在运行时进行,也可以在编译时表达式的上下文中进行。作为返回值,该函数提供类型为 int 的整数值,其符号类似于 [string.view] 反映比较结果:小于零的值表示该实例在字典序上位于 s 之前;零值表示相等;大于零的值指示该实例紧随 s 之后 [SWS_CORE_02145] 。
在错误处理方面,AUTOSAR 规范明确偏离了 [string.view] 中的模板:该方法被声明为 noexcept 并具有 exception safe 特性 [SWS_CORE_02145] 。因此保证调用不会引发任何 C++ 异常。未为此基础函数规定特定的错误代码、对 Development Error Tracer(DET)或 Diagnostic Event Manager(DEM)的反馈。
作为 const 修饰的方法,compare 不会改变 ara::core::StringView 实例的状态,并且可以安全地进行并发读取调用。在使用时应注意,指针 s 大概必须指向有效的字符序列,因为从 [string.view] 沿用的语义在传入空指针时可能会导致未定义行为 [SWS_CORE_02145] 。 问题 Q-cff1a1f55603dbd4 (未决)
本文由 AI 基于 AUTOSAR Adaptive R25-11 规范生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#86d16827
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02145@rel:R25-11#86d16827
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#8693ac302026-09-30 Inspect R24-11 rel:R24-11#1ceaca1a2026-10-14 Inspect R25-11 rel:R25-11#86d168272026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr int compare (size_type pos1, size_type n1, const char *s) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: c774270160f9
来源
未决问题(2)
使用
类ara::core::StringView的方法compare支持将字符串视图的子范围与以空字符结尾的C字符串进行同步字典序比较s [SWS_CORE_02146] 。传入起始索引pos1、最大长度n1以及指向待比较字符序列的指针s。类型为int的返回值类似于标准库反映关系排序结果:小于零、等于零或大于零的返回值表示字典序关系[SWS_CORE_02146] 。
错误处理与边界条件
该操作被指定为noexcept和“exception safe”[SWS_CORE_02146] 。与C++标准[string.view]的行为不同,具有pos1 > size()的无效起始索引不会引发std::out_of_range异常,而是导致IsoStdOutOfRangeViolation [SWS_CORE_02146] 。该违例在AUTOSAR运行时上下文中预计被视为编程错误并强制平台直接中止,因为常规C++异常无法逃逸出noexcept边界。 问题 Q-d4ce6b496b80fdde (未决) 此外,必须确保s指向有效的字符串,因为空指针可能会导致未定义行为。
并发性
由于compare被定义为const和constexpr,实例的状态保持不变[SWS_CORE_02146] 。因此,对同一ara::core::StringView对象的并发读访问可以安全执行。
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Verletzungen (Violations) IsoStdOut- Description as per std::out_of_range. OfRangeViolation
Status: valid/unmigrated
Version: rel:R25-11#1ef7ff3c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02146@rel:R25-11#1ef7ff3c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#af7ea1bc2026-09-30 Inspect R24-11 rel:R24-11#988d6d132026-10-14 Inspect R25-11 rel:R25-11#1ef7ff3c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr int compare (size_type pos1, size_type n1, const char *s, size_type n2) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 1cc4e349e5f4
来源
未决问题(1)
使用
来自头文件ara/core/string_view.h的类ara::core::StringView的成员函数compare执行同步字典序比较[SWS_CORE_02147] 。此时,当前实例中从索引pos1开始、最多包含n1个字符的子序列将与外部C字符数组s的前n2个字符进行比较。整数返回值(int)遵循[string.view]的语义,并通过其符号指示自身的子范围在字典序上是小于、等于还是大于参考序列。作为constexpr和const方法,它不修改对象,并且已可在编译时求值[SWS_CORE_02147] 。
错误处理与边界条件
关于错误处理和异常安全性,AUTOSAR 定义了相对于标准 [SWS_CORE_02147] 的两项强制性偏差:
该成员函数被指定为 noexcept,并完全归类为 exception safe [SWS_CORE_02147] 。
如果起始位置超过实例长度(pos1 > size()),则不会抛出 std::out_of_range 异常,而是触发 IsoStdOutOfRangeViolation [SWS_CORE_02147] 。
解释:由于 noexcept 保证与 IsoStdOutOfRangeViolation 相结合,越界可能无法通过传统的 C++ try-catch 块捕获,而是推测会导致立即中止或由平台进行错误处理。 问题 Q-67fb8eda4c594a06 (未决)
本使用说明由系统自动生成,完全基于 AUTOSAR Adaptive Release R25-11 的规范数据。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Verletzungen (Violations) IsoStdOut- Description as per std::out_of_range. OfRangeViolation
Status: valid/unmigrated
Version: rel:R25-11#d83e0662
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02147@rel:R25-11#d83e0662
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#5bddcd392026-09-30 Inspect R24-11 rel:R24-11#854c4f1e2026-10-14 Inspect R25-11 rel:R25-11#d83e06622026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool contains (StringView sv) const noexcept;
As per corresponding usage in [string.view] in [16]
Literaturverzeichnis SWS Core: [16] N4950: Working Draft, Standard for Programming Language C++ – open-std.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: c871b0e95a94
来源
未决问题(1)
用法与调用上下文
类 ara::core::StringView 的成员函数 contains 用于同步检查字符视图是否包含给定的子字符串 [SWS_CORE_02154] 。该函数在头文件 ara/core/string_view.h 中根据 C++ 标准工作草案 N4950([string.view])的语义进行定义 [SWS_CORE_02154] 。作为参数,该方法按值接收 StringView 的另一个实例(sv),并直接返回类型为 bool 的布尔值:如果存在子序列则返回 true,否则返回 false [SWS_CORE_02154] 。
通过指定为 constexpr,该调用既可以在运行时进行,也可以在编译期上下文的编译期间进行 [SWS_CORE_02154] 。
错误处理与异常安全性
对于 contains,其行为被固定为 exception safe,且签名被显式标记为 noexcept [SWS_CORE_02154] 。因此,该函数在任何情况下都不会抛出 C++ 异常,也不会通过 ara::core::Result 或 ara::core::ErrorCode 返回错误。此基础函数既不存在 DET 错误报告,也不存在 DEM 错误报告。
并发性与限制
作为常成员函数(const),contains 不会修改 StringView 实例的状态 [SWS_CORE_02154] 。解释:只要被引用的内存区域没有被任何线程同时修改,在同一 StringView 实例或底层字符缓冲区上的并发只读调用应该是完全可重入且并发安全的。 问题 Q-80f1a9989a098913 (未决) 除提供有效的 StringView 之外,不存在特殊的顺序条件或初始化要求。
本使用说明基于 AUTOSAR 规范自动创建。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#bf73e56e
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02154@rel:R25-11#bf73e56e
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#cd3984252026-09-30 Inspect R24-11 rel:R24-11#95f693952026-10-14 Inspect R25-11 rel:R25-11#bf73e56e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool contains (char c) const noexcept;
As per corresponding usage in [string.view] in [16]
Literaturverzeichnis SWS Core: [16] N4950: Working Draft, Standard for Programming Language C++ – open-std.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: b2baa55e3d18
来源
未决问题(2)
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#d4b8d181
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02155@rel:R25-11#d4b8d181
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#f77030032026-09-30 Inspect R24-11 rel:R24-11#fe2d55f22026-10-14 Inspect R25-11 rel:R25-11#d4b8d1812026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool contains (const char *str) const noexcept;
As per corresponding usage in [string.view] in [16] except for the following deviations: 1. The function is noexcept
Literaturverzeichnis SWS Core: [16] N4950: Working Draft, Standard for Programming Language C++ – open-std.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: b203260a22d2
来源
未决问题(1)
本使用说明基于 AUTOSAR Adaptive R25-11 规范自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#6cdc600c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02156@rel:R25-11#6cdc600c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#b6fe65ea2026-09-30 Inspect R24-11 rel:R24-11#74254ddc2026-10-14 Inspect R25-11 rel:R25-11#6cdc600c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
size_type copy (char *s, size_type n, size_type pos=0) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 63860f6d57ee
来源
未决问题(1)
使用
类 ara::core::StringView([SWS_CORE_02140] )的同步成员函数 copy 将子字符串复制到提供的缓冲区中。通过头文件 #include "ara/core/string_view.h" 进行访问:
参数: char *s 指向目标数组,n 决定要复制的最大字符数,pos 定义起始位置(默认值为 0)。
返回值: size_type 类型的值,指示实际复制的字符数。
语义: 该函数同步工作,并以 ISO-C++ 规范 [string.view]([SWS_CORE_02140] )为基准。
错误处理
在发生错误时,如果满足 pos > size(),则会触发 IsoStdOutOfRangeViolation([SWS_CORE_02140] )。这与抛出 std::out_of_range 的标准 [string.view] 有所偏差。由于该接口声明为 noexcept,触发违规大概率会导致进程直接终止(推测:不会传递 C++ 异常)。 问题 Q-4ddbe4dfb002c41f (未决)
并发性与限制
该操作规范为 const 以及 noexcept,并视为异常安全 ([SWS_CORE_02140] )。调用方必须确保目标数组 s 为至少 min(n, size() - pos) 个字符提供足够的内存,因为目标缓冲区的范围错误不会被捕获。
相互作用
与使用 value_type 并归类为非异常安全 的 ara::core::BasicString::copy([SWS_CORE_03410] )相比,StringView 中的变体提供了异常安全的 noexcept 保证([SWS_CORE_02140] )。
本文本由 AI 生成,且仅基于 AUTOSAR 有效负载的规范。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Verletzungen (Violations) IsoStdOut- Description as per std::out_of_range. OfRangeViolation
Status: valid/unmigrated
Version: rel:R25-11#c0d72cc2
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02140@rel:R25-11#c0d72cc2
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#bfd7aa522026-09-30 Inspect R24-11 rel:R24-11#89e17bc12026-10-14 Inspect R25-11 rel:R25-11#c0d72cc22026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reverse_iterator crbegin () const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 231dd0a8e66b
来源
未决问题(1)
本文字由 AI 系统基于 AUTOSAR 规范 R25-11 生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#145020af
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02126@rel:R25-11#145020af
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#1f90ed5e2026-09-30 Inspect R24-11 rel:R24-11#40fe14e12026-10-14 Inspect R25-11 rel:R25-11#145020af2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reverse_iterator crend () const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: a2bec2dd4b77
来源
未决问题(2)
类 ara::core::StringView 的成员函数 crend 返回一个常量反向迭代器([SWS_CORE_02127] )。该调用在来自头文件 ara/core/string_view.h 的现有实例上同步且无参数地进行。返回的 const_reverse_iterator 标记了反向迭代的逻辑终点;根据 C++ 参考 [string.view],它作为哨兵位置指向紧接在字符串首个字符之前的理论元素(解释:类似于 C++ 标准)。
问题 Q-5fd666f8d3eaf308 (未决)
错误处理与并发
该函数被声明为 noexcept,并被指定为异常安全(“exception safe”)([SWS_CORE_02127] )。既不会引发异常,也不会返回错误代码或发出 DET/DEM 消息。由于具有 constexpr 限定,该迭代器已可在编译时生成。作为没有状态效应的纯 const 方法,在同一实例上并发读取调用在并发上应该是安全的(解释)。 问题 Q-207e2b9561f61d27 (未决)
相互作用
该接口遵循 ara::core 针对序列化数据结构的统一迭代概念。相关规范定义了类似的 crend 接口:
本文由 AI 创建,总结了 AUTOSAR Adaptive R25-11 中的要求。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#3193f3f9
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02127@rel:R25-11#3193f3f9
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#ca92a6a32026-09-30 Inspect R24-11 rel:R24-11#6418bfd72026-10-14 Inspect R25-11 rel:R25-11#3193f3f92026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_pointer data () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#393a4be3
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02136@rel:R25-11#393a4be3
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#a70d57b12026-09-30 Inspect R24-11 rel:R24-11#a06d4fdb2026-10-14 Inspect R25-11 rel:R25-11#393a4be32026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
[[nodiscard]] constexpr bool empty () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#af9f18de
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02131@rel:R25-11#af9f18de
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#07748f7d2026-09-30 Inspect R24-11 rel:R24-11#a91f4c372026-10-14 Inspect R25-11 rel:R25-11#af9f18de2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_iterator end () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#ad81fc10
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02121@rel:R25-11#ad81fc10
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#b8de17a72026-09-30 Inspect R24-11 rel:R24-11#9eb908362026-10-14 Inspect R25-11 rel:R25-11#ad81fc102026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool ends_with (StringView sv) const noexcept;
As per corresponding usage in [string.view] in [15]
Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f73e35eb5e81
来源
未决问题(1)
使用
成员函数 ara::core::StringView::ends_with 同步检查所考量的字符序列是否以传入的子序列 sv 结尾 [SWS_CORE_02151] 。它在头文件 ara/core/string_view.h 中声明,并遵循 ISO/IEC 14882:2020 [SWS_CORE_02151] 中 [string.view] 的标准化 C++ 语义。得益于标记为 constexpr,该比较已可在编译时求值。由于它是 const 方法,因此调用对象不会被修改。
错误处理与并发
规范为 ends_with 分配了属性 exception safe,并将其声明为 noexcept [SWS_CORE_02151] 。因此,该函数不抛出异常,既不通过诸如 DET 或 DEM 等 AUTOSAR 错误通道也不通过特定错误代码报告故障。作为对不可变字符串视图的纯读操作,该函数应该具有可重入性,且在无需同步机制的情况下对同一实例的并发读访问是安全的。 问题 Q-821d4d0f216694ef (未决)
相互作用
该方法是类 ara::core::StringView 的一部分,并通过相关重载进行补充:除了针对另一个 StringView 对象的求值之外,还提供了针对单个字符 char [SWS_CORE_02152] 以及以 Null 结尾的 C 字符串 const char* [SWS_CORE_02153] 的检查变体,它们同样是异常安全的且可在编译时使用。
此使用说明是基于 AUTOSAR 有效载荷自动生成的。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#c77b5791
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02151@rel:R25-11#c77b5791
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#053459a52026-09-30 Inspect R24-11 rel:R24-11#a9dceeaa2026-10-14 Inspect R25-11 rel:R25-11#c77b57912026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool ends_with (char c) const noexcept;
As per corresponding usage in [string.view] in [15]
Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 36112573f039
来源
未决问题(1)
本文本由 AI 生成;所有专业陈述完全基于规范基础。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#cacab0b1
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02152@rel:R25-11#cacab0b1
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#fba9ee732026-09-30 Inspect R24-11 rel:R24-11#fd9a59562026-10-14 Inspect R25-11 rel:R25-11#cacab0b12026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool ends_with (const char *str) const noexcept;
As per corresponding usage in [string.view] in [15] 1. The function is noexcept
Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 6d5cc865e3a5
来源
未决问题(1)
此使用说明由 AI 基于规范自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#cc48c5a6
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02153@rel:R25-11#cc48c5a6
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#73a1a7ed2026-09-30 Inspect R24-11 rel:R24-11#f1f834912026-10-14 Inspect R25-11 rel:R25-11#cc48c5a62026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find (StringView s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: a92b06c6fdd1
来源
未决问题(1)
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#24d77d54
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02157@rel:R25-11#24d77d54
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#29b1a5422026-09-30 Inspect R24-11 rel:R24-11#d36d983b2026-10-14 Inspect R25-11 rel:R25-11#24d77d542026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find (char c, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 25855dcf9257
来源
未决问题(2)
本使用说明由自动生成,基于 AUTOSAR Adaptive R25-11 规范。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#09e4d99c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02158@rel:R25-11#09e4d99c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#9c327ae92026-09-30 Inspect R24-11 rel:R24-11#9c7c07962026-10-14 Inspect R25-11 rel:R25-11#09e4d99c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find (const char *s, size_type pos, size_type n) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 0b317af9b1f1
来源
未决问题(1)
使用
类 ara::core::StringView([SWS_CORE_02159] )的成员函数 find 用于在字符串视图内同步查找字符串。它通过头文件 ara/core/string_view.h 提供。该函数接收指向字符数组的指针 s、类型为 size_type 的起始位置 pos 以及要查找的字符数量 n,并将找到的位置作为 size_type 返回。解释:根据来自 [string.view] 的参考语义,s 应该指向具有至少 n 个字符的数组,并且在查找不成功时返回值 npos。 问题 Q-e7f54bb1b42a99d8 (未决)
错误处理与并发
该方法被声明为 noexcept 并被指定为 exception safe([SWS_CORE_02159] )。因此,错误状态不会通过 C++ 异常来发出信号。由于该函数被定义为 const 和 constexpr,它不会修改实例,适用于编译时求值以及并发读取访问。
相互作用
在 ara::core::StringView 内部,该函数补充了其他查找重载:
与 ara::core::BasicString([SWS_CORE_03409] )中的对应签名相比(该签名被声明为 not exception safe 且不保证 noexcept),StringView([SWS_CORE_02159] )中的变体提供了严格的异常安全性且没有内存分配开销。
此使用说明由人工智能基于 AUTOSAR Adaptive R25-11 规范创建。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#c17459d4
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02159@rel:R25-11#c17459d4
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#bdbbef632026-09-30 Inspect R24-11 rel:R24-11#6676259f2026-10-14 Inspect R25-11 rel:R25-11#c17459d42026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find (const char *s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f16e74818d29
来源
未决问题(2)
本使用说明基于 AUTOSAR Adaptive R25-11 规范自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#90fc90fe
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02160@rel:R25-11#90fc90fe
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#064ea5bc2026-09-30 Inspect R24-11 rel:R24-11#4ea581dd2026-10-14 Inspect R25-11 rel:R25-11#90fc90fe2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_not_of (StringView s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: fb4804b1c5ba
来源
未决问题(1)
本文本由 AI 创建;它不能替代对所引用规范的学习。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#1ce3807a
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02173@rel:R25-11#1ce3807a
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#68d44c142026-09-30 Inspect R24-11 rel:R24-11#396f73c12026-10-14 Inspect R25-11 rel:R25-11#1ce3807a2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_not_of (char c, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: d93e1265f673
来源
未决问题(1)
类 ara::core::StringView 的成员函数 find_first_not_of 同步确定字符序列中不等于传入字符 c 的第一个字符的位置 [SWS_CORE_02174] 。搜索默认从视图开头或从可选的偏移量 pos 开始。通过引用标准 [string.view],该函数推测返回所找到字符的类型为 size_type 的从零开始的索引,若不存在不同的字符则返回值 npos。 问题 Q-9f3eeedf35e475e7 (未决)
在错误处理方面,该函数被声明为 noexcept 并被指定为异常安全(exception safe )[SWS_CORE_02174] 。因此它不抛出异常,不使用 DET 或 DEM 报告,仅通过其返回值报告未找到字符。
作为 constexpr 和 const 方法,find_first_not_of 已经可以在编译时求值,并保证对底层字符数组的无状态、无副作用读访问。因此,在同一 StringView 实例上的并发调用是可重入的,且无需额外同步即是安全的。
该函数是 ara::core::StringView 中搜索操作族的一部分,并补充了用于通过 StringView [SWS_CORE_02173] 以及指针-长度对或以 Null 结尾的 C 字符串 [SWS_CORE_02175] [SWS_CORE_02176] 搜索不同子序列的重载。在 ara::core::BasicString [SWS_CORE_03340] 中存在可变字符串的功能等效项,与 StringView 相反,它被声明为非异常安全。
本文本由 AI 生成;所有说明均基于规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#2d0f4a99
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02174@rel:R25-11#2d0f4a99
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#f2e5d2f02026-09-30 Inspect R24-11 rel:R24-11#ac2cf4862026-10-14 Inspect R25-11 rel:R25-11#2d0f4a992026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_not_of (const char *s, size_type pos, size_type n) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 0b62a700470a
来源
未决问题(1)
本使用说明基于规范自动生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#37315b78
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02175@rel:R25-11#37315b78
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#0789a6a52026-09-30 Inspect R24-11 rel:R24-11#979df1152026-10-14 Inspect R25-11 rel:R25-11#37315b782026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_not_of (const char *s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 6459da1476d6
来源
未决问题(1)
此使用说明自动生成,并基于 AUTOSAR Adaptive R25-11 的规定。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#088ec6f3
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02176@rel:R25-11#088ec6f3
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#bafb32832026-09-30 Inspect R24-11 rel:R24-11#de0195822026-10-14 Inspect R25-11 rel:R25-11#088ec6f32026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_of (StringView s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: ac2c1254417a
来源
未决问题(1)
本文由 AI 生成,用于根据 AUTOSAR 规范提供参考。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#64f2bd5c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02165@rel:R25-11#64f2bd5c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#f273ce892026-09-30 Inspect R24-11 rel:R24-11#372e9b2c2026-10-14 Inspect R25-11 rel:R25-11#64f2bd5c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_of (char c, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 7942ee3cb4b2
来源
未决问题(1)
此使用说明是根据规范要求自动生成的。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#23a60a74
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02166@rel:R25-11#23a60a74
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#bf206aed2026-09-30 Inspect R24-11 rel:R24-11#7a1c0d2e2026-10-14 Inspect R25-11 rel:R25-11#23a60a742026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_of (const char *s, size_type pos, size_type n) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 4de0774d92b5
来源
未决问题(1)
来自头文件 #include "ara/core/string_view.h" 的类 ara::core::StringView([SWS_CORE_02167] )的成员函数 find_first_of 从位置 pos 开始同步搜索来自字符序列 s 的字符的首次出现。参数 n 限制了所传递指针中要考量的字符数量。该函数返回找到的位置作为 size_type;如果未找到字符,推测根据 [string.view] 返回值 npos。 问题 Q-eac57a47043e5b33 (未决)
以下规定适用于调用上下文和错误处理:
此使用说明自动生成,且完全基于针对 Adaptive R25-11 的 AUTOSAR 规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#25686111
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02167@rel:R25-11#25686111
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#2b1154372026-09-30 Inspect R24-11 rel:R24-11#d22b7d8e2026-10-14 Inspect R25-11 rel:R25-11#256861112026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_first_of (const char *s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 729a0ca675d4
来源
未决问题(1)
本文由 AI 创建并整理。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#c96dbb77
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02168@rel:R25-11#c96dbb77
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#b20a397c2026-09-30 Inspect R24-11 rel:R24-11#9429ef932026-10-14 Inspect R25-11 rel:R25-11#c96dbb772026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_not_of (StringView s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 3dd613d4243d
来源
未决问题(1)
本文本由 AI 创建,基于 AUTOSAR 标准版本 R25-11。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#900f4d21
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02177@rel:R25-11#900f4d21
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#fc7953eb2026-09-30 Inspect R24-11 rel:R24-11#fd03fedc2026-10-14 Inspect R25-11 rel:R25-11#900f4d212026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_not_of (char c, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 392e437f1cb7
来源
未决问题(1)
本使用说明是根据 R25-11 的 AUTOSAR 规范自动生成的。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#90fd2d25
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02178@rel:R25-11#90fd2d25
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#0cd1a7802026-09-30 Inspect R24-11 rel:R24-11#7574854f2026-10-14 Inspect R25-11 rel:R25-11#90fd2d252026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_not_of (const char *s, size_type pos, size_type n) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 8368e2692a37
来源
未决问题(1)
本文本由 AI 创建。AUTOSAR 规范是主要参考资料。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#4f63c0a8
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02179@rel:R25-11#4f63c0a8
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#0473290e2026-09-30 Inspect R24-11 rel:R24-11#5e1376c92026-10-14 Inspect R25-11 rel:R25-11#4f63c0a82026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_not_of (const char *s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 0106d9b9a697
来源
使用
类 ara::core::StringView 的成员函数 find_last_not_of 同步搜索字符视图中最后一个未在传入字符串 s 中出现的字符 [SWS_CORE_02180] 。该函数被指定为 constexpr 和 const,并通过头文件 ara/core/string_view.h 提供 [SWS_CORE_02180] 。该调用接收指向比较字符的指针 s 以及可选的起始位置 pos,并将找到的位置作为类型 size_type 返回 [SWS_CORE_02180] 。
错误处理与异常安全性
该函数被声明为 noexcept,并被定义为异常安全(exception safe )[SWS_CORE_02180] 。不返回特定错误码,也不抛出异常。与底层规范 [string.view] 相比,显式的差异在于保证的 noexcept 特性 [SWS_CORE_02180] 。
与相关函数的相互作用
在 ara::core::StringView 内存在用于搜索的相关重载:
在相关类 ara::core::BasicString 中提供了类似的搜索函数 [SWS_CORE_03320] ,其中那里的指针重载有差异地被归类为非异常安全(not exception safe )[SWS_CORE_03343] 。
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#75e15f4c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02180@rel:R25-11#75e15f4c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#70baa39a2026-09-30 Inspect R24-11 rel:R24-11#ddba2e792026-10-14 Inspect R25-11 rel:R25-11#75e15f4c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_of (StringView s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 6bb48053b1d5
来源
未决问题(1)
本文本由 AI 系统生成,仅基于 AUTOSAR R25-11 的规范数据。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#2a03c520
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02169@rel:R25-11#2a03c520
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#3a8597882026-09-30 Inspect R24-11 rel:R24-11#6d01cb3a2026-10-14 Inspect R25-11 rel:R25-11#2a03c5202026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_of (char c, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: daacb511fb62
来源
未决问题(1)
本文本由 AI 创建,仅供参考。具有约束力的是 AUTOSAR 规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#3cda8191
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02170@rel:R25-11#3cda8191
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#5804ed432026-09-30 Inspect R24-11 rel:R24-11#ccdccbf92026-10-14 Inspect R25-11 rel:R25-11#3cda81912026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_of (const char *s, size_type pos, size_type n) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 06784379044e
来源
未决问题(1)
使用
类 ara::core::StringView([SWS_CORE_02171] )的成员函数 find_last_of 用于同步搜索指针 s 所指向的 n 个字符集合中任意字符的最后一次出现。搜索从位置 pos 开始向后进行。该函数通过头文件 #include "ara/core/string_view.h" 提供,并且由于声明为 constexpr,它也可以在编译时求值的上下文中执行。
错误处理与异常安全性
该函数被显式声明为 noexcept,并被指定为异常安全(exception safe )([SWS_CORE_02171] )。在发生错误或未找到时不会抛出异常,也不会生成 DET 或 DEM 消息;其行为遵循 [string.view] 的语义。
限制与并发性
作为经 const 限定的方法,find_last_of 不会修改底层的 StringView 对象。解释:调用方大概必须确保指针 s 指向至少 n 个有效字符,因为规范未定义独立的缓冲区检查。 问题 Q-8d6241b8e7adc61d (未决)
相互作用
该方法补充了 ara::core::StringView 内 find_last_of 的其他重载,其中包括用于 StringView([SWS_CORE_02169] )、单个字符([SWS_CORE_02170] )和以空字符结尾的字符串([SWS_CORE_02172] )的变体。与 ara::core::BasicString 中的重载([SWS_CORE_03334] )不同(该重载被归类为非异常安全),StringView 实现保证了完全的 noexcept 语义。
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#abf4737c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02171@rel:R25-11#abf4737c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#29d746622026-09-30 Inspect R24-11 rel:R24-11#d5158f122026-10-14 Inspect R25-11 rel:R25-11#abf4737c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type find_last_of (const char *s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 8e0d3d1f38ec
来源
未决问题(1)
本文由 AI 基于 AUTOSAR 规范 R25-11 生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#f2ed8d65
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02172@rel:R25-11#f2ed8d65
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#0e4b27072026-09-30 Inspect R24-11 rel:R24-11#3d9606592026-10-14 Inspect R25-11 rel:R25-11#f2ed8d652026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reference front () const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Undefiniertes Verhalten The behavior of this function is undefined if: (empty() == true)
Status: valid/unmigrated
Version: rel:R25-11#7eb16d28
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02134@rel:R25-11#7eb16d28
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#062b83472026-09-30 Inspect R24-11 rel:R24-11#e4ea223b2026-10-14 Inspect R25-11 rel:R25-11#7eb16d282026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type length () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#ad8f44cd
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02129@rel:R25-11#ad8f44cd
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#f18abc3c2026-09-30 Inspect R24-11 rel:R24-11#1b5c3ba12026-10-14 Inspect R25-11 rel:R25-11#ad8f44cd2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type max_size () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#ba5261b2
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02130@rel:R25-11#ba5261b2
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#7cb038d22026-09-30 Inspect R24-11 rel:R24-11#65d6d7692026-10-14 Inspect R25-11 rel:R25-11#ba5261b22026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr StringView & operator= (const StringView &other) noexcept=default;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#474dfff5
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02116@rel:R25-11#474dfff5
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#07f45d522026-09-30 Inspect R24-11 rel:R24-11#5feb99a32026-10-14 Inspect R25-11 rel:R25-11#474dfff52026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr StringView & operator= (StringView &&other) noexcept=default;
[AUTOSAR defined] not present in ISO-14882. Move assignment operator
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#c1fe1b68
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02118@rel:R25-11#c1fe1b68
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#94f1be952026-09-30 Inspect R24-11 rel:R24-11#604b81ec2026-10-14 Inspect R25-11 rel:R25-11#c1fe1b682026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reference operator[] (size_type pos) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Undefiniertes Verhalten The behavior of this function is undefined if: (pos >= size())
Status: valid/unmigrated
Version: rel:R25-11#48ad2cf7
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02132@rel:R25-11#48ad2cf7
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#1f32ca172026-09-30 Inspect R24-11 rel:R24-11#3e2e7dd12026-10-14 Inspect R25-11 rel:R25-11#48ad2cf72026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reverse_iterator rbegin () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#220a6a7e
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02124@rel:R25-11#220a6a7e
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#05584e392026-09-30 Inspect R24-11 rel:R24-11#6630fc1a2026-10-14 Inspect R25-11 rel:R25-11#220a6a7e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr void remove_prefix (size_type n) noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 718964f271f2
来源
未决问题(1)
使用
类ara::core::StringView([SWS_CORE_02137] )的成员函数remove_prefix通过头文件#include "ara/core/string_view.h"提供。它具有签名constexpr void remove_prefix (size_type n) noexcept;([SWS_CORE_02137] )。该函数接收类型为size_type的参数n且不返回任何返回值。其语义符合[string.view]中的标准用法,但偏差在于该函数被声明为noexcept([SWS_CORE_02137] )。作为Interpretation,得益于constexpr规范,该方法预计也可以在编译时求值。 问题 Q-52b1ae9faeef8180 (未决)
错误处理与限制
该函数被指定为异常安全(exception safe )且不抛出异常([SWS_CORE_02137] )。未定义具体的错误码或通过DET或DEM的通知。但存在一项重要限制:当n > size()时,函数的行为未定义([SWS_CORE_02137] )。调用方必须在执行前确保要移除的字符数不超过字符串视图的当前长度。标准中未描述关于可重入性或并发性的进一步要求。
本使用说明由 AI 基于规范生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Undefiniertes Verhalten The behavior of this function is undefined if: (n > size())
Status: valid/unmigrated
Version: rel:R25-11#ec454e9c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02137@rel:R25-11#ec454e9c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#25a72b182026-09-30 Inspect R24-11 rel:R24-11#33b8e6a82026-10-14 Inspect R25-11 rel:R25-11#ec454e9c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr void remove_suffix (size_type n) noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 23bb3382cb4c
来源
类ara::core::StringView的成员函数remove_suffix通过头文件#include "ara/core/string_view.h"提供[SWS_CORE_02138] 。它用于将视图引用的字符窗口在右边缘(后缀)处缩短指定的n个字符。该操作直接在调用实例上同步执行,无返回值(void)[SWS_CORE_02138] 。得益于标记为constexpr,该函数也可以在编译时上下文中的转换阶段调用[SWS_CORE_02138] 。
关于错误处理、异常安全性和边界条件,适用以下规范要求[SWS_CORE_02138] :
异常安全性与标准偏差: 语义原则上参考C++标准[string.view]中的相应用法,但作为显式偏差,该函数被声明为noexcept并被指定为异常安全(exception safe)[SWS_CORE_02138] 。因此,它绝不抛出异常,也不报告错误码。
参数无效时的未定义行为: 如果传入的参数n大于视图的当前长度(n > size()),则函数的行为显式指定为未定义[SWS_CORE_02138] 。
调用方的责任: 由于既未规划异常处理也未规划运行时检查,因此在进行调用之前,确保始终满足前置条件n <= size()完全由调用代码负责。
此使用说明为自动生成,且仅基于R25-11的AUTOSAR规范。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Undefiniertes Verhalten The behavior of this function is undefined if: (n > size())
Status: valid/unmigrated
Version: rel:R25-11#f46ba019
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02138@rel:R25-11#f46ba019
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#423ca1252026-09-30 Inspect R24-11 rel:R24-11#1835e3b62026-10-14 Inspect R25-11 rel:R25-11#f46ba0192026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr const_reverse_iterator rend () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#8c33f37b
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02125@rel:R25-11#8c33f37b
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#6da2191a2026-09-30 Inspect R24-11 rel:R24-11#201552182026-10-14 Inspect R25-11 rel:R25-11#8c33f37b2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type rfind (StringView s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5f33ccf3504d
来源
未决问题(1)
本文字由 AI 生成。所有信息均完全基于 AUTOSAR 版本 R25-11 的规范。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#6f3374cf
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02161@rel:R25-11#6f3374cf
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#ffac9f6a2026-09-30 Inspect R24-11 rel:R24-11#98774dfb2026-10-14 Inspect R25-11 rel:R25-11#6f3374cf2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type rfind (char c, size_type pos=0) const noexcept;
As per corresponding usage in [string.view]
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 23fce4770293
来源
未决问题(1)
本文由 AI 自动生成,仅基于规范的有效载荷。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#138147bd
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02162@rel:R25-11#138147bd
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#d63df6882026-09-30 Inspect R24-11 rel:R24-11#c5eb2fbd2026-10-14 Inspect R25-11 rel:R25-11#138147bd2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type rfind (const char *s, size_type pos, size_type n) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 9ad4b80679fa
来源
未决问题(1)
本使用说明由 AI 基于规范生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#ba9e060c
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02163@rel:R25-11#ba9e060c
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#7c539bb22026-09-30 Inspect R24-11 rel:R24-11#773b57db2026-10-14 Inspect R25-11 rel:R25-11#ba9e060c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type rfind (const char *s, size_type pos=0) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: e69f05c5c49b
来源
未决问题(1)
使用
类 ara::core::StringView 的同步成员函数 rfind 用于根据 [SWS_CORE_02164] 查找字符串视图中某个字符串的最后一次出现。该函数通过头文件 ara/core/string_view.h 声明。它需要一个指向所搜索子序列的指针 const char *s,以及可选的用于反向搜索的起始索引 size_type pos = 0。结果作为 size_type 返回。由于该函数定义为 constexpr,搜索可以在运行时或直接在编译时执行。
错误处理与异常安全性
根据 [SWS_CORE_02164] ,rfind 被声明为 noexcept 并归类为异常安全(exception safe),这构成了相对 [string.view] 的明确偏差。因此排除了抛出 C++ 异常的可能性。规范范围内未提供特定错误码以及向 DEM 或 DET 的通知。
并发性与限制
由于这是一个 const 方法,该调用不会对 ara::core::StringView 对象产生任何修改性副作用([SWS_CORE_02164] )。解释:由于缺乏额外的长度参数,实现可能会期望 s 指向有效的以空字符结尾的字符串。 问题 Q-58b14518a8202703 (未决)
相互作用
在 ara::core::StringView 内部,rfind 与针对 StringView 参数([SWS_CORE_02161] )、单个字符([SWS_CORE_02162] )以及带长度说明的指针 n([SWS_CORE_02163] )的重载组合在一起。虽然类 ara::core::BasicString 提供了类似的搜索操作(如 [SWS_CORE_03316] ),但那里的指针重载部分不是异常安全的([SWS_CORE_03327] )。
本使用说明基于 Release R25-11 的规范自动生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#d63db259
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02164@rel:R25-11#d63db259
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#ddbe1f912026-09-30 Inspect R24-11 rel:R24-11#631953d62026-10-14 Inspect R25-11 rel:R25-11#d63db2592026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr size_type size () const noexcept;
As per corresponding usage in [string.view]
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#46ad2812
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02128@rel:R25-11#46ad2812
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#12a9ac462026-09-30 Inspect R24-11 rel:R24-11#e864df132026-10-14 Inspect R25-11 rel:R25-11#46ad28122026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool starts_with (StringView sv) const noexcept;
As per corresponding usage in [string.view] in [15]
Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: dbcec7b2a013
来源
未决问题(1)
使用
类 ara::core::StringView 的成员函数 starts_with 同步检查字符串是否以类型为 StringView 的指定前缀 sv 开头([SWS_CORE_02148] )。它在头文件 ara/core/string_view.h 中声明。作为 constexpr 方法,该调用既可以在运行时求值,也可以在编译时求值。其语义符合 C++20 标准([SWS_CORE_02148] )中 [string.view] 的规范。
错误处理
该函数被声明为 noexcept 并被指定为异常安全(“exception safe”)([SWS_CORE_02148] )。它不抛出任何异常,也不通过 DET 或 DEM 发送任何错误报告。如果字符序列不匹配,则正常返回 false。
并发性与限制
规范未对线程安全性作出明确说明。解释:作为不可变视图上的无状态 const 方法,来自多个线程的并发读访问应该是安全且可重入的。 问题 Q-24f102c9029c95ba (未决) 未规定特殊的调用上下文或顺序条件。
相互作用
为了灵活地检查前缀,除了 StringView 的变体之外,还提供了另外两个重载:一个用于单个字符 char([SWS_CORE_02149] ),另一个用于以 Null 结尾的字符串 const char*([SWS_CORE_02150] )。
此使用说明由 AI 生成,并基于版本 R25-11 的规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#4c6a7c7f
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02148@rel:R25-11#4c6a7c7f
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#1b8596c12026-09-30 Inspect R24-11 rel:R24-11#253a8a532026-10-14 Inspect R25-11 rel:R25-11#4c6a7c7f2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool starts_with (char c) const noexcept;
As per corresponding usage in [string.view] in [15]
Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: cbd4b1c50f57
来源
未决问题(1)
类 ara::core::StringView 的成员函数 starts_with 同步检查字符序列是否以传入的单个字符 c 开头 [SWS_CORE_02149] 。该声明通过头文件 ara/core/string_view.h 提供,并遵循来自 C++ 标准 ISO/IEC 14882:2020 的 [string.view] 行为 [SWS_CORE_02149] 。
用法与语义
传入类型为 char 的单个字符作为参数。该函数返回一个布尔值:当底层字符串非空且其首字符与 c 一致时返回 true,否则返回 false。通过标记为 constexpr,比较操作可在编译时完成求值 [SWS_CORE_02149] 。
错误处理与异常安全性
规范将该函数标明为异常安全(exception safe )并明确标为 noexcept [SWS_CORE_02149] 。不触发异常,也不通过 DET 或 DEM 报告错误代码。当字符序列为空时不会发生错误,函数正常返回 false。
并发性与限制
推测:由于这是声明为 const 的无副作用检查函数,因此在同一 StringView 实例上的并发读取调用应当是线程安全的。 问题 Q-4b87a6891c7abb18 (未决) 不存在特定的时序要求。
相互作用
该函数补充了 ara::core::StringView 中 starts_with 的另外两个重载:
此提示基于 AUTOSAR R25-11 自动生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#28a30a0f
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02149@rel:R25-11#28a30a0f
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#fa0c3b732026-09-30 Inspect R24-11 rel:R24-11#ea854d512026-10-14 Inspect R25-11 rel:R25-11#28a30a0f2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr bool starts_with (const char *str) const noexcept;
As per corresponding usage in [string.view] in [15] 1. The function is noexcept
Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 6c99bbc1721d
来源
未决问题(1)
本使用说明基于 AUTOSAR Adaptive R25-11 规范自动生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#54439b97
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02150@rel:R25-11#54439b97
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#0a20559c2026-09-30 Inspect R24-11 rel:R24-11#5d9dc57c2026-10-14 Inspect R25-11 rel:R25-11#54439b972026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr StringView substr (size_type pos=0, size_type n=npos ) const noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. if (pos > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 9aff7896b6f5
来源
未决问题(1)
本文由 AI 基于 AUTOSAR 规范 R25-11 生成。
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Verletzungen (Violations) IsoStdOut- Description as per std::out_of_range. OfRangeViolation
Status: valid/unmigrated
Version: rel:R25-11#d8086c78
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02141@rel:R25-11#d8086c78
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#52917eba2026-09-30 Inspect R24-11 rel:R24-11#692e60132026-10-14 Inspect R25-11 rel:R25-11#d8086c782026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
constexpr void swap (StringView &other) noexcept;
As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe Undefiniertes Verhalten The behavior of this function is undefined if: (n > size())
Status: valid/unmigrated
Version: rel:R25-11#036336f9
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02139@rel:R25-11#036336f9
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#c30837122026-09-30 Inspect R24-11 rel:R24-11#9bbb741c2026-10-14 Inspect R25-11 rel:R25-11#036336f92026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
~StringView () noexcept=default;
[AUTOSAR defined] not present in ISO-14882. Destructor
Header-Datei #include "ara/core/string_view.h" Scope class ara::core::StringView Exception-Sicherheit exception safe
Status: valid/unmigrated
Version: rel:R25-11#f8fc337d
Versionshistorie & Revisions (1 transition, 3 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_CORE_02119@rel:R25-11#f8fc337d
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#2419cd1d2026-09-30 Inspect R24-11 rel:R24-11#0a6aa3182026-10-14 Inspect R25-11 rel:R25-11#f8fc337d2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
gemini-3.8-flash-low· 2026-10-13 · 德文原文