DEENESPTFRRUARHIKOZHNL

clase ara::core::Result< T &, E >

[SWS_CORE_00901] Upstream: RS_AP_00130

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

Specialization of class Result for reference to value types. 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

Guía del usuarioGENERADO POR IA

Sirve para la devolución tolerante a fallos de una referencia a un objeto existente o de un código de error ocurrido.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 8d8a51a8c902 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Sirve para la devolución tolerante a fallos de una referencia a un objeto existente o de un código de error ocurrido.

La especialización ara::core::Result<T&, E> encapsula o bien una referencia sin propiedad a un resultado de operación exitoso del tipo T& ([SWS_CORE_00902]) o bien un código de error ocurrido del tipo E. Los usuarios comprueban típicamente la presencia de un valor mediante HasValue() ([SWS_CORE_00918]) antes de acceder al objeto de destino referenciado a través de operadores de desreferenciación o Value(). Dado que la instancia no posee por sí misma el objeto referenciado, es probable que el llamador deba asegurarse de que este permanezca válido en memoria durante todo el tiempo de uso del resultado. Pregunta Q-48d71186fb35af77 (abierta)

Contexto

La especialización de plantilla ara::core::Result<T&, E> encapsula o bien una referencia a un resultado de operación exitoso del tipo value_type ([SWS_CORE_00902]) o bien un valor de error del tipo error_type ([SWS_CORE_00903]). Como estructura de retorno estandarizada en el módulo core, permite una programación robusta frente a fallos sin el uso obligatorio de excepciones de C++ en el flujo regular. Según la especificación, la implementación impone en tiempo de compilación que el tipo de error E se corresponda con el tipo ara::core::ErrorCode; una asignación discrepante da lugar a un error de compilación. Entre los socios de interacción se encuentran los servicios proveedores de datos, componentes llamadores para la comprobación del resultado, así como el objeto de destino gestionado externamente al cual se accede directamente a través de la referencia vinculada.

Ciclo de vida

Una instancia se inicializa deterministamente o bien con una referencia a un lvalue existente o bien con un error. La inicialización con una referencia se realiza a través del constructor [SWS_CORE_00908] o del método factoría estático FromValue [SWS_CORE_00904]; la transferencia de rvalues no está permitida. Los estados de error se crean a través de constructores ([SWS_CORE_00909], [SWS_CORE_00910]) o factorías como FromError ([SWS_CORE_00905], [SWS_CORE_00906], [SWS_CORE_00907]). No existe un constructor por defecto. Los constructores de copia y movimiento ([SWS_CORE_00911], [SWS_CORE_00912]) asumen el estado actual de otra instancia.

En cuanto a las relaciones de propiedad, Result<T&, E> únicamente vincula una referencia y no asume ninguna propiedad ni gestión del ciclo de vida para el objeto de destino referenciado. Por tanto, es probable que el llamador deba garantizar que el objeto de destino permanezca válido durante todo el tiempo de existencia de la instancia de Result. Pregunta (abierta) Los cambios de estado durante el funcionamiento se llevan a cabo mediante operadores de asignación ([SWS_CORE_00914], [SWS_CORE_00915]), los cuales revinculan la referencia interna al nuevo destino o transfieren un error. Además, EmplaceError [SWS_CORE_00916] coloca la instancia directamente en un estado de error, mientras que Swap [SWS_CORE_00917] intercambia los contenidos de dos instancias. El destructor [SWS_CORE_00913] se comporta de forma trivial, siempre que E sea trivialmente destructible. Los accesos de lectura paralelos al valor o error son seguros para hilos, mientras que las operaciones que modifican el estado como asignaciones, Swap o EmplaceError no son seguras para hilos.

ResultStates Init ValueState Wert-Referenz (T&) Init->ValueState FromValue / ctor ErrorState Fehler (E) Init->ErrorState FromError / ctor ValueState->ErrorState EmplaceError / op= ValueState->ErrorState Swap ErrorState->ValueState op= ErrorState->ValueState Swap

Diagrama de estados: fases de vida y transiciones de estado entre el estado de referencia y el de error. Fuentes: [SWS_CORE_00904], [SWS_CORE_00905], [SWS_CORE_00914], [SWS_CORE_00916], [SWS_CORE_00917].

Ruta de uso

El flujo regular incluye el control de estado así como la evaluación orientada a objetivos:

Comprobación y acceso a valor o errorInvocadorDienstResult<T&, E>ermittleReferenz()Result<T&, E>HasValue()boolaltWert vorhandenValue()T&FehlerfallError()const E&

Diagrama de secuencia: pasos típicos de consulta y acceso para valor y error. Fuentes: [SWS_CORE_00918], [SWS_CORE_00924], [SWS_CORE_00928].

Escenarios de error

