DEENESPTFRRUARHIKOZHNL

classe 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

Guide utilisateurGÉNÉRÉ PAR IA

Encapsule soit une valeur de succès, soit une valeur d'erreur pour la transmission synchrone de résultats sans exception.
GÉNÉRÉ PAR IA non vérifié Modèle : gemini-3.8-flash-medium · Effort : medium · Température : non réglable · Prompt : 33e53dcae988 Provenance Questions ouvertes (1)
traduit du guide allemandgemini-3.8-flash-low · 2026-10-13 · Original allemand

Encapsule soit une valeur de succès, soit une valeur d'erreur pour la transmission synchrone de résultats sans exception.

La classe constitue un conteneur à sûreté de typage qui accueille soit une valeur utile, soit un code d'erreur, afin de transmettre des résultats de calcul de manière synchrone et sans exceptions C++ [SWS_CORE_00751]. Les appelants créent des instances via des constructeurs dédiés ou des fonctions de fabrique, puis évaluent le résultat selon l'état via des fonctions de vérification et d'accès telles que l'accès à la valeur ou à l'erreur. Comme contrainte essentielle, le type d'erreur sous-jacent doit impérativement correspondre au code d'erreur standard, car des affectations de types divergentes sont rejetées au moment de la compilation. De plus, les fonctions de déclenchement d'exceptions présupposent un environnement de compilation avec exceptions C++ activées [SWS_CORE_00766].

Contexte

La classe ara::core::Result est la structure centrale de l'AUTOSAR Adaptive Platform pour le renvoi synchrone et typé de résultats d'opérations sans recours obligatoire aux exceptions C++. Elle représente une union disjointe (Tagged Union) qui contient à tout instant soit une valeur utile de type value_type (T), soit une erreur de type error_type (E) [SWS_CORE_00711] [SWS_CORE_00712]. Par défaut, ara::core::ErrorCode fait office de type pour E ; les définitions d'erreurs divergentes sont empêchées par les implémentations dès le moment de la compilation par une erreur de compilation.

Dans l'architecture applicative, ara::core::Result sert d'intermédiaire entre les services appelés et les consommateurs. Les services instancient l'objet pour renvoyer le statut, tandis que les consommateurs déclenchent un traitement ultérieur via des tests d'état tels que [SWS_CORE_00751] ou des chaînages fonctionnels tels que [SWS_CORE_00768]. De plus, l'état peut être converti en ara::core::Optional via [SWS_CORE_00770] (Ok) et [SWS_CORE_00772] (Err).

Cycle de vie

L'initialisation d'une instance s'effectue soit directement via des constructeurs pour les valeurs ([SWS_CORE_00721], [SWS_CORE_00722]), soit explicitement pour les erreurs ([SWS_CORE_00723], [SWS_CORE_00724]). Des fonctions de fabrique statiques sont en outre disponibles : FromValue pour les lvalues, les rvalues et les arguments in-place ([SWS_CORE_00731], [SWS_CORE_00732], [SWS_CORE_00733]) ainsi que FromError pour générer des états d'erreur ([SWS_CORE_00734], [SWS_CORE_00735], [SWS_CORE_00736]).

ara::core::Result possède la donnée contenue de manière exclusive et gère sa durée de vie. Elle prend en charge une sémantique de valeur complète via des constructeurs de copie et de déplacement ([SWS_CORE_00725], [SWS_CORE_00726]) ainsi que des opérateurs d'affectation correspondants ([SWS_CORE_00741], [SWS_CORE_00742]). Un changement de contenu des instances existantes est possible au moyen de Swap [SWS_CORE_00745] ou par écrasement in-place via EmplaceValue [SWS_CORE_00743] respectivement EmplaceError [SWS_CORE_00744].

Le destructeur libère l'élément actif et est considéré comme trivialement destructible si aussi bien T que E sont trivialement destructibles [SWS_CORE_00727]. En ce qui concerne la concurrence, les accès en pure lecture sont thread-safe, tandis que les opérations modificatrices telles que EmplaceValue, EmplaceError, les affectations par déplacement ou Swap ne sont pas thread-safe et nécessitent une synchronisation externe.

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

