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

Руководство пользователяСОЗДАНО ИИ

Инкапсулирует либо значение успешного завершения, либо значение ошибки для синхронной передачи результата без исключений.
СОЗДАНО ИИ не проверено Модель: 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]). Дополнительно доступны статические фабричные функции: FromValue для lvalue, rvalue и аргументов in-place ([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] или путем перезаписи in-place через 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] позволяет выполнять монадическую дальнейшую обработку: переданный вызываемый объект (callable) выполняется только в том случае, если содержится полезное значение; существующая ошибка передается без изменений в новый экземпляр Result. Резервные варианты (fallbacks) можно реализовать с помощью 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]

Сценарии ошибок

Доступ к неактивным состояниям нарушает предусловия класса:

  • Вызов Value(), operator* или operator-> без содержащегося значения инициирует документированное системное нарушение ResultWithNoValueViolation ([SWS_CORE_00755], [SWS_CORE_00753], [SWS_CORE_00754]).
  • Вызов Error() при наличии полезного значения приводит к нарушению ResultWithNoErrorViolation ([SWS_CORE_00757], [SWS_CORE_00776]).

Интерпретация: возникновение такого нарушения предусловия в средах выполнения, как правило, приводит к немедленному аварийному завершению процесса, поскольку стандарт классифицирует эти состояния как серьезные ошибки программирования. Вопрос Q-15376f67084c4be6 (открытый) Во избежание жестких аварийных завершений можно использовать защитные методы: ValueOr() ([SWS_CORE_00761], [SWS_CORE_00762]) и ErrorOr() ([SWS_CORE_00763], [SWS_CORE_00764]) возвращают заданное значение по умолчанию при отсутствии элемента. Варианты optional, такие как 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]; неконстантная перегрузка lvalue для operator* в этом случае также отключена [SWS_CORE_00774].

Данное руководство сгенерировано ассистентом курации ИИ на основе требований спецификации 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

EmplaceError функция

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);
EmplaceValue функция

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;
operator bool функция

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#69207206
Content hash
69207206
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#df1da7f0
Content hash
df1da7f0
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#e68b9f74
Content hash
e68b9f74
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#8997c38d
Content hash
8997c38d
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#56141f34
Content hash
56141f34
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#f482df12
Content hash
f482df12
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#5030fd62
Content hash
5030fd62
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#02b0d0aa
Content hash
02b0d0aa
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#20608fbd
Content hash
20608fbd
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#644f490f
Content hash
644f490f
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#974bade2
Content hash
974bade2
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#ff86af46
Content hash
ff86af46
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#e241ea2c
Content hash
e241ea2c
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#ae9530a5
Content hash
ae9530a5
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#1a51df8c
Content hash
1a51df8c
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#784a644e
Content hash
784a644e
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#41b1fd1d
Content hash
41b1fd1d
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#9964cbed
Content hash
9964cbed
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#585c3c50
Content hash
585c3c50
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#1b90611f
Content hash
1b90611f
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#9cfbc543
Content hash
9cfbc543
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#879b70d4
Content hash
879b70d4
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#a565cf71
Content hash
a565cf71
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#59fbb491
Content hash
59fbb491
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#bc66c3eb
Content hash
bc66c3eb
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#6eff0e5f
Content hash
6eff0e5f
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#7faf4dee
Content hash
7faf4dee
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#7ce42cc0
Content hash
7ce42cc0
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#3e28ebcc
Content hash
3e28ebcc
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#577294d2
Content hash
577294d2
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#e39412e5
Content hash
e39412e5
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#5a6d84e2
Content hash
5a6d84e2
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#447e262f
Content hash
447e262f
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.

СОЗДАНО ИИ не проверено Модель: gemini-3.8-flash-medium · Усилие: medium · Температура: не регулируется · Промпт: 38c9cb36d652 Происхождение Открытые вопросы (1)
переведено с немецкого руководстваgemini-3.8-flash-low · 2026-10-13 · Немецкий оригинал