Si la instancia se encuentra en estado de error, las sobrecargas de Error() ([SWS_CORE_00928], [SWS_CORE_00929], [SWS_CORE_00930]) conceden acceso al objeto de error. De forma complementaria, el error se puede obtener a través de Err() ([SWS_CORE_00931], [SWS_CORE_00932]) como Optional<E> o a través de ErrorOr() ([SWS_CORE_00935], [SWS_CORE_00936]) con un valor de contingencia. Para cotejos de error específicos, CheckError() [SWS_CORE_00937] compara el error contenido con un error de referencia.

La especificación define precondiciones estrictas para los accesos a elementos:

Esta guía se basa en la especificación AUTOSAR Adaptive Platform R25-11 (módulo core). Fue curada de forma automatizada para autodocs.

Mapa de miembros

Diagrama de clases

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

G nara__core__Result__T____E__551 Result< T &, E > + Result() + operator=() + ~Result() + Bind() + CheckError() + EmplaceError() + Err() + Error() + ErrorOr() + HasValue() + Ok() + Resolve() + Swap() + Value() + ValueOr() + ValueOrThrow() … 5 weitere

Vista de detalle

Selecciona una entrada en el índice.

Constructores y destructor

Result función 5

Construct a new Result containing a reference to value from the specified reference to value. If U is not an lvalue, the program is ill-formed.

Sobrecargas Result 5
template <typename U = T> Result (const U &&t) noexcept; SWS_CORE_00908
explicit Result (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00909
explicit Result (E &&e) noexcept(std::is_nothrow_move_constructible< E >::value); SWS_CORE_00910
Result (const Result &other) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00911
Result (Result &&other) noexcept(std::is_nothrow_move_constructible< E >::value); SWS_CORE_00912
~Result función

Destructor. This destructor is trivial if std::is_trivially_destructible<E>::value is true. ≙ std::is_trivially_destructible

~Result () noexcept;

Métodos

Bind función

Apply the given Callable to the value of this instance, and return a new 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&); • XXX f(const T&); meaning that the Callable either returns a Result<XXX> or a XXX directly, where XXX can be any type that is suitable for use by class Result. The return type of this function is decltype(f(Value())) for a template argument F that returns a Result type, and it is Result<decltype(f(Value())), E> for a template argument F that does not return a 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.

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

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;
EmplaceError función

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);
Err función 2

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

Sobrecargas Err 2
Optional< E > Err () const &noexcept(std::is_nothrow_constructible< Optional< E >, const E &>::value); SWS_CORE_00931
Optional< E > Err () &&noexcept(std::is_nothrow_constructible< Optional< E >, E && >::value); SWS_CORE_00932
Error función 3

Access the contained error.

Sobrecargas Error 3
const E & Error () const & noexcept; SWS_CORE_00928
E & Error () & noexcept; SWS_CORE_00929
E && Error () &&noexcept; SWS_CORE_00930
ErrorOr función 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

Sobrecargas 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_00935
template <typename G> E ErrorOr (G &&defaultError) &&noexcept(std::is_nothrow_move_ constructible< E >::value &&std::is_nothrow_constructible< E, G && >::value); SWS_CORE_00936
FromError función 3

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