Diagramme d'états : transitions d'état entre l'état de valeur et l'état d'erreur pendant la durée de vie d'une instance Result. Sources : [SWS_CORE_00721], [SWS_CORE_00723], [SWS_CORE_00743], [SWS_CORE_00744], [SWS_CORE_00727]

Parcours d'utilisation

Le déroulement régulier comprend la création, la validation et l'extraction du résultat :

  1. Mise à disposition : un service produit le résultat via [SWS_CORE_00731] ou [SWS_CORE_00734] et renvoie l'instance par valeur.
  2. Vérification d'état : l'appelant vérifie au moyen de HasValue() [SWS_CORE_00751] ou de l'opérateur de conversion explicite operator bool() [SWS_CORE_00752] si une valeur est présente. Ce dernier est désactivé lorsque T est lui-même de type bool.
  3. Accès à la valeur et à l'erreur : si une valeur est présente, celle-ci peut être lue via Value() ([SWS_CORE_00755], [SWS_CORE_00756], [SWS_CORE_00775]) ou les opérateurs operator* ([SWS_CORE_00753], [SWS_CORE_00759]) et operator-> ([SWS_CORE_00754], [SWS_CORE_00777]). En cas d'erreur, l'accès s'effectue via Error() ([SWS_CORE_00757], [SWS_CORE_00758], [SWS_CORE_00776]) ou la vérification ciblée de l'erreur avec CheckError() [SWS_CORE_00765].
  4. Transformation fonctionnelle : alternativement, Bind() [SWS_CORE_00768] permet un traitement ultérieur monadique : le callable transmis n'est exécuté que si une valeur utile est contenue ; une erreur existante est propagée sans modification dans la nouvelle instance de Result. Des solutions de repli peuvent être représentées avec Resolve() [SWS_CORE_00767].
Déroulement de la vérification et de l'interrogation du résultatApplicationDienstara::core::Resultausfuehren()FromValue(wert) / FromError(fehler)Result<T, E>HasValue()bool (true / false)altHasValue() == trueValue()const T&HasValue() == falseError()const E&

Diagramme de séquence : séquence d'appels typique lors de l'interrogation et de l'évaluation d'une instance Result. Sources : [SWS_CORE_00731], [SWS_CORE_00751], [SWS_CORE_00755], [SWS_CORE_00757], [SWS_CORE_00768]

Scénarios d'erreur

L'accès à des états non actifs viole les préconditions de la classe :

Interprétation : le déclenchement d'une telle violation de précondition devrait typiquement conduire à l'interruption immédiate du processus dans les environnements d'exécution, car le standard classe ces états comme des erreurs de programmation graves. Question Q-15376f67084c4be6 (ouverte) Pour éviter des interruptions brutales, des méthodes défensives peuvent être utilisées : ValueOr() ([SWS_CORE_00761], [SWS_CORE_00762]) et ErrorOr() ([SWS_CORE_00763], [SWS_CORE_00764]) renvoient une valeur par défaut spécifiée en l'absence d'élément. Des variantes optionnelles telles que Ok() ([SWS_CORE_00770], [SWS_CORE_00771]) et Err() ([SWS_CORE_00772], [SWS_CORE_00773]) encapsulent l'accès sans exception.

Si un traitement des exceptions est souhaité, ValueOrThrow() ([SWS_CORE_00766], [SWS_CORE_00769], [SWS_CORE_00778]) lève en cas d'erreur l'exception C++ associée à l'erreur. Si les exceptions C++ sont désactivées dans le compilateur, ValueOrThrow() est retiré de la résolution de surcharge [SWS_CORE_00766] ; de même, la surcharge lvalue non constante de operator* est désactivée dans ce cas [SWS_CORE_00774].

Ce guide a été généré par un assistant de curation IA sur la base des exigences de spécification d'AUTOSAR Adaptive R25-11.

