DEENESPTFRRUARHIKOZHNL

klasse 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

User GuideAI-GEGENEREERD

Kapselt ofwel een succes- ofwel een foutwaarde in voor synchrone, uitzonderingsvrije overdracht van resultaten.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 33e53dcae988 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Kapselt ofwel een succes- ofwel een foutwaarde in voor synchrone, uitzonderingsvrije overdracht van resultaten.

De klasse vormt een typeveilige container die ofwel een payload ofwel een foutcode bevat, om rekenresultaten synchroon en zonder C++-excepties over te dragen [SWS_CORE_00751]. Aanroepers maken instanties aan via speciale constructors of factory-functies en evalueren het resultaat vervolgens toestandsafhankelijk via controle- en toegangsfuncties zoals waarde- of fouttoegang. Als essentiële randvoorwaarde moet het onderliggende fouttype dwingend overeenkomen met de standaard foutcode, aangezien afwijkende typetoewijzingen tijdens compileertijd worden afgewezen. Bovendien vereisen functies voor het activeren van uitzonderingen een compileromgeving waarin C++-exceptions zijn ingeschakeld [SWS_CORE_00766].

Context

De klasse ara::core::Result is het centrale construct van het AUTOSAR Adaptive Platform voor de synchrone, getypeerde teruggave van bewerkingsresultaten zonder verplicht gebruik van C++-excepties. Ze vertegenwoordigt een disjuncte vereniging (tagged union) die op elk moment ofwel een nuttige waarde van het type value_type (T) ofwel een fout van het type error_type (E) bevat [SWS_CORE_00711] [SWS_CORE_00712]. Standaard fungeert ara::core::ErrorCode als type voor E; afwijkende foutdefinities worden door implementaties al tijdens compileertijd verhinderd door een compilatiefout.

In de applicatiearchitectuur bemiddelt ara::core::Result tussen aangeroepen services en consumenten. Services instantiëren het object om de status te retourneren, terwijl consumenten via statustests zoals [SWS_CORE_00751] of functionele keteningen zoals [SWS_CORE_00768] een verdere verwerking initiëren. Daarnaast kan de toestand via [SWS_CORE_00770] (Ok) en [SWS_CORE_00772] (Err) worden overgezet naar ara::core::Optional.

Levenscyclus

De initialisatie van een instantie vindt ofwel direct plaats via constructors voor waarden ([SWS_CORE_00721], [SWS_CORE_00722]) ofwel expliciet voor fouten ([SWS_CORE_00723], [SWS_CORE_00724]). Daarnaast zijn er statische factory-functies beschikbaar: FromValue voor lvalues, rvalues en in-place-argumenten ([SWS_CORE_00731], [SWS_CORE_00732], [SWS_CORE_00733]) evenals FromError voor het creëren van fouttoestanden ([SWS_CORE_00734], [SWS_CORE_00735], [SWS_CORE_00736]).

ara::core::Result bezit de ingesloten gegevens exclusief en beheert de levensduur ervan. Het ondersteunt volledige waardesemantiek via copy- en move constructors ([SWS_CORE_00725], [SWS_CORE_00726]) evenals bijbehorende toewijzingsoperatoren ([SWS_CORE_00741], [SWS_CORE_00742]). Een inhoudswissel van bestaande instanties is mogelijk met behulp van Swap [SWS_CORE_00745] of door in-place overschrijven via EmplaceValue [SWS_CORE_00743] respectievelijk EmplaceError [SWS_CORE_00744].

De destructor geeft het actieve element vrij en geldt als triviaal vernietigbaar wanneer zowel T als E triviaal vernietigbaar zijn [SWS_CORE_00727]. Met betrekking tot concurrency zijn puur lezende toegangen thread-safe, terwijl modificerende operaties zoals EmplaceValue, EmplaceError, move assignments of Swap niet thread-safe zijn en externe synchronisatie vereisen.

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