Sobrecargas FromError 3
static Result FromError (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00905
static Result FromError (E &&e) noexcept(std::is_nothrow_move_ constructible< E >::value); SWS_CORE_00906
template <typename... Args> static Result FromError (Args &&... args) noexcept(std::is_nothrow_ constructible< E, Args... >::value); SWS_CORE_00907
FromValue función

Build a new Result from the reference to a specified value (given as lvalue). If U is not an lvalue, the program is ill-formed.

template <typename U = T> static Result FromValue (U &&u) noexcept;
HasValue función

Check whether *this contains a value.

bool HasValue () const noexcept;
Ok función 2

Return the referred-to value as an Optional

Sobrecargas Ok 2
Optional< const T & > Ok () const noexcept; SWS_CORE_00926
Optional< T & > Ok () noexcept; SWS_CORE_00927
Resolve función 2

Return the referred-to 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: const T& f(const E&);

Sobrecargas Resolve 2
template <typename F> const T & Resolve (F &&f) const; SWS_CORE_00939
template <typename F> T & Resolve (F &&f) const; SWS_CORE_00940
Result< T &, E función 2

Access the referred-to value.

Sobrecargas Result< T &, E 2
const T * operator-> () const noexcept; SWS_CORE_00922
T * operator-> () noexcept; SWS_CORE_00923
Swap función

Exchange the contents of this instance with those of other

void Swap (Result &other) noexcept(std::is_nothrow_move_constructible< E >::value &&std::is_nothrow_move_assignable< E >::value);
Value función 2

Access the referred-to value.

Sobrecargas Value 2
const T & Value () const & noexcept; SWS_CORE_00924
T & Value () & noexcept; SWS_CORE_00925
ValueOr función 2

Return a copy of the referred-to 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.

Sobrecargas 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_00933
template <typename U> T ValueOr (U &&defaultValue) &&noexcept(std::is_nothrow_move_ constructible< T >::value &&std::is_nothrow_constructible< T, U && >::value); SWS_CORE_00934
ValueOrThrow función 2

Return the contained value or throw an exception.

Sobrecargas ValueOrThrow 2
const T & ValueOrThrow () const noexcept(false); SWS_CORE_00938
T & ValueOrThrow () noexcept(false); SWS_CORE_00949

Operadores

operator bool función

Check whether *this contains a value.

explicit operator bool () const noexcept;
operator* función 2

Access the referred-to value.

Sobrecargas * 2
const T & operator* () const & noexcept; SWS_CORE_00920
T & operator* () & noexcept; SWS_CORE_00921
operator= función 2

Copy-assignment operator If other contains a value, the contained reference is rebound to the referee of other. If other contains an error, the contained error is copy-constructed or copy-assigned from the one contained by other.

Sobrecargas = 2
Result & operator= (const Result &other) noexcept(std::is_nothrow_ copy_constructible< E >::value &&std::is_nothrow_copy_assignable< E >::value); SWS_CORE_00914

Alias de tipo

error_type alias de tipo

Type alias for the type E of errors

using error_type = E;
value_type alias de tipo

Type alias for the type T& of values

using value_type = T&;

Documentación de los métodos

función Result< T &, E [SWS_CORE_00922] Upstream: RS_AP_00130

const T * operator-> () const noexcept;

Access the referred-to value.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 78ad946285a2 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

La función miembro const T * operator-> () const noexcept permite el acceso de lectura síncrono al valor referenciado de un objeto ara::core::Result<T &, E> [SWS_CORE_00922]. No toma argumentos y devuelve como valor de retorno un puntero constante (const T *) al objeto de destino referenciado [SWS_CORE_00922]. Para su uso debe incluirse la cabecera #include "ara/core/result.h" [SWS_CORE_00922].

Manejo de errores

La operación está declarada como noexcept y posee la propiedad exception safe [SWS_CORE_00922]. Si el objeto no contiene ningún valor, se produce una violación de precondición (Violation) ResultWithNoValue [SWS_CORE_00922]. Por lo tanto, los llamadores deben asegurarse antes de la desreferenciación de que la instancia contenga efectivamente un valor válido.

Concurrencia y restricciones

La función está especificada como thread-safe [SWS_CORE_00922]. Dado que se trata de una función miembro constante, el acceso de lectura paralelo a la misma instancia es seguro. Sin embargo, el acceso al objeto de destino propiamente dicho está sujeto a las garantías de seguridad para subprocesos del tipo T.

Interacción

El operador constituye la contrapartida constante de la sobrecarga no constante T * operator-> () noexcept [SWS_CORE_00923]. Mientras que la variante no constante devuelve un puntero modificable T* [SWS_CORE_00923], esta versión impone el acceso inmutable a la instancia referenciada.

Este texto ha sido generado por una IA a partir de la especificación AUTOSAR R25-11.

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

Rückgabewert

TypBeschreibung
const T *a const pointer to the referred-to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00922
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00922@rel:R25-11#444e4903
Content hash
444e4903
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00922
Status: valid/unmigrated Version: rel:R25-11#9f451f5a 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_00922@rel:R25-11#9f451f5a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1000585b2026-09-30
  • R24-11rel:R24-11#9f451f5a2026-10-14
  • R25-11rel:R25-11#9f451f5a2026-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

función Result< T &, E [SWS_CORE_00923] Upstream: RS_AP_00130

T * operator-> () noexcept;

Access the referred-to value.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 798448906bb1 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

La función miembro operator-> permite el acceso directo al valor referenciado de una instancia de ara::core::Result<T&, E> según [SWS_CORE_00923]. La función requiere el archivo de cabecera #include "ara/core/result.h", no toma parámetros y devuelve un puntero del tipo T* al valor contenido o referenciado. La llamada se ejecuta de forma síncrona y está declarada con noexcept.

Tratamiento de errores y condiciones límite

Si el objeto no contiene ningún valor en el momento del acceso, se produce una infracción de la especificación en forma de ResultWithNoValue-Violation [SWS_CORE_00923]. No se indican mensajes de error específicos de DET o DEM para esta función miembro. En cuanto a la concurrencia y la tolerancia a fallos, el operador está clasificado como thread-safe y como exception safe [SWS_CORE_00923]. Los llamadores probablemente deberían asegurarse antes de la llamada de que la instancia contenga efectivamente un valor válido para evitar que se desencadene la infracción. Pregunta Q-a4b13cd34a40eb19 (abierta)

Interacción

En interacción con la plantilla ara::core::Result<T&, E>, esta función miembro no constante complementa la correspondiente sobrecarga constante const T * operator-> () const noexcept de [SWS_CORE_00922], que está sujeta a las mismas reglas de protección, pero proporciona un puntero de solo lectura (const T*).

Esta nota de uso fue generada automáticamente por una IA a partir de la especificación.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00923
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00923@rel:R25-11#7303bc06
Content hash
7303bc06
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00923
Status: valid/unmigrated Version: rel:R25-11#af163541 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_00923@rel:R25-11#af163541
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1716a9d42026-09-30
  • R24-11rel:R24-11#ba5721012026-10-14
  • R25-11rel:R25-11#af1635412026-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

función Bind [SWS_CORE_00941] 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 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&); • XXX f(const T&); meaning that the Callable either returns a Result<XXX> or a XXX directly, where XXX can be any type that is suitable for use by class Result. The return type of this function is decltype(f(Value())) for a template argument F that returns a Result type, and it is Result<decltype(f(Value())), E> for a template argument F that does not return a 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< T &, E >
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 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_00941
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00941@rel:R25-11#1fa977a3
Content hash
1fa977a3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00941
Status: valid/unmigrated Version: rel:R25-11#0126aa36 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_00941@rel:R25-11#0126aa36
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#78eae1372026-09-30
  • R24-11rel:R24-11#d8b1c6212026-10-14
  • R25-11rel:R25-11#0126aa362026-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