Carte des membres

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

Diagramme de classes

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

Vue détaillée

Sélectionnez une entrée dans le plan.

Erzeugung und Lebenszyklus

FromError fonction 3

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

Surcharges 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 fonction 3

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

Surcharges 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 fonction 6

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

Surcharges 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 fonction

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 fonction

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 fonction

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

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

Surcharges = 2
Swap fonction

Exchange the contents of this instance with those of other

Zustandsabfrage

CheckError fonction

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 fonction

Check whether *this contains a value.

bool HasValue () const noexcept;
operator bool fonction

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 fonction 2

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

Surcharges 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* fonction 3

Access the contained value.

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

Access the contained value.

Surcharges -> 2
const T * operator-> () const noexcept; SWS_CORE_00754
T * operator-> () noexcept; SWS_CORE_00777
Resolve fonction

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

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

Access the contained value.

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

Surcharges 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 fonction 3

Return the contained value or throw an exception.

Surcharges 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 fonction 2

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

Surcharges 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 fonction 3

Access the contained error.

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

Surcharges 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 fonction

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 alias de type

Type alias for the type E of errors

using error_type = E;
value_type alias de type

Type alias for the type T of values

using value_type = T;

Documentation des méthodes

fonction 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#1f2ce5ae
Content hash
1f2ce5ae
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

fonction 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#1c5422df
Content hash
1c5422df
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

fonction 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#f2d98008
Content hash
f2d98008
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

fonction 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#f3db9c2a
Content hash
f3db9c2a
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

fonction 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#b5bf3d37
Content hash
b5bf3d37
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

fonction 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#b5bf4ea2
Content hash
b5bf4ea2
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

fonction 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#b009c5af
Content hash
b009c5af
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

fonction 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#64a5dc96
Content hash
64a5dc96
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

fonction 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#0b80b208
Content hash
0b80b208
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

fonction 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#9cfd6fd9
Content hash
9cfd6fd9
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

fonction 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#c9a9b9fc
Content hash
c9a9b9fc
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

fonction 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#dc9e9882
Content hash
dc9e9882
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

fonction 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#4f594bfe
Content hash
4f594bfe
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

fonction 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#6c000479
Content hash
6c000479
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

fonction 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#7ad24dd1
Content hash
7ad24dd1
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

fonction 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#3adee8d3
Content hash
3adee8d3
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

fonction 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#5e76f08c
Content hash
5e76f08c
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

fonction 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#1ff6b147
Content hash
1ff6b147
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

fonction 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#5157b08b
Content hash
5157b08b
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

fonction 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#3ebc44b8
Content hash
3ebc44b8
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

fonction 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#b26eb5d8
Content hash
b26eb5d8
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

fonction 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#1f0698a6
Content hash
1f0698a6
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

fonction 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#eb4f8974
Content hash
eb4f8974
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

fonction 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#1c7e93a3
Content hash
1c7e93a3
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

fonction 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#80bcda26
Content hash
80bcda26
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

fonction 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#7f0d7432
Content hash
7f0d7432
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

fonction 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#d972d304
Content hash
d972d304
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

fonction 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#c6f88359
Content hash
c6f88359
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

fonction 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#841a5d2c
Content hash
841a5d2c
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

fonction 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#fa3d0f06
Content hash
fa3d0f06
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

fonction 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#afa1fbf1
Content hash
afa1fbf1
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

fonction 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#4c11c9f4
Content hash
4c11c9f4
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

fonction 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#3b986f42
Content hash
3b986f42
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

fonction ValueOrThrow [SWS_CORE_00766] Upstream: RS_AP_00130

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

Return the contained value or throw an exception.

GÉNÉRÉ PAR IA non vérifié Modèle : gemini-3.8-flash-medium · Effort : medium · Température : non réglable · Prompt : 38c9cb36d652 Provenance Questions ouvertes (1)
traduit du guide allemandgemini-3.8-flash-low · 2026-10-13 · Original allemand