Toestandsdiagram: Toestandsovergangen tussen waarde- en fouttoestand tijdens de levensduur van een Result-instantie. Bronnen: [SWS_CORE_00721], [SWS_CORE_00723], [SWS_CORE_00743], [SWS_CORE_00744], [SWS_CORE_00727]

Gebruikspad

Het reguliere verloop omvat het aanmaken, valideren en ophalen van het resultaat:

  1. Beschikbaarstelling: Een service genereert het resultaat via [SWS_CORE_00731] of [SWS_CORE_00734] en retourneert de instantie per waarde.
  2. Statuscontrole: De aanroeper controleert met behulp van HasValue() [SWS_CORE_00751] of de expliciete conversieoperator operator bool() [SWS_CORE_00752] of er een waarde aanwezig is. Deze laatste is uitgeschakeld wanneer T zelf van het type bool is.
  3. Waarde- en fouttoegang: Als er een waarde aanwezig is, kan deze via Value() ([SWS_CORE_00755], [SWS_CORE_00756], [SWS_CORE_00775]) of de operatoren operator* ([SWS_CORE_00753], [SWS_CORE_00759]) en operator-> ([SWS_CORE_00754], [SWS_CORE_00777]) worden uitgelezen. In geval van een fout vindt de toegang plaats via Error() ([SWS_CORE_00757], [SWS_CORE_00758], [SWS_CORE_00776]) of de gerichte foutcontrole met CheckError() [SWS_CORE_00765].
  4. Functionele transformatie: Als alternatief maakt Bind() [SWS_CORE_00768] een monadische verdere verwerking mogelijk: het doorgegeven callable wordt alleen uitgevoerd als er een nuttige waarde aanwezig is; een bestaande fout wordt ongewijzigd doorgegeven naar de nieuwe Result-instantie. Fallbacks kunnen worden gerealiseerd met Resolve() [SWS_CORE_00767].
Verloop van resultaatcontrole en -opvraagAnwendungDienstara::core::Resultausfuehren()FromValue(wert) / FromError(fehler)Result<T, E>HasValue()bool (true / false)altHasValue() == trueValue()const T&HasValue() == falseError()const E&

Sequentiediagram: Typisch aanroepverloop bij het opvragen en evalueren van een Result-instantie. Bronnen: [SWS_CORE_00731], [SWS_CORE_00751], [SWS_CORE_00755], [SWS_CORE_00757], [SWS_CORE_00768]

Foutscenario's

Toegang tot niet-actieve toestanden schendt de precondities van de klasse:

Interpretatie: Het activeren van een dergelijke schending van precondities leidt in runtime-omgevingen typisch tot onmiddellijke procesafbreking, aangezien de standaard deze toestanden als ernstige programmeerfouten aanmerkt. Vraag Q-15376f67084c4be6 (open) Om harde afbrekingen te voorkomen, kunnen defensieve methoden worden gebruikt: ValueOr() ([SWS_CORE_00761], [SWS_CORE_00762]) en ErrorOr() ([SWS_CORE_00763], [SWS_CORE_00764]) leveren bij afwezigheid van het element een vooraf ingestelde standaardwaarde terug. Optionele varianten zoals Ok() ([SWS_CORE_00770], [SWS_CORE_00771]) en Err() ([SWS_CORE_00772], [SWS_CORE_00773]) kapselen de toegang uitzonderingsvrij in.

Wanneer uitzonderingsafhandeling gewenst is, werpt ValueOrThrow() ([SWS_CORE_00766], [SWS_CORE_00769], [SWS_CORE_00778]) bij een fout de aan de fout gekoppelde C++-exceptie. Als C++-exceptions in de compiler zijn uitgeschakeld, wordt ValueOrThrow() uit de overloadresolutie verwijderd [SWS_CORE_00766]; evenzo is de niet-constante lvalue-overload van operator* in dat geval gedeactiveerd [SWS_CORE_00774].

Deze handleiding is gegenereerd door een AI-curatie-assistent op basis van de specificatie-eisen van AUTOSAR Adaptive R25-11.