función CheckError [SWS_CORE_00937] Upstream: RS_AP_00130

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

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< T &, E >
Exception-Sicherheitnot exception 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_00937
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00937@rel:R25-11#e10e4804
Content hash
e10e4804
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00937
Status: valid/unmigrated Version: rel:R25-11#9f24181c 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_00937@rel:R25-11#9f24181c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b35758fd2026-09-30
  • R24-11rel:R24-11#112e32e52026-10-14
  • R25-11rel:R25-11#9f24181c2026-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

función EmplaceError [SWS_CORE_00916] 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< T &, E >
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_00916
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00916@rel:R25-11#9e4c14d2
Content hash
9e4c14d2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00916
Status: valid/unmigrated Version: rel:R25-11#a2c792b8 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_00916@rel:R25-11#a2c792b8
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#44cec67d2026-09-30
  • R24-11rel:R24-11#a2c792b82026-10-14
  • R25-11rel:R25-11#a2c792b82026-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

función Err [SWS_CORE_00931] 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< T &, E >
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_00931
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00931@rel:R25-11#643920f5
Content hash
643920f5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00931
Status: valid/unmigrated Version: rel:R25-11#367c1db3 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_00931@rel:R25-11#367c1db3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2576421d2026-09-30
  • R24-11rel:R24-11#7bb5b2f52026-10-14
  • R25-11rel:R25-11#367c1db32026-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

función Err [SWS_CORE_00932] 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< T &, E >
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_00932
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00932@rel:R25-11#4aacf24a
Content hash
4aacf24a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00932
Status: valid/unmigrated Version: rel:R25-11#3cc684f4 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_00932@rel:R25-11#3cc684f4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#04a7d8d42026-09-30
  • R24-11rel:R24-11#16f325ba2026-10-14
  • R25-11rel:R25-11#3cc684f42026-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

función Error [SWS_CORE_00928] Upstream: RS_AP_00130

const E & Error () const & noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00928
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00928@rel:R25-11#b60d2e0b
Content hash
b60d2e0b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00928
Status: valid/unmigrated Version: rel:R25-11#3a785d8e 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_00928@rel:R25-11#3a785d8e
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#43d54cae2026-09-30
  • R24-11rel:R24-11#3a785d8e2026-10-14
  • R25-11rel:R25-11#3a785d8e2026-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

función Error [SWS_CORE_00929] Upstream: RS_AP_00130

E & Error () & noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00929
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00929@rel:R25-11#c570727c
Content hash
c570727c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00929
Status: valid/unmigrated Version: rel:R25-11#9e868c10 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_00929@rel:R25-11#9e868c10
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#25dca9a02026-09-30
  • R24-11rel:R24-11#9e868c102026-10-14
  • R25-11rel:R25-11#9e868c102026-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

función Error [SWS_CORE_00930] Upstream: RS_AP_00130

E && Error () &&noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00930
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00930@rel:R25-11#20618e8c
Content hash
20618e8c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00930
Status: valid/unmigrated Version: rel:R25-11#63e8122f 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_00930@rel:R25-11#63e8122f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#63ed636b2026-09-30
  • R24-11rel:R24-11#63e8122f2026-10-14
  • R25-11rel:R25-11#63e8122f2026-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