Utilisation et appel

La fonction membre synchrone ValueOrThrow de la classe ara::core::Result ([SWS_CORE_00766]) est incluse via l'en-tête ara/core/result.h ([SWS_CORE_00766]). Elle est appelée sans paramètre sur une instance de lvalue constante et renvoie une référence constante (const T &) vers la valeur stockée dans l'objet ([SWS_CORE_00766]).

Traitement des erreurs et comportement vis-à-vis des exceptions

Si l'instance Result ne contient aucune valeur, mais un état d'erreur, la fonction lève l'exception C++ associée à l'erreur ([SWS_CORE_00766]). La spécification classe la fonction comme non sûre vis-à-vis des exceptions (not exception safe) ([SWS_CORE_00766]) ; interprétation : ce classement devrait être dû au fait qu'une exception est levée de manière intentionnelle en cas d'erreur. Question Q-0f4ebba70af6e48c (ouverte)

Concurrence et restrictions

L'opération est spécifiée comme thread-safe (thread-safe) ([SWS_CORE_00766]). Une condition limite essentielle s'applique : si les exceptions C++ sont désactivées dans la chaîne d'outils du compilateur, cette fonction ne participe pas à la résolution de surcharge (overload resolution) ([SWS_CORE_00766]).

Interaction dans le framework Result

La fonction complète des surcharges et spécialisations associées au sein de ara::core::Result :

  • Pour les lvalues modifiables, il existe la variante avec retour de T & ([SWS_CORE_00778]).
  • Pour les instances de rvalue, la surcharge de déplacement avec retour de T && est disponible ([SWS_CORE_00769]).
  • Pour les résultats void, il existe la spécialisation ara::core::Result<void, E> sans valeur de retour ([SWS_CORE_00866]).
  • Pour les types de référence ara::core::Result<T &, E>, des surcharges de référence constante et non constante correspondantes sont disponibles ([SWS_CORE_00938], [SWS_CORE_00949]).

Cette note d'utilisation a été générée de manière automatisée et sert de guide d'orientation. Seules les spécifications d'AUTOSAR font foi.

Guide de l'implémenteur à venir (complexité 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#957577c7
Content hash
957577c7
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

fonction ValueOrThrow [SWS_CORE_00769] Upstream: RS_AP_00130

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

Return the contained value or throw an exception.

GÉNÉRÉ PAR IA non vérifié Modèle : gemini-3.8-flash-medium · Effort : medium · Température : non réglable · Prompt : bf00696cade5 Provenance
traduit du guide allemandgemini-3.8-flash-low · 2026-10-13 · Original allemand

La fonction membre ValueOrThrow() && est mise à disposition via l'en-tête #include "ara/core/result.h" et sert à l'accès synchrone à la valeur encapsulée dans une instance ara::core::Result ([SWS_CORE_00769]). Grâce à la qualification rvalue (&&), la fonction est appelée sur des objets rvalue et renvoie une référence rvalue (T &&) sur la valeur contenue [SWS_CORE_00769].

Gestion des erreurs et conditions limites

Si l'objet Result contient une valeur d'erreur, la méthode lève le type d'exception associé à l'erreur ([SWS_CORE_00769]). La spécification classe l'exécution comme non sûre vis-à-vis des exceptions (not exception safe), mais la définit expressément comme thread-safe (thread-safe) [SWS_CORE_00769]. Une exigence contraignante concerne la chaîne d'outils : si les exceptions C++ sont désactivées dans le compilateur, la fonction ne doit en aucun cas participer à la résolution de surcharge [SWS_CORE_00769].

Interaction au sein du jeu de surcharges

La méthode [SWS_CORE_00769] fait partie d'un ensemble coordonné de surcharges pour ValueOrThrow au sein de ara::core::Result :

  • Pour les lvalues, la surcharge constante [SWS_CORE_00766] (retour : const T &) et la variante non constante [SWS_CORE_00778] (retour : T &) sont disponibles.
  • Pour les résultats void, la spécialisation ara::core::Result<void, E> propose la fonction [SWS_CORE_00866] sans valeur de retour.
  • Pour les types de référence, ara::core::Result<T &, E> couvre avec [SWS_CORE_00938] (constante) et [SWS_CORE_00949] (non constante) les retours par référence correspondants.