Ledenkaart

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

Klassendiagram

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

Detailweergave

Kies een item in de inhoudsopgave.

Erzeugung und Lebenszyklus

FromError functie 3

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

Overloads 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 functie 3

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

Overloads 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 functie 6

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

Overloads 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 functie

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 functie

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 functie

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= functie 2

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

Overloads = 2
Swap functie

Exchange the contents of this instance with those of other

Zustandsabfrage

CheckError functie

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 functie

Check whether *this contains a value.

bool HasValue () const noexcept;

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

explicit operator bool () const noexcept;

Wertzugriff

Ok functie 2

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

Overloads 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* functie 3

Access the contained value.

Overloads * 3
const T & operator* () const & noexcept; SWS_CORE_00753
T && operator* () &&noexcept; SWS_CORE_00759
T & operator* () & noexcept; SWS_CORE_00774
operator-> functie 2

Access the contained value.

Overloads -> 2
const T * operator-> () const noexcept; SWS_CORE_00754
T * operator-> () noexcept; SWS_CORE_00777
Resolve functie

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

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

Access the contained value.

Overloads Value 3
const T & Value () const & noexcept; SWS_CORE_00755
T && Value () &&noexcept; SWS_CORE_00756
T & Value () & noexcept; SWS_CORE_00775
ValueOr functie 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

Overloads 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 functie 3

Return the contained value or throw an exception.

Overloads 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 functie 2

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

Overloads 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 functie 3

Access the contained error.

Overloads Error 3
const E & Error () const & noexcept; SWS_CORE_00757
E && Error () &&noexcept; SWS_CORE_00758
E & Error () & noexcept; SWS_CORE_00776
ErrorOr functie 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

Overloads 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 functie

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 typealias

Type alias for the type E of errors

using error_type = E;
value_type typealias

Type alias for the type T of values

using value_type = T;

Documentatie van de methoden

functie 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#66e5e16b
Content hash
66e5e16b
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

functie 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#669baa44
Content hash
669baa44
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

functie 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#52d55d4b
Content hash
52d55d4b
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

functie 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#9bd72b73
Content hash
9bd72b73
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

functie 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#bebae143
Content hash
bebae143
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

functie 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#8339b298
Content hash
8339b298
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

functie 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#8e9df43e
Content hash
8e9df43e
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

functie 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#a398d634
Content hash
a398d634
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

functie 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#6c13f089
Content hash
6c13f089
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

functie 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#45ff107b
Content hash
45ff107b
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

functie 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#c94b152f
Content hash
c94b152f
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

functie 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#c381a686
Content hash
c381a686
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

functie 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#54a5560f
Content hash
54a5560f
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

functie 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#e05b41df
Content hash
e05b41df
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

functie 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#e050fecd
Content hash
e050fecd
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

functie 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#74a00870
Content hash
74a00870
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

functie 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#86ce319a
Content hash
86ce319a
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

functie 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#6d7bf228
Content hash
6d7bf228
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

functie 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#77e0dad3
Content hash
77e0dad3
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

functie 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#d50a3566
Content hash
d50a3566
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

functie 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#29b4cc4f
Content hash
29b4cc4f
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

functie 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#84a2c7f7
Content hash
84a2c7f7
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

functie 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#c9202ecb
Content hash
c9202ecb
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

functie 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#39046b9d
Content hash
39046b9d
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

functie 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#618f657f
Content hash
618f657f
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

functie 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#c8f080b8
Content hash
c8f080b8
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

functie 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#bbdee76c
Content hash
bbdee76c
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

functie 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#4173e3a4
Content hash
4173e3a4
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

functie 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#515af2a3
Content hash
515af2a3
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

functie 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#1a37d75b
Content hash
1a37d75b
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

functie 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#3f0a92c3
Content hash
3f0a92c3
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

functie 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#37d5c546
Content hash
37d5c546
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