función ErrorOr [SWS_CORE_00935] 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< T &, E >
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_00935
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00935@rel:R25-11#4fd4f174
Content hash
4fd4f174
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00935
Status: valid/unmigrated Version: rel:R25-11#96361ca4 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_00935@rel:R25-11#96361ca4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e2606b982026-09-30
  • R24-11rel:R24-11#7d28dddd2026-10-14
  • R25-11rel:R25-11#96361ca42026-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

función ErrorOr [SWS_CORE_00936] 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< T &, E >
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_00936
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00936@rel:R25-11#52a83ac2
Content hash
52a83ac2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00936
Status: valid/unmigrated Version: rel:R25-11#ae7f8d57 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_00936@rel:R25-11#ae7f8d57
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#6e984ee52026-09-30
  • R24-11rel:R24-11#8548dd712026-10-14
  • R25-11rel:R25-11#ae7f8d572026-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

función FromError [SWS_CORE_00905] 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< T &, E >
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_00905
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00905@rel:R25-11#2fb04a3f
Content hash
2fb04a3f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00905
Status: valid/unmigrated Version: rel:R25-11#41559e51 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_00905@rel:R25-11#41559e51
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#dd186e732026-09-30
  • R24-11rel:R24-11#d8a1d0a02026-10-14
  • R25-11rel:R25-11#41559e512026-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

función FromError [SWS_CORE_00906] 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< T &, E >
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_00906
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00906@rel:R25-11#83224fd2
Content hash
83224fd2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00906
Status: valid/unmigrated Version: rel:R25-11#228ba9e5 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_00906@rel:R25-11#228ba9e5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#9ba6bef62026-09-30
  • R24-11rel:R24-11#e77e81e82026-10-14
  • R25-11rel:R25-11#228ba9e52026-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

función FromError [SWS_CORE_00907] Upstream: RS_AP_00130

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

Build a new 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 is 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 Result

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitnot thread-safe

Template-Parameter

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

Parameter (in)

ParameterBeschreibung
argsthe parameter pack used for constructing the error

Rückgabewert

TypBeschreibung
Resulta 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_00907
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00907@rel:R25-11#772eee03
Content hash
772eee03
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00907
Status: valid/unmigrated Version: rel:R25-11#2e812431 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_00907@rel:R25-11#2e812431
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f0efbfee2026-09-30
  • R24-11rel:R24-11#282d12a22026-10-14
  • R25-11rel:R25-11#2e8124312026-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

función FromValue [SWS_CORE_00904] Upstream: RS_AP_00130

template <typename U = T> static Result FromValue (U &&u) noexcept;

Build a new Result from the reference to a specified value (given as lvalue). If U is not an lvalue, the program is ill-formed.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Template-Parameter

ParameterBeschreibung
Uthe type of u

Parameter (in)

ParameterBeschreibung
uthe value to bind to

Rückgabewert

TypBeschreibung
Resulta Result that contains a reference to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00904
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00904@rel:R25-11#94c6b122
Content hash
94c6b122
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00904
Status: valid/unmigrated Version: rel:R25-11#1e4ff745 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_00904@rel:R25-11#1e4ff745
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#a933c6fd2026-09-30
  • R24-11rel:R24-11#2545e3982026-10-14
  • R25-11rel:R25-11#1e4ff7452026-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

función HasValue [SWS_CORE_00918] 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< T &, E >
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_00918
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00918@rel:R25-11#93d6d5df
Content hash
93d6d5df
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00918
Status: valid/unmigrated Version: rel:R25-11#7f4bf0bf 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_00918@rel:R25-11#7f4bf0bf
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#be8026e42026-09-30
  • R24-11rel:R24-11#7f4bf0bf2026-10-14
  • R25-11rel:R25-11#7f4bf0bf2026-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

función Ok [SWS_CORE_00926] Upstream: RS_AP_00130

Optional< const T & > Ok () const noexcept;

Return the referred-to value as an Optional

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Optional< const T & >an Optional with the const-reference to value, if present

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

Record
AUTOSAR/AP/record/SWS_CORE_00926
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00926@rel:R25-11#0a840235
Content hash
0a840235
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00926
Status: valid/unmigrated Version: rel:R25-11#69b57392 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_00926@rel:R25-11#69b57392
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#98d5e8922026-09-30
  • R24-11rel:R24-11#69b573922026-10-14
  • R25-11rel:R25-11#69b573922026-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

función Ok [SWS_CORE_00927] Upstream: RS_AP_00130

Optional< T & > Ok () noexcept;

Return the referred-to value as an Optional.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
Optional< T & >an Optional with the reference to value, if present

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

Record
AUTOSAR/AP/record/SWS_CORE_00927
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00927@rel:R25-11#be52987f
Content hash
be52987f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00927
Status: valid/unmigrated Version: rel:R25-11#8d30f5f6 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_00927@rel:R25-11#8d30f5f6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#559a5ec22026-09-30
  • R24-11rel:R24-11#8d30f5f62026-10-14
  • R25-11rel:R25-11#8d30f5f62026-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