Cette note d'utilisation a été générée automatiquement sur la base de la spécification AUTOSAR Adaptive R25-11.

Guide de l'implémenteur à venir (complexité 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#909cf2af
Content hash
909cf2af
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

fonction ValueOrThrow [SWS_CORE_00778] Upstream: RS_AP_00130

T & ValueOrThrow () &noexcept(false);

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

GÉNÉRÉ PAR IA non vérifié Modèle : gemini-3.8-flash-medium · Effort : medium · Température : non réglable · Prompt : ddfa99362222 Provenance Questions ouvertes (1)
traduit du guide allemandgemini-3.8-flash-low · 2026-10-13 · Original allemand

Utilisation

La fonction membre ValueOrThrow [SWS_CORE_00778] de la classe ara::core::Result (en-tête #include "ara/core/result.h") permet l'accès synchrone à la valeur contenue. La signature de la fonction étant dotée du qualificateur de référence &, elle peut être appelée exclusivement sur des instances lvalue non constantes. Elle n'attend aucun paramètre d'entrée et renvoie une référence modifiable (T&) sur la valeur encapsulée.

Gestion des erreurs et conditions limites

Si l'objet ne contient pas de valeur mais une erreur, ValueOrThrow lève de manière synchrone l'exception associée à l'erreur (noexcept(false)) [SWS_CORE_00778]. La fonction est spécifiée comme not exception safe [SWS_CORE_00778] ; interprétation : cela devrait signifier qu'en cas d'erreur, le flux d'exécution est interrompu par la levée de l'exception et qu'aucune garantie supplémentaire de récupération ou de rollback n'est accordée. Si les exceptions C++ sont désactivées dans la chaîne d'outils du compilateur, la fonction ne participe impérativement pas à la résolution de surcharge [SWS_CORE_00778]. En matière de concurrence, l'exécution est indiquée comme thread-safe [SWS_CORE_00778]. Question Q-11aed84264f3411f (ouverte)

Interaction

La fonction fait partie d'une famille de surcharges pour l'accès aux valeurs dans ara::core::Result :

  • Pour les instances constantes, la surcharge avec retour de const T& est disponible [SWS_CORE_00766].
  • Pour les objets rvalue, il existe une variante avec sémantique de déplacement qui fournit T&& [SWS_CORE_00769].
  • Pour les spécialisations avec des types de référence (Result<T&, E>), des surcharges correspondantes pour les références modifiables [SWS_CORE_00949] ainsi que les références constantes [SWS_CORE_00938] sont disponibles.
  • Dans le cas d'instances sans valeur (Result<void, E>), la méthode vérifie uniquement la présence d'une erreur et déclenche le cas échéant l'exception [SWS_CORE_00866].

Ce texte a été généré par un système d'IA et s'appuie sur la spécification AUTOSAR Adaptive Release R25-11.

Guide de l'implémenteur à venir (complexité 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#9988979e
Content hash
9988979e
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

fonction 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#6ee1736a
Content hash
6ee1736a
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

fonction 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#ef90d551
Content hash
ef90d551
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

fonction 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#fc7b51b8
Content hash
fc7b51b8
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

fonction 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#efcff4b2
Content hash
efcff4b2
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

fonction 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#b5fc6bff
Content hash
b5fc6bff
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

fonction 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#8ce5f07f
Content hash
8ce5f07f
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

fonction 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#16d12eb7
Content hash
16d12eb7
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

fonction 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#82740ed5
Content hash
82740ed5
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

fonction ~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#f97ef143
Content hash
f97ef143
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

Documentation des alias de type

alias de type 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#c3442b22
Content hash
c3442b22
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

alias de type 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#aa07bd84
Content hash
aa07bd84
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