DEENESPTFRRUARHIKOZHNL

类 ara::core::Result

[SWS_CORE_00701] Upstream: RS_AP_00130

template <typename T, typename E = ErrorCode> class Result final {...};

This class is a type that contains either a value or an error. The implementation shall flag the condition E != ara::core::ErrorCode as a compile error.

Header-Datei#include "ara/core/result.h"
Forwarding-Header#include "ara/core/core_fwd.h"
Scopenamespace ara::core

用户指南人工智能生成

封装成功值或错误值,用于同步、无异常的结果传递。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 33e53dcae988 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

封装成功值或错误值,用于同步、无异常的结果传递。

该类表示一个类型安全的容器,它容纳有效负载值或错误代码,以同步且无需 C++ 异常的方式传递计算结果 [SWS_CORE_00751]。调用方通过专用构造函数或工厂函数创建实例,随后根据状态通过检查和访问函数(例如值或错误访问)评估结果。作为关键约束,底层错误类型必须强制对应于标准错误代码,因为偏离的类型配置在编译时会被拒绝。此外,用于触发异常的函数以启用了 C++ 异常的编译器环境为前提 [SWS_CORE_00766]。

上下文

类 ara::core::Result 是 AUTOSAR Adaptive Platform 的核心结构,用于同步、类型化地返回操作结果,而无需强制使用 C++ 异常。它表示一个可辨识联合(Tagged Union),在任何时间点要么包含类型为 value_type(T)的有效负载值,要么包含类型为 error_type(E)的错误 [SWS_CORE_00711] [SWS_CORE_00712]。默认情况下,ara::core::ErrorCode 用作 E 的类型;偏离的错误定义在编译时就会被实现通过编译错误所阻止。

在应用架构中,ara::core::Result 在被调用的服务和使用者之间进行中介。服务实例化该对象以返回状态,而使用者通过状态测试(如 [SWS_CORE_00751])或函数式链接(如 [SWS_CORE_00768])触发进一步处理。此外,该状态可通过 [SWS_CORE_00770](Ok)和 [SWS_CORE_00772](Err)转换为 ara::core::Optional。

生命周期

实例的初始化要么直接通过针对值的构造函数([SWS_CORE_00721]、[SWS_CORE_00722])进行,要么显式通过针对错误的构造函数([SWS_CORE_00723]、[SWS_CORE_00724])进行。此外还提供静态工厂函数:针对左值、右值和原位(in-place)参数的 FromValue([SWS_CORE_00731]、[SWS_CORE_00732]、[SWS_CORE_00733]),以及用于创建错误状态的 FromError([SWS_CORE_00734]、[SWS_CORE_00735]、[SWS_CORE_00736])。

ara::core::Result 独占拥有所包含的数据并管理其生命周期。它通过复制和移动构造函数([SWS_CORE_00725]、[SWS_CORE_00726])以及相应的赋值运算符([SWS_CORE_00741]、[SWS_CORE_00742])支持完整的值语义。现有实例的内容替换可通过 Swap [SWS_CORE_00745] 或通过借助 EmplaceValue [SWS_CORE_00743] 或 EmplaceError [SWS_CORE_00744] 原位覆盖来实现。

析构函数释放活动元素;如果 T 和 E 都是平凡可析构的,则该析构函数被视为平凡可析构 [SWS_CORE_00727]。关于并发性,纯读取访问是线程安全的,而诸如 EmplaceValue、EmplaceError、移动赋值或 Swap 等修改性操作不是线程安全的,需要外部同步。

ResultLifecycle __start WertEnthalten Wert enthalten (T) __start->WertEnthalten FromValue / Result(T) FehlerEnthalten Fehler enthalten (E) __start->FehlerEnthalten FromError / Result(E) WertEnthalten->FehlerEnthalten EmplaceError __end WertEnthalten->__end ~Result FehlerEnthalten->WertEnthalten EmplaceValue FehlerEnthalten->__end ~Result

状态图:Result 实例生命周期内值状态与错误状态之间的状态转换。来源:[SWS_CORE_00721]、[SWS_CORE_00723]、[SWS_CORE_00743]、[SWS_CORE_00744]、[SWS_CORE_00727]

使用路径

常规流程包括结果的创建、验证和获取:

  1. 提供:服务通过 [SWS_CORE_00731] 或 [SWS_CORE_00734] 创建结果,并按值返回该实例。
  2. 状态检查:调用方利用 HasValue() [SWS_CORE_00751] 或显式转换运算符 operator bool() [SWS_CORE_00752] 检查是否存在值。如果 T 本身属于类型 bool,则后者被禁用。
  3. 值与错误访问:如果存在值,则可以通过 Value()([SWS_CORE_00755]、[SWS_CORE_00756]、[SWS_CORE_00775])或运算符 operator*([SWS_CORE_00753]、[SWS_CORE_00759])和 operator->([SWS_CORE_00754]、[SWS_CORE_00777])读取该值。在发生错误的情况下,通过 Error()([SWS_CORE_00757]、[SWS_CORE_00758]、[SWS_CORE_00776])进行访问,或者通过 CheckError() [SWS_CORE_00765] 进行针对性的错误检查。
  4. 函数式转换:或者,Bind() [SWS_CORE_00768] 允许进行 monadic 进一步处理:仅当包含有效负载值时才执行传入的可调用对象;现有错误将不加修改地传播到新的 Result 实例中。回退可以通过 Resolve() [SWS_CORE_00767] 实现。
结果检查与查询流程应用Dienstara::core::Resultausfuehren()FromValue(wert) / FromError(fehler)Result<T, E>HasValue()bool (true / false)altHasValue() == trueValue()const T&HasValue() == falseError()const E&

时序图:查询和评估 Result 实例时的典型调用流程。来源:[SWS_CORE_00731]、[SWS_CORE_00751]、[SWS_CORE_00755]、[SWS_CORE_00757]、[SWS_CORE_00768]

错误场景

访问非活动状态会违反该类的前置条件:

解释:触发此类前置条件违例在运行时环境中通常很可能会导致进程立即中止,因为标准将这些状态归类为严重的编程错误。 问题 Q-15376f67084c4be6 (未决)为避免硬性中止,可以使用防御性方法:ValueOr()([SWS_CORE_00761]、[SWS_CORE_00762])和 ErrorOr()([SWS_CORE_00763]、[SWS_CORE_00764])在元素缺失时返回指定的默认值。诸如 Ok()([SWS_CORE_00770]、[SWS_CORE_00771])和 Err()([SWS_CORE_00772]、[SWS_CORE_00773])等可选变体以无异常方式封装访问。

如果需要异常处理,ValueOrThrow()([SWS_CORE_00766]、[SWS_CORE_00769]、[SWS_CORE_00778])在发生错误时会抛出与该错误关联的 C++ 异常。如果编译器中禁用了 C++ 异常,则 ValueOrThrow() 将从重载解析中移除 [SWS_CORE_00766];同样,operator* 的非 const 左值重载在此情况下也会被禁用 [SWS_CORE_00774]。

本指南由 AI 策划助手基于 AUTOSAR Adaptive R25-11 的规范要求生成。

成员图

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

类图

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__core__Result167 Result + Result() + operator=() + ~Result() + Bind() + CheckError() + EmplaceError() + EmplaceValue() + Err() + Error() + ErrorOr() + HasValue() + Ok() + Resolve() + Swap() + Value() + ValueOr() … 6 weitere

详细视图

请在大纲中选择一个条目。

Erzeugung und Lebenszyklus

FromError 函数 3

Build a new ara::core::Result from the specified error (given as lvalue)

