DEENESPTFRRUARHIKOZHNL

classe 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

Guia do utilizadorGERADO POR IA

Serve para o retorno tolerante a falhas de uma referência a um objeto existente ou de um código de erro ocorrido.
GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 8d8a51a8c902 Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

Serve para o retorno tolerante a falhas de uma referência a um objeto existente ou de um código de erro ocorrido.

A especialização ara::core::Result<T&, E> encapsula uma referência sem posse a um resultado de operação bem-sucedido do tipo T& ([SWS_CORE_00902]) ou um código de erro ocorrido do tipo E. Os utilizadores verificam tipicamente a presença de um valor através de HasValue() ([SWS_CORE_00918]), antes de acederem ao objeto de destino referenciado através de operadores de desreferenciação ou Value(). Como a instância não detém ela própria o objeto referenciado, o chamador deverá ter de assegurar que este permaneça válido na memória durante toda a duração de utilização do resultado. Pergunta Q-48d71186fb35af77 (aberta)

Contexto

A especialização de template ara::core::Result<T&, E> encapsula uma referência a um resultado de operação bem-sucedido do tipo value_type ([SWS_CORE_00902]) ou um valor de erro do tipo error_type ([SWS_CORE_00903]). Como estrutura de retorno padronizada no módulo core, possibilita uma programação robusta contra erros sem o recurso obrigatório a exceções de C++ no fluxo regular. De acordo com a especificação, a implementação impõe em tempo de compilação que o tipo de erro E corresponda ao tipo ara::core::ErrorCode; uma atribuição divergente conduz a um erro de compilação. Entre os parceiros de interação contam-se serviços fornecedores de dados, componentes chamadores para verificação do resultado e o objeto de destino gerido externamente, ao qual se acede diretamente através da referência vinculada.

Ciclo de vida

Uma instância é inicializada de forma determinística com uma referência a um lvalue existente ou com um erro. A inicialização com uma referência é efetuada através do construtor [SWS_CORE_00908] ou do método de fábrica estático FromValue [SWS_CORE_00904]; a passagem de rvalues é inadmissível. Os estados de erro são gerados através de construtores ([SWS_CORE_00909], [SWS_CORE_00910]) ou fábricas como FromError ([SWS_CORE_00905], [SWS_CORE_00906], [SWS_CORE_00907]). Não existe um construtor padrão. Construtores por cópia e por movimentação ([SWS_CORE_00911], [SWS_CORE_00912]) assumem o estado atual de outra instância.

No que concerne às relações de posse, Result<T&, E> apenas vincula uma referência e não assume posse ou gestão do ciclo de vida do objeto de destino referenciado. Por conseguinte, o chamador deverá ter de assegurar que o objeto de destino permaneça válido ao longo de todo o período de existência da instância Result. Pergunta (aberta) Transições de estado durante a operação são realizadas através de operadores de atribuição ([SWS_CORE_00914], [SWS_CORE_00915]), que vinculam novamente a referência interna ao novo destino ou transferem um erro. Adicionalmente, EmplaceError [SWS_CORE_00916] coloca a instância diretamente num estado de erro, ao passo que Swap [SWS_CORE_00917] troca os conteúdos de duas instâncias. O destrutor [SWS_CORE_00913] comporta-se trivialmente, desde que E seja trivialmente destrutível. Acessos paralelos de leitura ao valor ou erro são seguros para threads, enquanto operações modificadoras de estado como atribuições, Swap ou EmplaceError não são seguras para threads.

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 ciclo de vida e transições de estado entre o estado de referência e o de erro. Fontes: [SWS_CORE_00904], [SWS_CORE_00905], [SWS_CORE_00914], [SWS_CORE_00916], [SWS_CORE_00917].

Caminho de utilização

O fluxo regular compreende o controlo de estado, bem como a avaliação direcionada:

Verificação e acesso a valor ou erroChamadorDienstResult<T&, E>ermittleReferenz()Result<T&, E>HasValue()boolaltWert vorhandenValue()T&FehlerfallError()const E&

Diagrama de sequência: Passos típicos de consulta e acesso para valor e erro. Fontes: [SWS_CORE_00918], [SWS_CORE_00924], [SWS_CORE_00928].

Cenários de erro

Se a instância se encontrar no estado de erro, as sobrecargas de Error() ([SWS_CORE_00928], [SWS_CORE_00929], [SWS_CORE_00930]) concedem acesso ao objeto de erro. Adicionalmente, o erro pode ser obtido através de Err() ([SWS_CORE_00931], [SWS_CORE_00932]) como Optional<E> ou através de ErrorOr() ([SWS_CORE_00935], [SWS_CORE_00936]) com um valor de contingência. Para comparações de erros específicas, CheckError() [SWS_CORE_00937] compara o erro contido com um erro de referência.

A especificação define pré-condições estritas para os acessos a elementos:

Este guia baseia-se na especificação AUTOSAR Adaptive Platform R25-11 (módulo core). Foi curado de forma automatizada para autodocs.

Mapa de membros

Diagrama de classes

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 detalhes

Selecione uma entrada no índice.

Construtores e destrutor

Result função 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 função

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

~Result () noexcept;

Métodos

Bind função

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 função

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 função

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 função 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 função 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 função 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 função 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 função

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 função

Check whether *this contains a value.

bool HasValue () const noexcept;
Ok função 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 função 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 função 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 função

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 função 2

Access the referred-to value.

Sobrecargas Value 2
const T & Value () const & noexcept; SWS_CORE_00924
T & Value () & noexcept; SWS_CORE_00925
ValueOr função 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 função 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 função

Check whether *this contains a value.

explicit operator bool () const noexcept;
operator* função 2

Access the referred-to value.

Sobrecargas * 2
const T & operator* () const & noexcept; SWS_CORE_00920
T & operator* () & noexcept; SWS_CORE_00921
operator= função 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

Aliases 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&;

Documentação dos métodos

função Result< T &, E [SWS_CORE_00922] Upstream: RS_AP_00130

const T * operator-> () const noexcept;

Access the referred-to value.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 78ad946285a2 Procedência
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

usar

A função-membro const T * operator-> () const noexcept possibilita o acesso de leitura síncrono ao valor referenciado de um objeto ara::core::Result<T &, E> [SWS_CORE_00922]. Ela não recebe argumentos e fornece como valor de retorno um ponteiro constante (const T *) para o objeto de destino referenciado [SWS_CORE_00922]. Para o uso, o cabeçalho #include "ara/core/result.h" deve ser incluído [SWS_CORE_00922].

Tratamento de erros

A operação está declarada como noexcept e possui a propriedade exception safe [SWS_CORE_00922]. Se o objeto não contiver um valor, ocorre uma violação de pré-condição (Violation) ResultWithNoValue [SWS_CORE_00922]. Os chamadores devem, portanto, assegurar antes da desreferenciação que a instância de fato contenha um valor válido.

Simultaneidade e restrições

A função está especificada como thread-safe [SWS_CORE_00922]. Como se trata de uma função-membro constante, o acesso simultâneo de leitura à mesma instância é seguro. O acesso ao próprio objeto de destino está sujeito, contudo, às garantias de segurança para threads do tipo T.

Interação

O operador constitui a contraparte constante para a sobrecarga não constante T * operator-> () noexcept [SWS_CORE_00923]. Enquanto a variante não constante retorna um ponteiro modificável T* [SWS_CORE_00923], esta versão impõe o acesso imutável à instância referenciada.

Este texto foi gerado por uma IA com base na especificação 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#7e8ef1c3
Content hash
7e8ef1c3
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

função Result< T &, E [SWS_CORE_00923] Upstream: RS_AP_00130

T * operator-> () noexcept;

Access the referred-to value.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 798448906bb1 Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

usar

A função-membro operator-> possibilita o acesso direto ao valor referenciado de uma instância de ara::core::Result<T&, E> conforme [SWS_CORE_00923]. A função requer o arquivo de cabeçalho #include "ara/core/result.h", não recebe parâmetros e retorna um ponteiro do tipo T* para o valor contido ou referenciado. A chamada é executada de forma síncrona e está declarada com noexcept.

Tratamento de erros e condições de contorno

Se o objeto não contiver nenhum valor no momento do acesso, haverá uma violação da especificação na forma de um ResultWithNoValue-Violation [SWS_CORE_00923]. Mensagens de erro específicas de DET ou DEM não estão indicadas para esta função-membro. Em relação à concorrência e à tolerância a falhas, o operador é classificado como thread-safe bem como exception safe [SWS_CORE_00923]. Os chamadores devem provavelmente certificar-se, antes da chamada, de que a instância de fato contém um valor válido, a fim de evitar o disparo da violação. Pergunta Q-a4b13cd34a40eb19 (aberta)

Interação

Na interação com o template ara::core::Result<T&, E>, esta função-membro não constante complementa a sobrecarga constante correspondente const T * operator-> () const noexcept de [SWS_CORE_00922], que está sujeita às mesmas regras de proteção, mas fornece um ponteiro protegido contra gravação (const T*).

Esta nota de uso foi gerada automaticamente por uma IA com base na especificação.

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#ce510206
Content hash
ce510206
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

função 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#5d803b66
Content hash
5d803b66
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

função 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#33f4d7be
Content hash
33f4d7be
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

função 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#f34ddde7
Content hash
f34ddde7
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

função 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#d779f41b
Content hash
d779f41b
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

função 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#ace7afc2
Content hash
ace7afc2
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

função 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#19b9359e
Content hash
19b9359e
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

função 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#70a2c259
Content hash
70a2c259
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

função 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#a47a168a
Content hash
a47a168a
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

função 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#25b972a7
Content hash
25b972a7
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