Использование и вызов

Синхронная функция-член ValueOrThrow класса ara::core::Result ([SWS_CORE_00766]) подключается через заголовочный файл ara/core/result.h ([SWS_CORE_00766]). Она вызывается без параметров на константном lvalue-экземпляре и возвращает константную ссылку (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:

  • Для изменяемых lvalue существует вариант с возвратом T & ([SWS_CORE_00778]).
  • Для rvalue-экземпляров доступна move-перегрузка с возвратом 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#5bc5eed1
Content hash
5bc5eed1
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.

СОЗДАНО ИИ не проверено Модель: 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]). Благодаря квалификации rvalue (&&) функция вызывается на rvalue-объектах и возвращает rvalue-ссылку (T &&) на содержащееся значение [SWS_CORE_00769].

Обработка ошибок и граничные условия

Если объект Result содержит значение ошибки, метод генерирует тип исключения, связанный с этой ошибкой ([SWS_CORE_00769]). Спецификация классифицирует выполнение как не являющееся исключениебезопасным (not exception safe), однако явно определяет его как потокобезопасное (thread-safe) [SWS_CORE_00769]. Обязательное требование касается инструментария сборки: если исключения C++ отключены в компиляторе, функция ни в коем случае не должна участвовать в разрешении перегрузок [SWS_CORE_00769].

Взаимодействие в наборе перегрузок

Метод [SWS_CORE_00769] является частью согласованного ансамбля перегрузок для ValueOrThrow внутри ara::core::Result:

  • Для lvalues доступны константная перегрузка [SWS_CORE_00766] (возврат: const T &) и неконстантный вариант [SWS_CORE_00778] (возврат: T &).
  • Для результатов void специализация ara::core::Result<void, E> предлагает функцию [SWS_CORE_00866] без возвращаемого значения.
  • Для ссылочных типов ara::core::Result<T &, E> с [SWS_CORE_00938] (константный) и [SWS_CORE_00949] (неконстантный) охватывает соответствующий возврат по ссылке.

Это указание по использованию было сгенерировано автоматически на основе спецификации 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#5120f915
Content hash
5120f915
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.

СОЗДАНО ИИ не проверено Модель: gemini-3.8-flash-medium · Усилие: medium · Температура: не регулируется · Промпт: ddfa99362222 Происхождение Открытые вопросы (1)
переведено с немецкого руководстваgemini-3.8-flash-low · 2026-10-13 · Немецкий оригинал

Использование

Функция-член ValueOrThrow [SWS_CORE_00778] класса ara::core::Result (заголовочный файл #include "ara/core/result.h") обеспечивает синхронный доступ к содержащемуся значению. Поскольку сигнатура функции снабжена квалификатором ref &, она может вызываться исключительно на неконстантных экземплярах lvalue. Она не ожидает входных параметров и возвращает модифицируемую ссылку (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].
  • Для rvalue-объектов существует вариант с семантикой перемещения, возвращающий T&& [SWS_CORE_00769].
  • Для специализаций со ссылочными типами (Result<T&, E>) доступны соответствующие перегрузки для модифицируемых ссылок [SWS_CORE_00949], а также константных ссылок [SWS_CORE_00938].
  • Для экземпляров без значения (Result<void, E>) метод лишь проверяет наличие ошибки и при необходимости генерирует исключение [SWS_CORE_00866].

Этот текст был сгенерирован системой ИИ и основан на спецификации 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#be0c9578
Content hash
be0c9578
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#c366db67
Content hash
c366db67
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#d045ee8b
Content hash
d045ee8b
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#36125318
Content hash
36125318
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#b30edc95
Content hash
b30edc95
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#9116cdc6
Content hash
9116cdc6
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#444d1475
Content hash
444d1475
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#c7613254
Content hash
c7613254
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#4db5662d
Content hash
4db5662d
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#bbb970e4
Content hash
bbb970e4
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#9bdb5281
Content hash
9bdb5281
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#0245ff8b
Content hash
0245ff8b
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