重载 FromError 3
static Result FromError (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00734
static Result FromError (E &&e) noexcept(std::is_nothrow_move_ constructible< E >::value); SWS_CORE_00735
template <typename... Args> static Result FromError (Args &&... args) noexcept(std::is_nothrow_ constructible< E, Args... >::value); SWS_CORE_00736
FromValue 函数 3

Build a new ara::core::Result from the specified value (given as lvalue) t

重载 FromValue 3
static Result FromValue (const T &t) noexcept(std::is_nothrow_copy_ constructible< T >::value); SWS_CORE_00731
static Result FromValue (T &&t) noexcept(std::is_nothrow_move_ constructible< T >::value); SWS_CORE_00732
template <typename... Args> static Result FromValue (Args &&... args) noexcept(std::is_nothrow_ constructible< T, Args... >::value); SWS_CORE_00733
Result 函数 6

Construct a new ara::core::Result from the specified value (given as lvalue)

重载 Result 6
Result (const T &t) noexcept(std::is_nothrow_copy_constructible< T >::value); SWS_CORE_00721
Result (T &&t) noexcept(std::is_nothrow_move_constructible< T >::value); SWS_CORE_00722
explicit Result (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00723
explicit Result (E &&e) noexcept(std::is_nothrow_move_constructible< E >::value); SWS_CORE_00724
~Result 函数

Destructor This destructor is trivial if: • std::is_trivially_destructible<T>::value == true and • std::is_trivially_destructible<E>::value == true ≙ std::is_trivially_destructible

~Result () noexcept;

Zustandsänderung

Put a new error into this instance, constructed in-place from the given arguments.

template <typename... Args> void EmplaceError (Args &&... args) noexcept(std::is_nothrow_ constructible< E, Args... >::value);

Put a new value into this instance, constructed in-place from the given arguments.

template <typename... Args> void EmplaceValue (Args &&... args) noexcept(std::is_nothrow_ constructible< T, Args... >::value);
operator= 函数 2

Copy-assign another ara::core::Result to this instance

重载 = 2
Swap 函数

Exchange the contents of this instance with those of other

Zustandsabfrage

CheckError 函数

Return whether this instance contains the given error. This call compares the argument error, static_cast’d to E, with the return value from Error()

template <typename G> bool CheckError (G &&error) const noexcept;
HasValue 函数

Check whether *this contains a value.

bool HasValue () const noexcept;

Check whether *this contains a value. This function shall be disabled if: std::is_same<std::decay_t<T>,bool>: :value == true ≙ std::is_same

explicit operator bool () const noexcept;

Wertzugriff

Ok 函数 2

Return the contained value as an ara::core::Optional.

重载 Ok 2
Optional< T > Ok () const &noexcept(std::is_nothrow_constructible< Optional< T >, const T &>::value); SWS_CORE_00770
Optional< T > Ok () &&noexcept(std::is_nothrow_constructible< Optional< T >, T && >::value); SWS_CORE_00771
operator* 函数 3

Access the contained value.

重载 * 3
const T & operator* () const & noexcept; SWS_CORE_00753
T && operator* () &&noexcept; SWS_CORE_00759
T & operator* () & noexcept; SWS_CORE_00774
operator-> 函数 2

Access the contained value.

重载 -> 2
const T * operator-> () const noexcept; SWS_CORE_00754
T * operator-> () noexcept; SWS_CORE_00777
Resolve 函数

Return the contained value or return the result of a function call.

template <typename F> T Resolve (F &&f) const;
Value 函数 3

Access the contained value.

重载 Value 3
const T & Value () const & noexcept; SWS_CORE_00755
T && Value () &&noexcept; SWS_CORE_00756
T & Value () & noexcept; SWS_CORE_00775
ValueOr 函数 2

Return the contained value or the given default value. If *this contains a value, it is returned. Otherwise, the specified default value is returned, static_cast’d to T

重载 ValueOr 2
template <typename U> T ValueOr (U &&defaultValue) const &noexcept(std::is_nothrow_copy_ constructible< T >::value &&std::is_nothrow_constructible< T, U &&>::value); SWS_CORE_00761
template <typename U> T ValueOr (U &&defaultValue) &&noexcept(std::is_nothrow_move_ constructible< T >::value &&std::is_nothrow_constructible< T, U && >::value); SWS_CORE_00762
ValueOrThrow 函数 3

Return the contained value or throw an exception.

重载 ValueOrThrow 3
const T & ValueOrThrow () const &noexcept(false); SWS_CORE_00766
T && ValueOrThrow () &&noexcept(false); SWS_CORE_00769
T & ValueOrThrow () &noexcept(false); SWS_CORE_00778

Fehlerbehandlung

Err 函数 2

Return the contained error as an ara::core::Optional.

重载 Err 2
Optional< E > Err () const &noexcept(std::is_nothrow_constructible< Optional< E >, const E &>::value); SWS_CORE_00772
Optional< E > Err () &&noexcept(std::is_nothrow_constructible< Optional< E >, E && >::value); SWS_CORE_00773
Error 函数 3

Access the contained error.

重载 Error 3
const E & Error () const & noexcept; SWS_CORE_00757
E && Error () &&noexcept; SWS_CORE_00758
E & Error () & noexcept; SWS_CORE_00776
ErrorOr 函数 2

Return the contained error or the given default error. If *this contains an error, it is returned. Otherwise, the specified default error is returned, static_cast’d to E

重载 ErrorOr 2
template <typename G> E ErrorOr (G &&defaultError) const &noexcept(std::is_nothrow_copy_ constructible< E >::value &&std::is_nothrow_constructible< E, G &&>::value); SWS_CORE_00763
template <typename G> E ErrorOr (G &&defaultError) &&noexcept(std::is_nothrow_move_ constructible< E >::value &&std::is_nothrow_constructible< E, G && >::value); SWS_CORE_00764

Funktionsverkettung

Bind 函数

Apply the given Callable to the value of this instance, and return a new ara::core:: Result with the result of the call.

template <typename F> auto Bind (F &&f) const -> <see below>;

Typinformation

error_type 类型别名

Type alias for the type E of errors

using error_type = E;
value_type 类型别名

Type alias for the type T of values

using value_type = T;

方法文档

函数 Bind [SWS_CORE_00768] Upstream: RS_AP_00130

template <typename F> auto Bind (F &&f) const -> <see below>;

Apply the given Callable to the value of this instance, and return a new ara::core:: Result with the result of the call.

The Callable is expected to be compatible to one of these two interfaces: • Result<XXX, E> f(const T&); • <ARTechTerm{XXX f(const T&);}> • <ARNewline{}> • <ARNewline{}> • <ARTechTerm{Callable}> • Result<XXX> or a XXX directly, where XXX can be any type that is suitable for use by ara::core::Result.

The return type of this function is decltype(f(Value())) for a template argument F that returns a ara::core::Result type, and it is Result<decltype(f(Value())), E> for a template argument F that does not return a ara::core::Result type.

If this instance does not contain a value, a new Result<XXX, E> is still created and returned, with the original error contents of this instance being copied into the new instance.}>}

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitnot exception safe
Thread-Sicherheitconditional, depends on thread-safety of f()

Template-Parameter

ParameterBeschreibung
Fthe type of the Callable f()

Parameter (in)

ParameterBeschreibung
fthe Callable

Rückgabewert

TypBeschreibung
<see below>a new ara::core::Result instance of the possibly transformed type

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00768
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00768@rel:R25-11#12f93270
Content hash
12f93270
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00768
Status: valid/unmigrated Version: rel:R25-11#538bc6fb Versionshistorie & Revisions (1 transition, 8 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_00768@rel:R25-11#538bc6fb
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#091c5cfb2026-09-30
  • R19-11rel:R19-11#145bd7062026-10-14
  • R20-11rel:R20-11#b83b499f2026-10-14
  • R21-11rel:R21-11#f2829ca82026-10-14
  • R22-11rel:R22-11#acfa23e82026-10-14
  • R23-11rel:R23-11#3358f17b2026-10-14
  • R24-11rel:R24-11#269593e02026-10-14
  • R25-11rel:R25-11#538bc6fb2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 CheckError [SWS_CORE_00765] Upstream: RS_AP_00130

template <typename G> bool CheckError (G &&error) const noexcept;

Return whether this instance contains the given error. This call compares the argument error, static_cast’d to E, with the return value from Error()

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
Gthe type of the error argument error

Parameter (in)

ParameterBeschreibung
errorthe error to check

Rückgabewert

TypBeschreibung
booltrue if *this contains an error that is equivalent to the given error, false otherwise

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00765
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00765@rel:R25-11#ca719d4f
Content hash
ca719d4f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00765
Status: valid/unmigrated Version: rel:R25-11#69d93ea6 Versionshistorie & Revisions (1 transition, 8 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_00765@rel:R25-11#69d93ea6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8b41de992026-09-30
  • R19-11rel:R19-11#6d4507a12026-10-14
  • R20-11rel:R20-11#27cf93cc2026-10-14
  • R21-11rel:R21-11#08838a5c2026-10-14
  • R22-11rel:R22-11#2a8019b42026-10-14
  • R23-11rel:R23-11#4aafeaff2026-10-14
  • R24-11rel:R24-11#75a20b7c2026-10-14
  • R25-11rel:R25-11#69d93ea62026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 EmplaceError [SWS_CORE_00744] Upstream: RS_AP_00130