función Resolve [SWS_CORE_00939] Upstream: RS_AP_00130

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

Return the referred-to 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: const T& f(const E&);

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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
const T &the referred-to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00939
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00939@rel:R25-11#26be51b4
Content hash
26be51b4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00939
Status: valid/unmigrated Version: rel:R25-11#fdf742a1 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_00939@rel:R25-11#fdf742a1
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#089046092026-09-30
  • R24-11rel:R24-11#fdf742a12026-10-14
  • R25-11rel:R25-11#fdf742a12026-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

función Resolve [SWS_CORE_00940] Upstream: RS_AP_00130

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

Return the referred-to 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< T &, E >
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
T&the referred-to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00940
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00940@rel:R25-11#25474704
Content hash
25474704
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00940
Status: valid/unmigrated Version: rel:R25-11#e7d820cc 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_00940@rel:R25-11#e7d820cc
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2c14257c2026-09-30
  • R24-11rel:R24-11#e7d820cc2026-10-14
  • R25-11rel:R25-11#e7d820cc2026-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

función Result [SWS_CORE_00908] Upstream: RS_AP_00130

template <typename U = T> Result (const U &&t) noexcept;

Construct a new Result containing a reference to value from the specified reference to value. If U is not an lvalue, the program is ill-formed.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Template-Parameter

ParameterBeschreibung
Uthe type of t

Parameter (in)

ParameterBeschreibung
tthe value to bind to

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

Record
AUTOSAR/AP/record/SWS_CORE_00908
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00908@rel:R25-11#ea4b6725
Content hash
ea4b6725
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00908
Status: valid/unmigrated Version: rel:R25-11#b96d9e9c 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_00908@rel:R25-11#b96d9e9c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#3c9b72342026-09-30
  • R24-11rel:R24-11#066248f52026-10-14
  • R25-11rel:R25-11#b96d9e9c2026-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

función Result [SWS_CORE_00909] 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< T &, E >
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_00909
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00909@rel:R25-11#affa29a2
Content hash
affa29a2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00909
Status: valid/unmigrated Version: rel:R25-11#46372288 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_00909@rel:R25-11#46372288
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#4a6493a22026-09-30
  • R24-11rel:R24-11#5ebcd7662026-10-14
  • R25-11rel:R25-11#463722882026-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

función Result [SWS_CORE_00910] 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< T &, E >
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_00910
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00910@rel:R25-11#1ae1ff47
Content hash
1ae1ff47
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00910
Status: valid/unmigrated Version: rel:R25-11#c5e5c952 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_00910@rel:R25-11#c5e5c952
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0e04ebf92026-09-30
  • R24-11rel:R24-11#859dd0432026-10-14
  • R25-11rel:R25-11#c5e5c9522026-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

función Result [SWS_CORE_00911] Upstream: RS_AP_00130