functie 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#3dc1796e
Content hash
3dc1796e
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

functie ValueOrThrow [SWS_CORE_00766] Upstream: RS_AP_00130

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

Return the contained value or throw an exception.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 38c9cb36d652 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik en aanroep

De synchrone lidfunctie ValueOrThrow van de klasse ara::core::Result ([SWS_CORE_00766]) wordt ingevoegd via de header ara/core/result.h ([SWS_CORE_00766]). Deze wordt parameterloos aangeroepen op een constante lvalue-instantie en geeft een constante referentie (const T &) naar de in het object opgeslagen waarde terug ([SWS_CORE_00766]).

Foutafhandeling en exception-gedrag

Bevat de Result-instantie geen waarde, maar een fouttoestand, dan werpt de functie de aan de fout toegewezen C++-exception op ([SWS_CORE_00766]). De specificatie classificeert de functie als niet-uitzonderingsveilig (not exception safe) ([SWS_CORE_00766]); interpretatie: deze classificatie is er vermoedelijk aan toe te schrijven dat er in geval van een fout zoals bedoeld een exception wordt opgeworpen. Vraag Q-0f4ebba70af6e48c (open)

Gelijktijdigheid en beperkingen

De bewerking is gespecificeerd als thread-safe (thread-safe) ([SWS_CORE_00766]). Als essentiële randvoorwaarde geldt: zijn C++-exceptions in de compiler-toolchain uitgeschakeld, dan neemt deze functie niet deel aan overbelastingresolutie (overload resolution) ([SWS_CORE_00766]).

Samenspel in het result-framework

De functie vormt een aanvulling op verwante overbelastingen en specialisaties binnen ara::core::Result:

  • Voor wijzigbare lvalues bestaat de variant met retournering van T & ([SWS_CORE_00778]).
  • Voor rvalue-instanties staat de move-overbelasting met retournering van T && gereed ([SWS_CORE_00769]).
  • Voor void-resultaten bestaat de specialisatie ara::core::Result<void, E> zonder retourwaarde ([SWS_CORE_00866]).
  • Voor referentietypen ara::core::Result<T &, E> zijn bijbehorende constante en niet-constante referentie-overbelastingen beschikbaar ([SWS_CORE_00938], [SWS_CORE_00949]).

Deze gebruiksinstructie is geautomatiseerd gegenereerd en dient als leidraad. Uitsluitend de specificaties van AUTOSAR zijn bindend.

Implementer's Guide volgt (complexiteit 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#42394c4a
Content hash
42394c4a
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

functie ValueOrThrow [SWS_CORE_00769] Upstream: RS_AP_00130

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

Return the contained value or throw an exception.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: bf00696cade5 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De lidfunctie ValueOrThrow() && wordt beschikbaar gesteld via de header #include "ara/core/result.h" en dient voor synchrone toegang tot de waarde die is ingekapseld in een ara::core::Result-instantie ([SWS_CORE_00769]). Door de rvalue-kwalificatie (&&) wordt de functie aangeroepen op rvalue-objecten en retourneert ze een rvalue-referentie (T &&) naar de ingesloten waarde [SWS_CORE_00769].

Foutafhandeling en randvoorwaarden

Bevat het Result-object een foutwaarde, dan werpt de methode het aan de fout gekoppelde exceptietype op ([SWS_CORE_00769]). De specificatie classificeert de uitvoering als niet-uitzonderingsveilig (not exception safe), maar definieert deze uitdrukkelijk als thread-veilig (thread-safe) [SWS_CORE_00769]. Een bindend voorschrift betreft de toolchain: indien C++-exceptions in de compiler zijn uitgeschakeld, mag de functie in geen geval deelnemen aan de overbelastingsresolutie [SWS_CORE_00769].

Interactie binnen de overbelastingsset