template <typename... Args> void EmplaceError (Args &&... args) noexcept(std::is_nothrow_ constructible< E, Args... >::value);

Put a new error into this instance, constructed in-place from the given arguments.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Template-Parameter

ParameterBeschreibung
Args...the types of arguments given to this function

Parameter (in)

ParameterBeschreibung
argsthe arguments used for constructing the error

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00744
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00744@rel:R25-11#ce0c0e48
Content hash
ce0c0e48
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00744
Status: valid/unmigrated Version: rel:R25-11#416335ad Versionshistorie & Revisions (1 transition, 8 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_00744@rel:R25-11#416335ad
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#855d5c662026-09-30
  • R19-11rel:R19-11#9e6fa0f82026-10-14
  • R20-11rel:R20-11#2fd1f1de2026-10-14
  • R21-11rel:R21-11#2fd1f1de2026-10-14
  • R22-11rel:R22-11#0e25b01c2026-10-14
  • R23-11rel:R23-11#3496f66a2026-10-14
  • R24-11rel:R24-11#416335ad2026-10-14
  • R25-11rel:R25-11#416335ad2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 EmplaceValue [SWS_CORE_00743] Upstream: RS_AP_00130

template <typename... Args> void EmplaceValue (Args &&... args) noexcept(std::is_nothrow_ constructible< T, Args... >::value);

Put a new value into this instance, constructed in-place from the given arguments.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Template-Parameter

ParameterBeschreibung
Args...the types of arguments given to this function

Parameter (in)

ParameterBeschreibung
argsthe arguments used for constructing the value

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00743
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00743@rel:R25-11#48be6434
Content hash
48be6434
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00743
Status: valid/unmigrated Version: rel:R25-11#088e6271 Versionshistorie & Revisions (1 transition, 8 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_00743@rel:R25-11#088e6271
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#937cf2db2026-09-30
  • R19-11rel:R19-11#2742552f2026-10-14
  • R20-11rel:R20-11#c0697a132026-10-14
  • R21-11rel:R21-11#c54e0ccd2026-10-14
  • R22-11rel:R22-11#6575d93b2026-10-14
  • R23-11rel:R23-11#835ec7ab2026-10-14
  • R24-11rel:R24-11#ebd046ad2026-10-14
  • R25-11rel:R25-11#088e62712026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Err [SWS_CORE_00772] Upstream: RS_AP_00130

Optional< E > Err () const &noexcept(std::is_nothrow_constructible< Optional< E >, const E &>::value);

Return the contained error as an ara::core::Optional.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Optional< E >an ara::core::Optional with the error, if present

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00772
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00772@rel:R25-11#4dd3f3b2
Content hash
4dd3f3b2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00772
Status: valid/unmigrated Version: rel:R25-11#95b338cd Versionshistorie & Revisions (1 transition, 7 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_00772@rel:R25-11#95b338cd
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#c3b180b12026-09-30
  • R20-11rel:R20-11#5f405f9b2026-10-14
  • R21-11rel:R21-11#5f405f9b2026-10-14
  • R22-11rel:R22-11#8f96f7722026-10-14
  • R23-11rel:R23-11#03e109f92026-10-14
  • R24-11rel:R24-11#b00930972026-10-14
  • R25-11rel:R25-11#95b338cd2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Err [SWS_CORE_00773] Upstream: RS_AP_00130

Optional< E > Err () &&noexcept(std::is_nothrow_constructible< Optional< E >, E && >::value);

Return the contained error as an ara::core::Optional.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Optional< E >an ara::core::Optional with the error, if present

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00773
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00773@rel:R25-11#e9047ccf
Content hash
e9047ccf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00773
Status: valid/unmigrated Version: rel:R25-11#092e44b4 Versionshistorie & Revisions (1 transition, 7 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_00773@rel:R25-11#092e44b4
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#047e7aa62026-09-30
  • R20-11rel:R20-11#453beefb2026-10-14
  • R21-11rel:R21-11#453beefb2026-10-14
  • R22-11rel:R22-11#9e246da02026-10-14
  • R23-11rel:R23-11#223297b92026-10-14
  • R24-11rel:R24-11#d542d54e2026-10-14
  • R25-11rel:R25-11#092e44b42026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Error [SWS_CORE_00757] Upstream: RS_AP_00130

const E & Error () const & noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoEr- If *this does not contain an error. rorViolation

Rückgabewert

TypBeschreibung
const E &a const reference to the contained error

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00757
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00757@rel:R25-11#2449d109
Content hash
2449d109
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00757
Status: valid/unmigrated Version: rel:R25-11#99c52fef Versionshistorie & Revisions (1 transition, 8 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_00757@rel:R25-11#99c52fef
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8fc61eef2026-09-30
  • R19-11rel:R19-11#a647cb7b2026-10-14
  • R20-11rel:R20-11#840184932026-10-14
  • R21-11rel:R21-11#058a3a2c2026-10-14
  • R22-11rel:R22-11#77c55ad62026-10-14
  • R23-11rel:R23-11#5f0e51292026-10-14
  • R24-11rel:R24-11#99c52fef2026-10-14
  • R25-11rel:R25-11#99c52fef2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Error [SWS_CORE_00758] Upstream: RS_AP_00130

E && Error () &&noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoEr- If *this does not contain an error. rorViolation

Rückgabewert

TypBeschreibung
E &&an rvalue reference to the contained error

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00758
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00758@rel:R25-11#dc81e116
Content hash
dc81e116
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00758
Status: valid/unmigrated Version: rel:R25-11#3f94517e Versionshistorie & Revisions (1 transition, 8 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_00758@rel:R25-11#3f94517e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#976365112026-09-30
  • R19-11rel:R19-11#d2cf268f2026-10-14
  • R20-11rel:R20-11#26261d962026-10-14
  • R21-11rel:R21-11#26261d962026-10-14
  • R22-11rel:R22-11#063416632026-10-14
  • R23-11rel:R23-11#bef0f1cc2026-10-14
  • R24-11rel:R24-11#3f94517e2026-10-14
  • R25-11rel:R25-11#3f94517e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Error [SWS_CORE_00776] Upstream: RS_AP_00130

E & Error () & noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoEr- If *this does not contain an error. rorViolation

Rückgabewert

TypBeschreibung
E&a reference to the contained error

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00776
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00776@rel:R25-11#d721f320
Content hash
d721f320
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00776
Status: valid/unmigrated Version: rel:R25-11#0d0a1336 Versionshistorie & Revisions (1 transition, 4 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_00776@rel:R25-11#0d0a1336
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#83120c022026-09-30
  • R23-11rel:R23-11#d50aba1f2026-10-14
  • R24-11rel:R24-11#0d0a13362026-10-14
  • R25-11rel:R25-11#0d0a13362026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ErrorOr [SWS_CORE_00763] Upstream: RS_AP_00130

template <typename G> E ErrorOr (G &&defaultError) const &noexcept(std::is_nothrow_copy_ constructible< E >::value &&std::is_nothrow_constructible< E, G &&>::value);

Return the contained error or the given default error. If *this contains an error, it is returned. Otherwise, the specified default error is returned, static_cast’d to E

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
Gthe type of defaultError

Parameter (in)

ParameterBeschreibung
defaultErrorthe error to use if *this does not contain an error

Rückgabewert

TypBeschreibung
Ethe error

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00763
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00763@rel:R25-11#bffcc3a5
Content hash
bffcc3a5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00763
Status: valid/unmigrated Version: rel:R25-11#a1dae1a6 Versionshistorie & Revisions (1 transition, 8 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_00763@rel:R25-11#a1dae1a6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8b7c73122026-09-30
  • R19-11rel:R19-11#69a3ca812026-10-14
  • R20-11rel:R20-11#010d85b72026-10-14
  • R21-11rel:R21-11#010d85b72026-10-14
  • R22-11rel:R22-11#f18c3f822026-10-14
  • R23-11rel:R23-11#d79aa1652026-10-14
  • R24-11rel:R24-11#e0c5b1452026-10-14
  • R25-11rel:R25-11#a1dae1a62026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ErrorOr [SWS_CORE_00764] Upstream: RS_AP_00130

template <typename G> E ErrorOr (G &&defaultError) &&noexcept(std::is_nothrow_move_ constructible< E >::value &&std::is_nothrow_constructible< E, G && >::value);