Result (const Result &other) noexcept(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< T &, E >
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_00911
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00911@rel:R25-11#d99e0bc5
Content hash
d99e0bc5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00911
Status: valid/unmigrated Version: rel:R25-11#9a80ad1c 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_00911@rel:R25-11#9a80ad1c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ca8f9c002026-09-30
  • R24-11rel:R24-11#b1c37cf12026-10-14
  • R25-11rel:R25-11#9a80ad1c2026-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

función Result [SWS_CORE_00912] Upstream: RS_AP_00130

Result (Result &&other) noexcept(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< T &, E >
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_00912
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00912@rel:R25-11#8964e709
Content hash
8964e709
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00912
Status: valid/unmigrated Version: rel:R25-11#52978d92 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_00912@rel:R25-11#52978d92
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#565105002026-09-30
  • R24-11rel:R24-11#e6a2c0d12026-10-14
  • R25-11rel:R25-11#52978d922026-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

función Swap [SWS_CORE_00917] Upstream: RS_AP_00130

void Swap (Result &other) noexcept(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< T &, E >
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_00917
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00917@rel:R25-11#cf28ab32
Content hash
cf28ab32
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00917
Status: valid/unmigrated Version: rel:R25-11#72e89881 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_00917@rel:R25-11#72e89881
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bd04da7d2026-09-30
  • R24-11rel:R24-11#2d8fcf422026-10-14
  • R25-11rel:R25-11#72e898812026-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

función Value [SWS_CORE_00924] Upstream: RS_AP_00130

const T & Value () const & noexcept;

Access the referred-to value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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 referred-to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00924
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00924@rel:R25-11#b9abe50d
Content hash
b9abe50d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00924
Status: valid/unmigrated Version: rel:R25-11#25229425 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_00924@rel:R25-11#25229425
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#28f643a42026-09-30
  • R24-11rel:R24-11#252294252026-10-14
  • R25-11rel:R25-11#252294252026-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

función Value [SWS_CORE_00925] Upstream: RS_AP_00130

T & Value () & noexcept;

Access the referred-to value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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 referred-to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00925
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00925@rel:R25-11#3b3a3ed1
Content hash
3b3a3ed1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00925
Status: valid/unmigrated Version: rel:R25-11#96d0afae 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_00925@rel:R25-11#96d0afae
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d89bc0722026-09-30
  • R24-11rel:R24-11#96d0afae2026-10-14
  • R25-11rel:R25-11#96d0afae2026-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

función ValueOr [SWS_CORE_00933] 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 a copy of the referred-to 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< T &, E >
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_00933
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00933@rel:R25-11#6a37c493
Content hash
6a37c493
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00933
Status: valid/unmigrated Version: rel:R25-11#afe9e54f 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_00933@rel:R25-11#afe9e54f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#73a9ae6d2026-09-30
  • R24-11rel:R24-11#aae94efe2026-10-14
  • R25-11rel:R25-11#afe9e54f2026-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

función ValueOr [SWS_CORE_00934] 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 a copy of the referred-to 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< T &, E >
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_00934
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00934@rel:R25-11#4a5f3250
Content hash
4a5f3250
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00934
Status: valid/unmigrated Version: rel:R25-11#008e53e8 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_00934@rel:R25-11#008e53e8
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#32e3eaec2026-09-30
  • R24-11rel:R24-11#008e53e82026-10-14
  • R25-11rel:R25-11#008e53e82026-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

función ValueOrThrow [SWS_CORE_00938] Upstream: RS_AP_00130

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

Return the contained value or throw an exception.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 81dc031902ad Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función miembro síncrona ValueOrThrow de la especialización de plantilla ara::core::Result<T &, E> permite el acceso al valor contenido ([SWS_CORE_00938]). Si la operación se realiza correctamente, devuelve una referencia constante (const T &) al destino de referencia encapsulado.

Si el objeto representa un caso de error, la función lanza la excepción asociada al error específico (noexcept(false)) ([SWS_CORE_00938]). La especificación clasifica expresamente la seguridad ante excepciones de la operación como no segura ante excepciones (not exception safe) ([SWS_CORE_00938]).

En lo que respecta a la concurrencia, el método está declarado como seguro para subprocesos ([SWS_CORE_00938]). Una condición límite esencial concierne a la configuración de compilación: siempre que las excepciones de C++ estén desactivadas en la cadena de herramientas del compilador, ValueOrThrow no participa en la resolución de sobrecargas ([SWS_CORE_00938]).

Dentro de la cabecera ara/core/result.h, la función constituye el homólogo constante de la sobrecarga de referencia no constante [SWS_CORE_00949]. Para tipos de valor regulares se encuentran disponibles sobrecargas análogas para lvalues y rvalues ([SWS_CORE_00766], [SWS_CORE_00769], [SWS_CORE_00778]), mientras que para ara::core::Result<void, E> se define una sobrecarga sin valor de retorno ([SWS_CORE_00866]).

Esta nota de uso se ha generado automáticamente sobre la base de la especificación R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00938
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00938@rel:R25-11#6e7945cf
Content hash
6e7945cf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00938
Status: valid/unmigrated Version: rel:R25-11#af72fdda 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_00938@rel:R25-11#af72fdda
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#11054bee2026-09-30
  • R24-11rel:R24-11#881ca26f2026-10-14
  • R25-11rel:R25-11#af72fdda2026-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

función ValueOrThrow [SWS_CORE_00949] Upstream: RS_AP_00130

T & ValueOrThrow () noexcept(false);

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

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: cc4ce28e1dcf Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función miembro ValueOrThrow de la especialización de plantilla ara::core::Result<T&, E> sirve para el acceso síncrono al valor de referencia contenido [SWS_CORE_00949]. No acepta ningún parámetro y devuelve una referencia no constante T& al valor almacenado [SWS_CORE_00949].

Si en el objeto no hay ningún valor, sino un error, la operación no es segura ante excepciones (not exception safe) y desencadena una excepción del tipo correspondiente al error (noexcept(false)) [SWS_CORE_00949]. Una condición límite esencial para su uso consiste en que la función no participa en la resolución de sobrecargas si las excepciones de C++ están desactivadas en la cadena de herramientas del compilador [SWS_CORE_00949].

En cuanto a la concurrencia, la invocación está especificada como segura para subprocesos [SWS_CORE_00949]. Dentro de la especialización para referencias ara::core::Result<T&, E>, existe como variante constante la sobrecarga [SWS_CORE_00938], que proporciona const T&. Este comportamiento complementa las sobrecargas de la plantilla primaria ara::core::Result para referencias lvalue [SWS_CORE_00778], referencias const-lvalue [SWS_CORE_00766] y referencias rvalue [SWS_CORE_00769], así como la especialización para void [SWS_CORE_00866].

Esta nota de uso se ha creado de forma automatizada sobre la base de la especificación de AUTOSAR.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00949
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00949@rel:R25-11#68c863b9
Content hash
68c863b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00949
Status: valid/unmigrated Version: rel:R25-11#13bf0d5f 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_00949@rel:R25-11#13bf0d5f
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

función operator bool [SWS_CORE_00919] Upstream: RS_AP_00130

explicit operator bool () const noexcept;

Check whether *this contains a value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00919
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00919@rel:R25-11#d6c5a5bb
Content hash
d6c5a5bb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00919
Status: valid/unmigrated Version: rel:R25-11#9caff649 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_00919@rel:R25-11#9caff649
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#463c55122026-09-30
  • R24-11rel:R24-11#c1d3eae72026-10-14
  • R25-11rel:R25-11#9caff6492026-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

función operator* [SWS_CORE_00920] Upstream: RS_AP_00130

const T & operator* () const & noexcept;

Access the referred-to value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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 referred-to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00920
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00920@rel:R25-11#99348a83
Content hash
99348a83
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00920
Status: valid/unmigrated Version: rel:R25-11#20cbba54 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_00920@rel:R25-11#20cbba54
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#10c55e492026-09-30
  • R24-11rel:R24-11#d76ea3032026-10-14
  • R25-11rel:R25-11#20cbba542026-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

función operator* [SWS_CORE_00921] Upstream: RS_AP_00130

T & operator* () & noexcept;

Access the referred-to value.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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 referred-to value

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

Record
AUTOSAR/AP/record/SWS_CORE_00921
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00921@rel:R25-11#aa907f62
Content hash
aa907f62
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00921
Status: valid/unmigrated Version: rel:R25-11#ae9be381 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_00921@rel:R25-11#ae9be381
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#6b2811452026-09-30
  • R24-11rel:R24-11#ae9be3812026-10-14
  • R25-11rel:R25-11#ae9be3812026-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

función operator= [SWS_CORE_00914] Upstream: RS_AP_00130

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

Copy-assignment operator If other contains a value, the contained reference is rebound to the referee of other. If other contains an error, the contained error is copy-constructed or copy-assigned from the one contained by other.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00914
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00914@rel:R25-11#494e9b4b
Content hash
494e9b4b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00914
Status: valid/unmigrated Version: rel:R25-11#7d7fecd1 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_00914@rel:R25-11#7d7fecd1
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#87b4ac302026-09-30
  • R24-11rel:R24-11#7d7fecd12026-10-14
  • R25-11rel:R25-11#7d7fecd12026-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

función operator= [SWS_CORE_00915] Upstream: RS_AP_00130

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

Move-assignment operator If other contains a value, the contained reference is rebound to the referee of other. If other contains an error, the contained error is move-constructed or move-assigned from the one contained by other.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00915
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00915@rel:R25-11#57d800c6
Content hash
57d800c6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00915
Status: valid/unmigrated Version: rel:R25-11#7c4a74e8 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_00915@rel:R25-11#7c4a74e8
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#388263682026-09-30
  • R24-11rel:R24-11#7c4a74e82026-10-14
  • R25-11rel:R25-11#7c4a74e82026-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

función ~Result [SWS_CORE_00913] Upstream: RS_AP_00130

~Result () noexcept;

Destructor. This destructor is trivial if std::is_trivially_destructible<E>::value is true.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< T &, E >
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_00913
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00913@rel:R25-11#30a2d2f7
Content hash
30a2d2f7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00913
Status: valid/unmigrated Version: rel:R25-11#77d99248 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_00913@rel:R25-11#77d99248
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#311b9cf42026-09-30
  • R24-11rel:R24-11#77d992482026-10-14
  • R25-11rel:R25-11#77d992482026-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

Documentación de los alias de tipo

alias de tipo error_type [SWS_CORE_00903] 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< T &, E >
Symbolerror_type

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

Record
AUTOSAR/AP/record/SWS_CORE_00903
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00903@rel:R25-11#30e6af89
Content hash
30e6af89
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00903
Status: valid/unmigrated Version: rel:R25-11#042553bb 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_00903@rel:R25-11#042553bb
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#71ba70032026-09-30
  • R24-11rel:R24-11#042553bb2026-10-14
  • R25-11rel:R25-11#042553bb2026-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 tipo value_type [SWS_CORE_00902] 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< T &, E >
Symbolvalue_type

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

Record
AUTOSAR/AP/record/SWS_CORE_00902
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00902@rel:R25-11#c7ec4020
Content hash
c7ec4020
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00902
Status: valid/unmigrated Version: rel:R25-11#0efd456c 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_00902@rel:R25-11#0efd456c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#41d058682026-09-30
  • R24-11rel:R24-11#0efd456c2026-10-14
  • R25-11rel:R25-11#0efd456c2026-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