De methode [SWS_CORE_00769] maakt deel uit van een afgestemd geheel van overbelastingen voor ValueOrThrow binnen ara::core::Result:

  • Voor lvalues staan de constante overbelasting [SWS_CORE_00766] (retourwaarde: const T &) en de niet-constante variant [SWS_CORE_00778] (retourwaarde: T &) ter beschikking.
  • Voor void-resultaten biedt de specialisatie ara::core::Result<void, E> de functie [SWS_CORE_00866] zonder retourwaarde aan.
  • Voor referentietypen dekt ara::core::Result<T &, E> met [SWS_CORE_00938] (constant) en [SWS_CORE_00949] (niet-constant) overeenkomstige referentieretourwaarden af.

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatie AUTOSAR Adaptive R25-11.

Implementer's Guide volgt (complexiteit 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#aab3435a
Content hash
aab3435a
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

functie ValueOrThrow [SWS_CORE_00778] Upstream: RS_AP_00130

T & ValueOrThrow () &noexcept(false);

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

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: ddfa99362222 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De lidfunctie ValueOrThrow [SWS_CORE_00778] van de klasse ara::core::Result (header #include "ara/core/result.h") maakt synchrone toegang tot de ingesloten waarde mogelijk. Aangezien de functiesignatuur is voorzien van de ref-qualifier &, kan deze uitsluitend worden aangeroepen op niet-constante lvalue-instanties. Ze verwacht geen invoerparameters en geeft een aanpasbare referentie (T&) naar de ingekapselde waarde terug.

Foutafhandeling en randvoorwaarden

Bevat het object geen waarde, maar een fout, dan werpt ValueOrThrow synchroon de aan de fout gekoppelde exceptie op (noexcept(false)) [SWS_CORE_00778]. De functie is gespecificeerd als not exception safe [SWS_CORE_00778]; interpretatie: dit duidt er vermoedelijk op dat bij het optreden van een fout de control flow wordt onderbroken door het opwerpen van de exceptie en er geen verdere herstel- of rollback-garanties worden geboden. Vraag Q-11aed84264f3411f (open) Indien C++-exceptions in de compiler-toolchain zijn uitgeschakeld, neemt de functie verplicht niet deel aan de overbelastingsresolutie [SWS_CORE_00778]. Met betrekking tot gelijktijdigheid is de uitvoering aangeduid als thread-safe [SWS_CORE_00778].

Samenspel

De functie maakt deel uit van een familie van overbelastingen voor waardetoegang in ara::core::Result:

  • Voor constante instanties staat de overbelasting met teruggave van const T& gereed [SWS_CORE_00766].
  • Voor rvalue-objecten bestaat een variant met move-semantiek, die T&& oplevert [SWS_CORE_00769].
  • Voor specialisaties met referentietypen (Result<T&, E>) staan overeenkomstige overbelastingen voor aanpasbare referenties [SWS_CORE_00949] en constante referenties [SWS_CORE_00938] ter beschikking.
  • Bij instanties zonder waarde (Result<void, E>) controleert de methode enkel de aanwezigheid van een fout en activeert desgewenst de exceptie [SWS_CORE_00866].

Deze tekst is gegenereerd door een AI-systeem en is gebaseerd op de specificatie AUTOSAR Adaptive Release R25-11.

Implementer's Guide volgt (complexiteit 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#22a2d31e
Content hash
22a2d31e
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

functie 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#9dc6798e
Content hash
9dc6798e
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

functie 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#004a00ae
Content hash
004a00ae
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

functie 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#8b83da4a
Content hash
8b83da4a
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

functie 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#bf721a5e
Content hash
bf721a5e
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

functie 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#7083d7bb
Content hash
7083d7bb
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

functie 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#75e4205a
Content hash
75e4205a
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

functie 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#021687fc
Content hash
021687fc
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

functie 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#c4659f37
Content hash
c4659f37
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

functie ~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#049ff27e
Content hash
049ff27e
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

Documentatie van de typealiassen

typealias 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#9d5434f0
Content hash
9d5434f0
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

typealias 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#fe41b216
Content hash
fe41b216
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