Return the contained error or the given default error. If *this contains an error, it is std:: move’d into the return value. Otherwise, the specified default error is returned, static_cast’d to E

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
Gthe type of defaultError

Parameter (in)

ParameterBeschreibung
defaultErrorthe error to use if *this does not contain an error

Rückgabewert

TypBeschreibung
Ethe error

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00764
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00764@rel:R25-11#5b574289
Content hash
5b574289
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00764
Status: valid/unmigrated Version: rel:R25-11#011ca34c Versionshistorie & Revisions (1 transition, 7 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_00764@rel:R25-11#011ca34c
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#d9ff14cc2026-09-30
  • R20-11rel:R20-11#2abc541e2026-10-14
  • R21-11rel:R21-11#ed8605b42026-10-14
  • R22-11rel:R22-11#0f4691fa2026-10-14
  • R23-11rel:R23-11#f2a695442026-10-14
  • R24-11rel:R24-11#5e8c517b2026-10-14
  • R25-11rel:R25-11#011ca34c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 FromError [SWS_CORE_00734] Upstream: RS_AP_00130

static Result FromError (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value);

Build a new ara::core::Result from the specified error (given as lvalue)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
ethe error to put into the ara::core::Result

Rückgabewert

TypBeschreibung
Resulta ara::core::Result that contains the error e

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00734
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00734@rel:R25-11#892d9490
Content hash
892d9490
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00734
Status: valid/unmigrated Version: rel:R25-11#0aad7443 Versionshistorie & Revisions (1 transition, 8 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_00734@rel:R25-11#0aad7443
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#47db5db52026-09-30
  • R19-11rel:R19-11#27895be12026-10-14
  • R20-11rel:R20-11#1e26765e2026-10-14
  • R21-11rel:R21-11#1e26765e2026-10-14
  • R22-11rel:R22-11#958d06022026-10-14
  • R23-11rel:R23-11#b01de1942026-10-14
  • R24-11rel:R24-11#27ffba582026-10-14
  • R25-11rel:R25-11#0aad74432026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 FromError [SWS_CORE_00735] Upstream: RS_AP_00130

static Result FromError (E &&e) noexcept(std::is_nothrow_move_ constructible< E >::value);

Build a new ara::core::Result from the specified error (given as rvalue)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
ethe error to put into the ara::core::Result

Rückgabewert

TypBeschreibung
Resulta ara::core::Result that contains the error e

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00735
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00735@rel:R25-11#3be9c9b0
Content hash
3be9c9b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00735
Status: valid/unmigrated Version: rel:R25-11#bfa22f5a Versionshistorie & Revisions (1 transition, 8 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_00735@rel:R25-11#bfa22f5a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#85bda9f22026-09-30
  • R19-11rel:R19-11#8fb26cf52026-10-14
  • R20-11rel:R20-11#65cd075c2026-10-14
  • R21-11rel:R21-11#65cd075c2026-10-14
  • R22-11rel:R22-11#40aa5eb42026-10-14
  • R23-11rel:R23-11#47a2e5b92026-10-14
  • R24-11rel:R24-11#091b49d22026-10-14
  • R25-11rel:R25-11#bfa22f5a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 FromError [SWS_CORE_00736] Upstream: RS_AP_00130

template <typename... Args> static Result FromError (Args &&... args) noexcept(std::is_nothrow_ constructible< E, Args... >::value);

Build a new ara::core::Result from an error that is constructed in-place from the given arguments. This function shall not participate in overload resolution unless: • std::is_constructible<E, Args&&...>::value == true and • the first type of the expanded parameter pack is not E and • the first type of the expanded parameter pack is not a specialization of ara::core::Result

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
Args...the types of arguments given to this function

Parameter (in)

ParameterBeschreibung
argsthe arguments used for constructing the error

Rückgabewert

TypBeschreibung
Resulta ara::core::Result that contains an error

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00736
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00736@rel:R25-11#a11d7389
Content hash
a11d7389
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00736
Status: valid/unmigrated Version: rel:R25-11#44fc7d62 Versionshistorie & Revisions (1 transition, 8 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_00736@rel:R25-11#44fc7d62
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#6fbd66c12026-09-30
  • R19-11rel:R19-11#674144c72026-10-14
  • R20-11rel:R20-11#209da1d32026-10-14
  • R21-11rel:R21-11#e97d84412026-10-14
  • R22-11rel:R22-11#a3b83b872026-10-14
  • R23-11rel:R23-11#163399b42026-10-14
  • R24-11rel:R24-11#4471d8002026-10-14
  • R25-11rel:R25-11#44fc7d622026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 FromValue [SWS_CORE_00731] Upstream: RS_AP_00130

static Result FromValue (const T &t) noexcept(std::is_nothrow_copy_ constructible< T >::value);

Build a new ara::core::Result from the specified value (given as lvalue) t

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
tthe value to put into the ara::core::Result

Rückgabewert

TypBeschreibung
Resulta ara::core::Result that contains the value t

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00731
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00731@rel:R25-11#2b30936d
Content hash
2b30936d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00731
Status: valid/unmigrated Version: rel:R25-11#59e2fb0a Versionshistorie & Revisions (1 transition, 8 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_00731@rel:R25-11#59e2fb0a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#508e8d672026-09-30
  • R19-11rel:R19-11#d6b632282026-10-14
  • R20-11rel:R20-11#079780702026-10-14
  • R21-11rel:R21-11#49a92e852026-10-14
  • R22-11rel:R22-11#a01fd3b12026-10-14
  • R23-11rel:R23-11#e4e558282026-10-14
  • R24-11rel:R24-11#1cc0cc702026-10-14
  • R25-11rel:R25-11#59e2fb0a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 FromValue [SWS_CORE_00732] Upstream: RS_AP_00130

static Result FromValue (T &&t) noexcept(std::is_nothrow_move_ constructible< T >::value);

Build a new ara::core::Result from the specified value (given as rvalue) t

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
tthe value to put into the ara::core::Result

Rückgabewert

TypBeschreibung
Resulta ara::core::Result that contains the value t

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00732
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00732@rel:R25-11#715f54e4
Content hash
715f54e4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00732
Status: valid/unmigrated Version: rel:R25-11#516cb72d Versionshistorie & Revisions (1 transition, 8 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_00732@rel:R25-11#516cb72d
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#abf5b2f32026-09-30
  • R19-11rel:R19-11#586fd7d32026-10-14
  • R20-11rel:R20-11#03c6367f2026-10-14
  • R21-11rel:R21-11#03c6367f2026-10-14
  • R22-11rel:R22-11#149f1d392026-10-14
  • R23-11rel:R23-11#6eeaefc32026-10-14
  • R24-11rel:R24-11#c4885f542026-10-14
  • R25-11rel:R25-11#516cb72d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 FromValue [SWS_CORE_00733] Upstream: RS_AP_00130

template <typename... Args> static Result FromValue (Args &&... args) noexcept(std::is_nothrow_ constructible< T, Args... >::value);

Build a new ara::core::Result from a value that is constructed in-place from the given arguments. This function shall not participate in overload resolution unless: • std::is_constructible<T, Args&&...>::value == true and • the first type of the expanded parameter pack is not T and • the first type of the expanded parameter pack is not a specialization of ara::core::Result

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Template-Parameter

ParameterBeschreibung
Args...the types of arguments given to this function

Parameter (in)

ParameterBeschreibung
argsthe arguments used for constructing the value

Rückgabewert

TypBeschreibung
Resulta ara::core::Result that contains a value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00733
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00733@rel:R25-11#8a185098
Content hash
8a185098
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00733
Status: valid/unmigrated Version: rel:R25-11#55245049 Versionshistorie & Revisions (1 transition, 8 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_00733@rel:R25-11#55245049
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#67ea61042026-09-30
  • R19-11rel:R19-11#519c3a202026-10-14
  • R20-11rel:R20-11#87f9dd1c2026-10-14
  • R21-11rel:R21-11#904dce612026-10-14
  • R22-11rel:R22-11#82d620812026-10-14
  • R23-11rel:R23-11#5231a48a2026-10-14
  • R24-11rel:R24-11#39cf23a12026-10-14
  • R25-11rel:R25-11#552450492026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 HasValue [SWS_CORE_00751] Upstream: RS_AP_00130

bool HasValue () const noexcept;