função 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#a971d01b
Content hash
a971d01b
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

função 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#7fa4f0c1
Content hash
7fa4f0c1
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

função 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#cc4dc7cd
Content hash
cc4dc7cd
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

função 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#6c496b7e
Content hash
6c496b7e
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

função 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#c95281f8
Content hash
c95281f8
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

função 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#6e575e2d
Content hash
6e575e2d
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

função 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#36531f6f
Content hash
36531f6f
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

função 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#01c351d1
Content hash
01c351d1
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

função 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#56eee1c1
Content hash
56eee1c1
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

função 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#0687be55
Content hash
0687be55
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

função 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#cf7cd8d0
Content hash
cf7cd8d0
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

função 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#868e447a
Content hash
868e447a
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

função 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#2ab753b2
Content hash
2ab753b2
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

função 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#08409e66
Content hash
08409e66
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

função 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#eaf5a1f0
Content hash
eaf5a1f0
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

função 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#3094844c
Content hash
3094844c
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

função 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#f8e88f6e
Content hash
f8e88f6e
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

função 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#627253e6
Content hash
627253e6
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

função 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#50cd9ce5
Content hash
50cd9ce5
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

função 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#0a55b5f2
Content hash
0a55b5f2
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

função ValueOrThrow [SWS_CORE_00938] Upstream: RS_AP_00130

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

Return the contained value or throw an exception.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 81dc031902ad Procedência
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

A função-membro síncrona ValueOrThrow da especialização de template ara::core::Result<T &, E> permite o acesso ao valor contido ([SWS_CORE_00938]). No caso de operação bem-sucedida, retorna uma referência constante (const T &) para o destino de referência encapsulado.

Se o objeto representar um caso de erro, a função lança a exceção associada ao erro específico (noexcept(false)) ([SWS_CORE_00938]). A especificação classifica explicitamente a segurança de exceção da operação como não segura contra exceções (not exception safe) ([SWS_CORE_00938]).

Relativamente à concorrência, o método é declarado como thread-safe ([SWS_CORE_00938]). Uma condição marginal essencial diz respeito à configuração de compilação: desde que as exceções de C++ estejam desativadas na toolchain do compilador, ValueOrThrow não participa na resolução de sobrecarga ([SWS_CORE_00938]).

Dentro do cabeçalho ara/core/result.h, a função constitui o equivalente constante da sobrecarga de referência não constante [SWS_CORE_00949]. Para tipos de valor regulares, estão disponíveis sobrecargas análogas para lvalues e rvalues ([SWS_CORE_00766], [SWS_CORE_00769], [SWS_CORE_00778]), enquanto para ara::core::Result<void, E> está definida uma sobrecarga sem valor de retorno ([SWS_CORE_00866]).

Esta nota de uso foi gerada automaticamente com base na especificação R25-11.

Guia do implementador em breve (complexidade 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#d8a8a9ae
Content hash
d8a8a9ae
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

função ValueOrThrow [SWS_CORE_00949] Upstream: RS_AP_00130

T & ValueOrThrow () noexcept(false);

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

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: cc4ce28e1dcf Procedência
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

A função-membro ValueOrThrow da especialização de template ara::core::Result<T&, E> serve para o acesso síncrono ao valor de referência contido [SWS_CORE_00949]. Não recebe parâmetros e retorna uma referência não constante T& para o valor armazenado [SWS_CORE_00949].

Se no objeto não existir um valor, mas sim um erro, a operação não é segura contra exceções (not exception safe) e lança uma exceção do tipo pertencente ao erro (noexcept(false)) [SWS_CORE_00949]. Uma condição marginal essencial para a utilização consiste no facto de a função não participar na resolução de sobrecarga se as exceções de C++ estiverem desativadas na toolchain do compilador [SWS_CORE_00949].

No que diz respeito à concorrência, a chamada é especificada como thread-safe [SWS_CORE_00949]. Dentro da especialização para referências ara::core::Result<T&, E>, existe como variante constante a sobrecarga [SWS_CORE_00938], a qual fornece const T&. Este comportamento complementa as sobrecargas do template primário ara::core::Result para referências lvalue [SWS_CORE_00778], referências const-lvalue [SWS_CORE_00766] e referências rvalue [SWS_CORE_00769], bem como a especialização para void [SWS_CORE_00866].

Esta nota de uso foi criada de forma automatizada com base na especificação AUTOSAR.

Guia do implementador em breve (complexidade 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#568bdf0b
Content hash
568bdf0b
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

função 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#e9019c64
Content hash
e9019c64
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

função 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#0213e910
Content hash
0213e910
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

função 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#35352cac
Content hash
35352cac
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

função 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#e7c9be31
Content hash
e7c9be31
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

função 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#cecdebf6
Content hash
cecdebf6
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

função ~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#3c8dde2e
Content hash
3c8dde2e
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

Documentação dos aliases 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