Check whether *this contains a value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
booltrue if *this contains a value, false otherwise

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00751
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00751@rel:R25-11#c9b02205
Content hash
c9b02205
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00751
Status: valid/unmigrated Version: rel:R25-11#e866bb6c Versionshistorie & Revisions (1 transition, 8 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_00751@rel:R25-11#e866bb6c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7ffd5f4e2026-09-30
  • R19-11rel:R19-11#fe477d162026-10-14
  • R20-11rel:R20-11#6c6ce9202026-10-14
  • R21-11rel:R21-11#4f918b552026-10-14
  • R22-11rel:R22-11#0532b9482026-10-14
  • R23-11rel:R23-11#6ac336b92026-10-14
  • R24-11rel:R24-11#e866bb6c2026-10-14
  • R25-11rel:R25-11#e866bb6c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Ok [SWS_CORE_00770] Upstream: RS_AP_00130

Optional< T > Ok () const &noexcept(std::is_nothrow_constructible< Optional< T >, const T &>::value);

Return the contained value as an ara::core::Optional.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Optional< T >an ara::core::Optional with the value, if present

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00770
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00770@rel:R25-11#daedd5eb
Content hash
daedd5eb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00770
Status: valid/unmigrated Version: rel:R25-11#23c2a151 Versionshistorie & Revisions (1 transition, 7 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_00770@rel:R25-11#23c2a151
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#1aec1b5a2026-09-30
  • R20-11rel:R20-11#1bc58afc2026-10-14
  • R21-11rel:R21-11#716a26892026-10-14
  • R22-11rel:R22-11#2dfdb6ac2026-10-14
  • R23-11rel:R23-11#087f73e82026-10-14
  • R24-11rel:R24-11#5f2800142026-10-14
  • R25-11rel:R25-11#23c2a1512026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Ok [SWS_CORE_00771] Upstream: RS_AP_00130

Optional< T > Ok () &&noexcept(std::is_nothrow_constructible< Optional< T >, T && >::value);

Return the contained value as an ara::core::Optional.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Optional< T >an ara::core::Optional with the value, if present

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00771
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00771@rel:R25-11#b45aa72f
Content hash
b45aa72f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00771
Status: valid/unmigrated Version: rel:R25-11#eeee71e5 Versionshistorie & Revisions (1 transition, 7 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_00771@rel:R25-11#eeee71e5
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#35bab05e2026-09-30
  • R20-11rel:R20-11#73442d9a2026-10-14
  • R21-11rel:R21-11#4fac2e9c2026-10-14
  • R22-11rel:R22-11#87954fbe2026-10-14
  • R23-11rel:R23-11#4463c4852026-10-14
  • R24-11rel:R24-11#b9d15e332026-10-14
  • R25-11rel:R25-11#eeee71e52026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Resolve [SWS_CORE_00767] Upstream: RS_AP_00130

template <typename F> T Resolve (F &&f) const;

Return the contained value or return the result of a function call.

If *this contains a value, it is returned. Otherwise, the specified callable is invoked and its return value which is to be compatible to type T is returned from this function.

The Callable is expected to be compatible to this interface: T f(const E&);

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitnot exception safe
Thread-Sicherheitconditional, depends on thread-safety of f()

Template-Parameter

ParameterBeschreibung
Fthe type of the Callable f() }

Parameter (in)

ParameterBeschreibung
fthe Callable

Rückgabewert

TypBeschreibung
Tthe value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00767
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00767@rel:R25-11#edda5f93
Content hash
edda5f93
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00767
Status: valid/unmigrated Version: rel:R25-11#223eaa1e Versionshistorie & Revisions (1 transition, 8 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_00767@rel:R25-11#223eaa1e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7a6450922026-09-30
  • R19-11rel:R19-11#725df35e2026-10-14
  • R20-11rel:R20-11#38e872092026-10-14
  • R21-11rel:R21-11#6ebdd6462026-10-14
  • R22-11rel:R22-11#655b86e12026-10-14
  • R23-11rel:R23-11#f8b3bd422026-10-14
  • R24-11rel:R24-11#abacfc462026-10-14
  • R25-11rel:R25-11#223eaa1e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Result [SWS_CORE_00721] Upstream: RS_AP_00130

Result (const T &t) noexcept(std::is_nothrow_copy_constructible< T >::value);

Construct a new ara::core::Result from the specified value (given as lvalue)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
tthe value to put into the ara::core::Result

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00721
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00721@rel:R25-11#2d50baa4
Content hash
2d50baa4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00721
Status: valid/unmigrated Version: rel:R25-11#b65b5b8b Versionshistorie & Revisions (1 transition, 8 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_00721@rel:R25-11#b65b5b8b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5d63b9522026-09-30
  • R19-11rel:R19-11#14a43f872026-10-14
  • R20-11rel:R20-11#8f6d6d5b2026-10-14
  • R21-11rel:R21-11#14653d9b2026-10-14
  • R22-11rel:R22-11#706400bd2026-10-14
  • R23-11rel:R23-11#258c85d72026-10-14
  • R24-11rel:R24-11#a26a5cb42026-10-14
  • R25-11rel:R25-11#b65b5b8b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Result [SWS_CORE_00722] Upstream: RS_AP_00130

Result (T &&t) noexcept(std::is_nothrow_move_constructible< T >::value);

Construct a new ara::core::Result from the specified value (given as rvalue)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
tthe value to put into the ara::core::Result

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00722
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00722@rel:R25-11#9a812457
Content hash
9a812457
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00722
Status: valid/unmigrated Version: rel:R25-11#031d34ac Versionshistorie & Revisions (1 transition, 8 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_00722@rel:R25-11#031d34ac
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f9f772322026-09-30
  • R19-11rel:R19-11#7fd7b72c2026-10-14
  • R20-11rel:R20-11#aeb183d72026-10-14
  • R21-11rel:R21-11#aeb183d72026-10-14
  • R22-11rel:R22-11#89737bf42026-10-14
  • R23-11rel:R23-11#0f6247582026-10-14
  • R24-11rel:R24-11#4766148c2026-10-14
  • R25-11rel:R25-11#031d34ac2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Result [SWS_CORE_00723] Upstream: RS_AP_00130

explicit Result (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value);

Construct a new ara::core::Result from the specified error (given as lvalue)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
ethe error to put into the ara::core::Result

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00723
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00723@rel:R25-11#55799b92
Content hash
55799b92
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00723
Status: valid/unmigrated Version: rel:R25-11#01a2dbbf Versionshistorie & Revisions (1 transition, 8 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_00723@rel:R25-11#01a2dbbf
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5fb596352026-09-30
  • R19-11rel:R19-11#0b1bcc3b2026-10-14
  • R20-11rel:R20-11#3b697ea12026-10-14
  • R21-11rel:R21-11#0721ccb62026-10-14
  • R22-11rel:R22-11#8441b6d82026-10-14
  • R23-11rel:R23-11#dd4f16082026-10-14
  • R24-11rel:R24-11#aabd58242026-10-14
  • R25-11rel:R25-11#01a2dbbf2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Result [SWS_CORE_00724] Upstream: RS_AP_00130

explicit Result (E &&e) noexcept(std::is_nothrow_move_constructible< E >::value);

Construct a new ara::core::Result from the specified error (given as rvalue)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
ethe error to put into the ara::core::Result

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00724
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00724@rel:R25-11#f99a3a94
Content hash
f99a3a94
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00724
Status: valid/unmigrated Version: rel:R25-11#d3e2edfa Versionshistorie & Revisions (1 transition, 8 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_00724@rel:R25-11#d3e2edfa
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#839a0a3a2026-09-30
  • R19-11rel:R19-11#dc601d4c2026-10-14
  • R20-11rel:R20-11#1e87d5812026-10-14
  • R21-11rel:R21-11#1e87d5812026-10-14
  • R22-11rel:R22-11#d9c6292e2026-10-14
  • R23-11rel:R23-11#c5836f942026-10-14
  • R24-11rel:R24-11#ae16bd602026-10-14
  • R25-11rel:R25-11#d3e2edfa2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Result [SWS_CORE_00725] Upstream: RS_AP_00130

Result (const Result &other) noexcept(std::is_nothrow_copy_ constructible< T >::value &&std::is_nothrow_copy_constructible< E >::value);

Copy-construct a new ara::core::Result from another instance

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
otherthe other instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00725
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00725@rel:R25-11#2fbbe606
Content hash
2fbbe606
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00725
Status: valid/unmigrated Version: rel:R25-11#fd4dd7aa Versionshistorie & Revisions (1 transition, 8 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_00725@rel:R25-11#fd4dd7aa
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#641e7e902026-09-30
  • R19-11rel:R19-11#e485454e2026-10-14
  • R20-11rel:R20-11#cdf8d02c2026-10-14
  • R21-11rel:R21-11#73917f5e2026-10-14
  • R22-11rel:R22-11#00b8c64b2026-10-14
  • R23-11rel:R23-11#1c77b1ac2026-10-14
  • R24-11rel:R24-11#dfae8d8d2026-10-14
  • R25-11rel:R25-11#fd4dd7aa2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Result [SWS_CORE_00726] Upstream: RS_AP_00130

Result (Result &&other) noexcept(std::is_nothrow_move_constructible< T >::value &&std::is_nothrow_move_constructible< E >::value);

Move-construct a new Result from another instance

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
otherthe other instance

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00726
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00726@rel:R25-11#d1cc2950
Content hash
d1cc2950
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00726
Status: valid/unmigrated Version: rel:R25-11#8ebacdec Versionshistorie & Revisions (1 transition, 8 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_00726@rel:R25-11#8ebacdec
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3d3ce9f22026-09-30
  • R19-11rel:R19-11#33f0a9bf2026-10-14
  • R20-11rel:R20-11#9514c5172026-10-14
  • R21-11rel:R21-11#5350f2172026-10-14
  • R22-11rel:R22-11#4309ee522026-10-14
  • R23-11rel:R23-11#eeb4e4592026-10-14
  • R24-11rel:R24-11#479742e12026-10-14
  • R25-11rel:R25-11#8ebacdec2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Swap [SWS_CORE_00745] Upstream: RS_AP_00130

void Swap (Result &other) noexcept(std::is_nothrow_move_constructible< T >::value &&std::is_nothrow_move_assignable< T >::value &&std::is_ nothrow_move_constructible< E >::value &&std::is_nothrow_move_ assignable< E >::value);

Exchange the contents of this instance with those of other

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in/out)

ParameterBeschreibung
otherthe other instance

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00745
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00745@rel:R25-11#65bb1ae5
Content hash
65bb1ae5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00745
Status: valid/unmigrated Version: rel:R25-11#75491d5b Versionshistorie & Revisions (1 transition, 8 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_00745@rel:R25-11#75491d5b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a84285b12026-09-30
  • R19-11rel:R19-11#7a90c4df2026-10-14
  • R20-11rel:R20-11#cfe69fb82026-10-14
  • R21-11rel:R21-11#09da41072026-10-14
  • R22-11rel:R22-11#d861fe032026-10-14
  • R23-11rel:R23-11#b8a3ad7f2026-10-14
  • R24-11rel:R24-11#f960348f2026-10-14
  • R25-11rel:R25-11#75491d5b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Value [SWS_CORE_00755] Upstream: RS_AP_00130

const T & Value () const & noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
const T &a const reference to the contained value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00755
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00755@rel:R25-11#54c38286
Content hash
54c38286
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00755
Status: valid/unmigrated Version: rel:R25-11#2f92f608 Versionshistorie & Revisions (1 transition, 8 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_00755@rel:R25-11#2f92f608
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#382ded622026-09-30
  • R19-11rel:R19-11#e0dbfc862026-10-14
  • R20-11rel:R20-11#9d55a8b92026-10-14
  • R21-11rel:R21-11#9d55a8b92026-10-14
  • R22-11rel:R22-11#84e578102026-10-14
  • R23-11rel:R23-11#d54a82232026-10-14
  • R24-11rel:R24-11#2f92f6082026-10-14
  • R25-11rel:R25-11#2f92f6082026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Value [SWS_CORE_00756] Upstream: RS_AP_00130

T && Value () &&noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
T &&an rvalue reference to the contained value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00756
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00756@rel:R25-11#a9c3ff0f
Content hash
a9c3ff0f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00756
Status: valid/unmigrated Version: rel:R25-11#d89d9f15 Versionshistorie & Revisions (1 transition, 8 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_00756@rel:R25-11#d89d9f15
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c014da332026-09-30
  • R19-11rel:R19-11#84dfedae2026-10-14
  • R20-11rel:R20-11#05c66ba42026-10-14
  • R21-11rel:R21-11#05c66ba42026-10-14
  • R22-11rel:R22-11#2952bdcc2026-10-14
  • R23-11rel:R23-11#ef7c72e82026-10-14
  • R24-11rel:R24-11#d89d9f152026-10-14
  • R25-11rel:R25-11#d89d9f152026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 Value [SWS_CORE_00775] Upstream: RS_AP_00130

T & Value () & noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
T&a reference to the contained value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00775
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00775@rel:R25-11#155f587f
Content hash
155f587f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00775
Status: valid/unmigrated Version: rel:R25-11#c6e6b82b Versionshistorie & Revisions (1 transition, 4 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_00775@rel:R25-11#c6e6b82b
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#0451d24d2026-09-30
  • R23-11rel:R23-11#2e9b6fff2026-10-14
  • R24-11rel:R24-11#c6e6b82b2026-10-14
  • R25-11rel:R25-11#c6e6b82b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ValueOr [SWS_CORE_00761] Upstream: RS_AP_00130

template <typename U> T ValueOr (U &&defaultValue) const &noexcept(std::is_nothrow_copy_ constructible< T >::value &&std::is_nothrow_constructible< T, U &&>::value);

Return the contained value or the given default value. If *this contains a value, it is returned. Otherwise, the specified default value is returned, static_cast’d to T

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
Uthe type of defaultValue

Parameter (in)

ParameterBeschreibung
defaultValuethe value to use if *this does not contain a value

Rückgabewert

TypBeschreibung
Tthe value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00761
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00761@rel:R25-11#e4d2844a
Content hash
e4d2844a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00761
Status: valid/unmigrated Version: rel:R25-11#3b1c54d3 Versionshistorie & Revisions (1 transition, 8 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_00761@rel:R25-11#3b1c54d3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#40a9f7a22026-09-30
  • R19-11rel:R19-11#2be50cde2026-10-14
  • R20-11rel:R20-11#3274e3c52026-10-14
  • R21-11rel:R21-11#6cf1ae0d2026-10-14
  • R22-11rel:R22-11#6a479baa2026-10-14
  • R23-11rel:R23-11#2eaf8c462026-10-14
  • R24-11rel:R24-11#4f60776b2026-10-14
  • R25-11rel:R25-11#3b1c54d32026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ValueOr [SWS_CORE_00762] Upstream: RS_AP_00130

template <typename U> T ValueOr (U &&defaultValue) &&noexcept(std::is_nothrow_move_ constructible< T >::value &&std::is_nothrow_constructible< T, U && >::value);

Return the contained value or the given default value. If *this contains a value, it is returned. Otherwise, the specified default value is returned, static_cast’d to T

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe

Template-Parameter

ParameterBeschreibung
Uthe type of defaultValue

Parameter (in)

ParameterBeschreibung
defaultValuethe value to use if *this does not contain a value

Rückgabewert

TypBeschreibung
Tthe value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00762
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00762@rel:R25-11#51913cdd
Content hash
51913cdd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00762
Status: valid/unmigrated Version: rel:R25-11#a5cdbf09 Versionshistorie & Revisions (1 transition, 8 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_00762@rel:R25-11#a5cdbf09
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#32e8ddd72026-09-30
  • R19-11rel:R19-11#faac4a352026-10-14
  • R20-11rel:R20-11#c3b2ac1a2026-10-14
  • R21-11rel:R21-11#e9107f3a2026-10-14
  • R22-11rel:R22-11#41504dfd2026-10-14
  • R23-11rel:R23-11#18540bb62026-10-14
  • R24-11rel:R24-11#5cd4b55c2026-10-14
  • R25-11rel:R25-11#a5cdbf092026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ValueOrThrow [SWS_CORE_00766] Upstream: RS_AP_00130

const T & ValueOrThrow () const &noexcept(false);

Return the contained value or throw an exception.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 38c9cb36d652 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

使用与调用

类 ara::core::Result([SWS_CORE_00766])的同步成员函数 ValueOrThrow 通过头文件 ara/core/result.h 引入([SWS_CORE_00766])。它在常量左值实例上无参调用,并返回对对象中存储的值的常量引用(const T &)([SWS_CORE_00766])。

错误处理与异常行为

如果 Result 实例不包含值而是包含错误状态,则该函数抛出与该错误关联的 C++ 异常([SWS_CORE_00766])。规范将该函数归类为非异常安全(not exception safe)([SWS_CORE_00766]);解释:这种归类大概率归因于在错误情况下按设计会触发异常。 问题 Q-0f4ebba70af6e48c (未决)

并发性与限制

该操作被指定为线程安全(thread-safe)([SWS_CORE_00766])。作为一个重要的约束条件:如果编译器工具链中禁用了 C++ 异常,则该函数不参与重载解析(overload resolution)([SWS_CORE_00766])。

在 Result 框架中的交互

该函数补充了 ara::core::Result 内相关的重载和特化:

  • 对于可变左值,存在返回 T & 的变体([SWS_CORE_00778])。
  • 对于右值实例,提供了返回 T && 的移动重载([SWS_CORE_00769])。
  • 对于 void 结果,存在没有返回值的特化 ara::core::Result<void, E>([SWS_CORE_00866])。
  • 对于引用类型 ara::core::Result<T &, E>,可以使用相应的常量和非常量引用重载([SWS_CORE_00938]、[SWS_CORE_00949])。

本使用说明自动生成,仅供参考。仅 AUTOSAR 的规范具有约束力。

实现者指南即将推出(复杂度 I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitnot exception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const T &a const reference to the contained value

Exceptions

The exception type associated with the contained error

Hinweise: This function shall not participate in overload resolution when C++ exceptions are disabled in the compiler toolchain

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00766
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00766@rel:R25-11#29831d6c
Content hash
29831d6c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00766
Status: valid/unmigrated Version: rel:R25-11#b4a784a3 Versionshistorie & Revisions (1 transition, 8 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_00766@rel:R25-11#b4a784a3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#483c61512026-09-30
  • R19-11rel:R19-11#8ab7cdd42026-10-14
  • R20-11rel:R20-11#8bef45152026-10-14
  • R21-11rel:R21-11#8bef45152026-10-14
  • R22-11rel:R22-11#319bb9d92026-10-14
  • R23-11rel:R23-11#29ce912f2026-10-14
  • R24-11rel:R24-11#dfcb8dce2026-10-14
  • R25-11rel:R25-11#b4a784a32026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ValueOrThrow [SWS_CORE_00769] Upstream: RS_AP_00130

T && ValueOrThrow () &&noexcept(false);

Return the contained value or throw an exception.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: bf00696cade5 来源
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

成员函数 ValueOrThrow() && 由头文件 #include "ara/core/result.h" 提供,用于同步访问封装在 ara::core::Result 实例中的值([SWS_CORE_00769])。通过右值限定(&&),该函数在右值对象上调用,并返回对所包含值的右值引用(T &&)[SWS_CORE_00769]。

错误处理与边界条件

如果 Result 对象持有一个错误值,该方法会抛出与该错误关联的异常类型([SWS_CORE_00769])。规范将执行归类为非异常安全(not exception safe),但明确将其定义为线程安全(thread-safe)[SWS_CORE_00769]。一个具有约束力的要求涉及工具链:如果在编译器中禁用了 C++ 异常,则该函数绝不得参与重载解析 [SWS_CORE_00769]。

重载集中的交互

方法 [SWS_CORE_00769] 是 ara::core::Result 内 ValueOrThrow 的协调重载集的一部分:

本使用说明基于 AUTOSAR Adaptive R25-11 规范自动生成。

实现者指南即将推出(复杂度 I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitnot exception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T &&an rvalue reference to the contained value

Exceptions

The exception type associated with the contained error

Hinweise: This function shall not participate in overload resolution when C++ exceptions are disabled in the compiler toolchain

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00769
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00769@rel:R25-11#7b20e38e
Content hash
7b20e38e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00769
Status: valid/unmigrated Version: rel:R25-11#edd2d35e Versionshistorie & Revisions (1 transition, 8 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_00769@rel:R25-11#edd2d35e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#9df0cb6d2026-09-30
  • R19-11rel:R19-11#b5cb3e262026-10-14
  • R20-11rel:R20-11#69ae69a92026-10-14
  • R21-11rel:R21-11#9873a8542026-10-14
  • R22-11rel:R22-11#1ef35d172026-10-14
  • R23-11rel:R23-11#ff3bef772026-10-14
  • R24-11rel:R24-11#dd824b372026-10-14
  • R25-11rel:R25-11#edd2d35e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ValueOrThrow [SWS_CORE_00778] Upstream: RS_AP_00130

T & ValueOrThrow () &noexcept(false);

Return a reference to the contained value or throw an exception.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: ddfa99362222 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

使用

类 ara::core::Result(头文件 #include "ara/core/result.h")的成员函数 ValueOrThrow [SWS_CORE_00778] 允许同步访问包含的值。由于函数签名带有引用限定符 &,因此它只能在非常量左值实例上调用。它不需要任何传入参数,并返回对封装值的可修改引用(T&)。

错误处理与边界条件

如果对象不包含值而是包含错误,ValueOrThrow 会同步抛出分配给该错误的异常(noexcept(false))[SWS_CORE_00778]。该函数被指定为 not exception safe [SWS_CORE_00778];解释:这可能意味着在发生错误时,控制流会因抛出异常而中断,并且不提供进一步的恢复或回滚保证。 问题 Q-11aed84264f3411f (未决)如果编译器工具链中禁用了 C++ 异常,则该函数强制不参与重载解析 [SWS_CORE_00778]。关于并发性,执行被指明为线程安全(thread-safe)[SWS_CORE_00778]。

相互作用

该函数是 ara::core::Result 中用于值访问的重载族的一部分:

  • 对于常量实例,提供了返回 const T& 的重载 [SWS_CORE_00766]。
  • 对于右值对象,存在具有移动语义并返回 T&& 的变体 [SWS_CORE_00769]。
  • 对于具有引用类型的特化(Result<T&, E>),提供了针对可修改引用 [SWS_CORE_00949] 以及常量引用 [SWS_CORE_00938] 的相应重载。
  • 对于无值的实例(Result<void, E>),该方法仅检查是否存在错误并在适当时抛出异常 [SWS_CORE_00866]。

本文本由 AI 系统生成,基于 AUTOSAR Adaptive Release R25-11 规范。

实现者指南即将推出(复杂度 I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitnot exception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T&a reference to the contained value

Exceptions

The exception type associated with the contained error

Hinweise: This function shall not participate in overload resolution when C++ exceptions are disabled in the compiler toolchain

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00778
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00778@rel:R25-11#e9cc7ae1
Content hash
e9cc7ae1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00778
Status: valid/unmigrated Version: rel:R25-11#620daf34 Versionshistorie & Revisions (1 transition)
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_00778@rel:R25-11#620daf34
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator bool [SWS_CORE_00752] Upstream: RS_AP_00130

explicit operator bool () const noexcept;

Check whether *this contains a value. This function shall be disabled if: std::is_same<std::decay_t<T>,bool>: :value == true

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
booltrue if *this contains a value, false otherwise

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00752
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00752@rel:R25-11#02e739e7
Content hash
02e739e7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00752
Status: valid/unmigrated Version: rel:R25-11#ad61a024 Versionshistorie & Revisions (1 transition, 8 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_00752@rel:R25-11#ad61a024
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#596f88832026-09-30
  • R19-11rel:R19-11#45a7c7882026-10-14
  • R20-11rel:R20-11#af9ce6be2026-10-14
  • R21-11rel:R21-11#af9ce6be2026-10-14
  • R22-11rel:R22-11#81cdc1972026-10-14
  • R23-11rel:R23-11#2241fa7c2026-10-14
  • R24-11rel:R24-11#42b7eb5c2026-10-14
  • R25-11rel:R25-11#ad61a0242026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator* [SWS_CORE_00753] Upstream: RS_AP_00130

const T & operator* () const & noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
const T &a const_reference to the contained value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00753
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00753@rel:R25-11#2587af01
Content hash
2587af01
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00753
Status: valid/unmigrated Version: rel:R25-11#ddfbffc1 Versionshistorie & Revisions (1 transition, 8 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_00753@rel:R25-11#ddfbffc1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#05dbf7432026-09-30
  • R19-11rel:R19-11#08d6800e2026-10-14
  • R20-11rel:R20-11#4d0ef1a82026-10-14
  • R21-11rel:R21-11#ad9329ef2026-10-14
  • R22-11rel:R22-11#2e2b92c82026-10-14
  • R23-11rel:R23-11#5cc769962026-10-14
  • R24-11rel:R24-11#ddfbffc12026-10-14
  • R25-11rel:R25-11#ddfbffc12026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator* [SWS_CORE_00759] Upstream: RS_AP_00130

T && operator* () &&noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
T &&an rvalue reference to the contained value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00759
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00759@rel:R25-11#6e6a402b
Content hash
6e6a402b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00759
Status: valid/unmigrated Version: rel:R25-11#ef0bb704 Versionshistorie & Revisions (1 transition, 8 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_00759@rel:R25-11#ef0bb704
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8ed41c792026-09-30
  • R19-11rel:R19-11#e23f26942026-10-14
  • R20-11rel:R20-11#7f3dd1192026-10-14
  • R21-11rel:R21-11#b47d1ab72026-10-14
  • R22-11rel:R22-11#0cab7de42026-10-14
  • R23-11rel:R23-11#babe769f2026-10-14
  • R24-11rel:R24-11#ef0bb7042026-10-14
  • R25-11rel:R25-11#ef0bb7042026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator* [SWS_CORE_00774] Upstream: RS_AP_00130

T & operator* () & noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
T&a reference to the contained value
Hinweise: This function shall not participate in overload resolution when C++ exceptions are disabled in the compiler toolchain

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00774
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00774@rel:R25-11#47b5e692
Content hash
47b5e692
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00774
Status: valid/unmigrated Version: rel:R25-11#f5d2dcff Versionshistorie & Revisions (1 transition, 4 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_00774@rel:R25-11#f5d2dcff
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#77cb542b2026-09-30
  • R23-11rel:R23-11#5be7625a2026-10-14
  • R24-11rel:R24-11#ee0d0d512026-10-14
  • R25-11rel:R25-11#f5d2dcff2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator-> [SWS_CORE_00754] Upstream: RS_AP_00130

const T * operator-> () const noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
const T *a pointer to the contained value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00754
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00754@rel:R25-11#b2f20864
Content hash
b2f20864
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00754
Status: valid/unmigrated Version: rel:R25-11#32df9625 Versionshistorie & Revisions (1 transition, 8 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_00754@rel:R25-11#32df9625
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#11ea3e382026-09-30
  • R19-11rel:R19-11#6b6bcd882026-10-14
  • R20-11rel:R20-11#e512cd5b2026-10-14
  • R21-11rel:R21-11#e512cd5b2026-10-14
  • R22-11rel:R22-11#21d7441f2026-10-14
  • R23-11rel:R23-11#0ef02bee2026-10-14
  • R24-11rel:R24-11#32df96252026-10-14
  • R25-11rel:R25-11#32df96252026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator-> [SWS_CORE_00777] Upstream: RS_AP_00130

T * operator-> () noexcept;

Access the contained value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)ResultWithNoValue- If *this does not contain a value. Violation

Rückgabewert

TypBeschreibung
T*a pointer to the contained value

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00777
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00777@rel:R25-11#c2a65d92
Content hash
c2a65d92
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00777
Status: valid/unmigrated Version: rel:R25-11#40b794fb 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_00777@rel:R25-11#40b794fb
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#582e5b642026-09-30
  • R24-11rel:R24-11#40b794fb2026-10-14
  • R25-11rel:R25-11#40b794fb2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator= [SWS_CORE_00741] Upstream: RS_AP_00130

Result & operator= (const Result &other) noexcept(std::is_nothrow_ copy_constructible< T >::value &&std::is_nothrow_copy_assignable< T >::value &&std::is_nothrow_copy_constructible< E >::value &&std::is_ nothrow_copy_assignable< E >::value);

Copy-assign another ara::core::Result to this instance

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
otherthe other instance

Rückgabewert

TypBeschreibung
Result &*this, containing the contents of other

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00741
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00741@rel:R25-11#1f432b69
Content hash
1f432b69
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00741
Status: valid/unmigrated Version: rel:R25-11#04d55976 Versionshistorie & Revisions (1 transition, 8 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_00741@rel:R25-11#04d55976
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#85e2764e2026-09-30
  • R19-11rel:R19-11#60b5607f2026-10-14
  • R20-11rel:R20-11#0349c5c22026-10-14
  • R21-11rel:R21-11#0349c5c22026-10-14
  • R22-11rel:R22-11#79ee29d02026-10-14
  • R23-11rel:R23-11#e662692d2026-10-14
  • R24-11rel:R24-11#55398d562026-10-14
  • R25-11rel:R25-11#04d559762026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 operator= [SWS_CORE_00742] Upstream: RS_AP_00130

Result & operator= (Result &&other) noexcept(std::is_nothrow_move_ constructible< T >::value &&std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< E >::value &&std::is_ nothrow_move_assignable< E >::value);

Move-assign another ara::core::Result to this instance

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
otherthe other instance

Rückgabewert

TypBeschreibung
Result &*this, containing the contents ofother

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00742
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00742@rel:R25-11#412a107e
Content hash
412a107e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00742
Status: valid/unmigrated Version: rel:R25-11#68ae803d Versionshistorie & Revisions (1 transition, 8 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_00742@rel:R25-11#68ae803d
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#491a30db2026-09-30
  • R19-11rel:R19-11#78e0080b2026-10-14
  • R20-11rel:R20-11#71c0c7822026-10-14
  • R21-11rel:R21-11#c80663032026-10-14
  • R22-11rel:R22-11#efed32e72026-10-14
  • R23-11rel:R23-11#e69c27822026-10-14
  • R24-11rel:R24-11#fbe81c7f2026-10-14
  • R25-11rel:R25-11#68ae803d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ~Result [SWS_CORE_00727] Upstream: RS_AP_00130

~Result () noexcept;

Destructor This destructor is trivial if: • std::is_trivially_destructible<T>::value == true and • std::is_trivially_destructible<E>::value == true

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00727
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00727@rel:R25-11#e827cf9f
Content hash
e827cf9f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00727
Status: valid/unmigrated Version: rel:R25-11#4d436fe6 Versionshistorie & Revisions (1 transition, 8 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_00727@rel:R25-11#4d436fe6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2bfef5de2026-09-30
  • R19-11rel:R19-11#54033d9d2026-10-14
  • R20-11rel:R20-11#38e9667e2026-10-14
  • R21-11rel:R21-11#c97b6a782026-10-14
  • R22-11rel:R22-11#b4dfa2962026-10-14
  • R23-11rel:R23-11#cfb5bf2e2026-10-14
  • R24-11rel:R24-11#ac8288212026-10-14
  • R25-11rel:R25-11#4d436fe62026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

类型别名文档

类型别名 error_type [SWS_CORE_00712] Upstream: RS_AP_00130

using error_type = E;

Type alias for the type E of errors

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Symbolerror_type

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00712
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00712@rel:R25-11#989dc7f0
Content hash
989dc7f0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00712
Status: valid/unmigrated Version: rel:R25-11#e8d6b2df Versionshistorie & Revisions (1 transition, 8 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_00712@rel:R25-11#e8d6b2df
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8c83b8722026-09-30
  • R19-11rel:R19-11#d364679a2026-10-14
  • R20-11rel:R20-11#0841ce592026-10-14
  • R21-11rel:R21-11#0841ce592026-10-14
  • R22-11rel:R22-11#2c873b662026-10-14
  • R23-11rel:R23-11#b23bc9bb2026-10-14
  • R24-11rel:R24-11#b23bc9bb2026-10-14
  • R25-11rel:R25-11#e8d6b2df2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

类型别名 value_type [SWS_CORE_00711] Upstream: RS_AP_00130

using value_type = T;

Type alias for the type T of values

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result
Symbolvalue_type

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CORE_00711
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00711@rel:R25-11#3c9572d0
Content hash
3c9572d0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00711
Status: valid/unmigrated Version: rel:R25-11#524a22e2 Versionshistorie & Revisions (1 transition, 8 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_00711@rel:R25-11#524a22e2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5c946d5e2026-09-30
  • R19-11rel:R19-11#f6298b6b2026-10-14
  • R20-11rel:R20-11#76bf64942026-10-14
  • R21-11rel:R21-11#65486a0a2026-10-14
  • R22-11rel:R22-11#bf5a25b02026-10-14
  • R23-11rel:R23-11#b147e4702026-10-14
  • R24-11rel:R24-11#b147e4702026-10-14
  • R25-11rel:R25-11#524a22e22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill