DEENESPTFRRUARHIKOZHNL

klasse ara::core::Result< void, E >

[SWS_CORE_00801] Upstream: RS_AP_00130

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

Specialization of class Result for "void" values The implementation shall flag the condition E != ara::core::ErrorCode as a compile error

Header-Datei#include "ara/core/result.h"
Forwarding-Header#include "ara/core/core_fwd.h"
Scopenamespace ara::core

User GuideAI-GEGENEREERD

Signaleert de succesvolle afronding van een waardeloze operatie of transporteert een opgetreden foutcode.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 8bbf74b21d56 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Signaleert de succesvolle afronding van een waardeloze operatie of transporteert een opgetreden foutcode.

De klasse ara::core::Result<void, E> specialiseert het Result-patroon voor operaties zonder retourwaarde en beeldt ofwel een succesvolle afronding ofwel een fout af ([SWS_CORE_00811]). Na de uitvoering controleert de aanroeper de successtatus via HasValue() ([SWS_CORE_00851]) of operator bool() en benadert in geval van een fout de opgenomen foutoorzaak. Als bindende randvoorwaarde moet het fouttype E overeenkomen met het type ara::core::ErrorCode, aangezien afwijkende typen reeds tijdens compilatietijd worden afgewezen.

Context

De template-klasse ara::core::Result<void, E> vormt een partiële specialisatie van het Result-patroon voor operaties die bij succes geen retourwaarde (void) overdragen, maar uitsluitend het slagen of mislukken van een actie signaleren. Volgens de typedefinitie is het waardetype value_type steeds vastgelegd als void ([SWS_CORE_00811]), terwijl error_type het geparametriseerde fouttype E vertegenwoordigt ([SWS_CORE_00812]). Voor het type E geldt de functionele eis dat elke afwijking van ara::core::ErrorCode door de implementatie als compilatiefout moet worden afgewezen.

In het AUTOSAR Adaptive Platform fungeert ara::core::Result<void, E> als gestandaardiseerd retourtype voor foutgevoelige procedures en stuuropdrachten tussen aanroepende componenten en uitvoerende interfaces. In plaats van klassieke C++-exceptieafhandeling biedt de klasse een bronschonende, expliciete foutoverdracht, die zowel directe toestandsopvraging als functionele doorkoppeling in het aanroeppad mogelijk maakt.

Levenscyclus

Een instantie van ara::core::Result<void, E> bevindt zich gedurende haar gehele levensduur in exact een van twee discrete toestanden: de waarde-toestand (succes) of de fout-toestand. De initialisatie met een void-waarde geschiedt via de standaardconstructor Result() ([SWS_CORE_00821]) of de statische factory-methode FromValue() ([SWS_CORE_00831]). Voor het aanmaken in de fouttoestand staan expliciete constructors voor lvalues en rvalues van het fouttype E ter beschikking ([SWS_CORE_00823], [SWS_CORE_00824]). Aanvullend maken de factory-functies FromError() de constructie mogelijk vanuit fout-lvalues ([SWS_CORE_00834]), rvalues ([SWS_CORE_00835]) of via directe in-place-constructie uit parameterpakketten ([SWS_CORE_00836]).

Reeds bestaande instanties kunnen achteraf via EmplaceValue() in de waarde-toestand worden gebracht ([SWS_CORE_00843]) of via EmplaceError() direct van een nieuwe fout worden voorzien ([SWS_CORE_00844]). Copy- en move-constructors ([SWS_CORE_00825], [SWS_CORE_00826]) evenals overeenkomstige toekenningsoperators ([SWS_CORE_00841], [SWS_CORE_00842]) dragen de toestand over tussen instanties; Swap() wisselt de inhoud van twee objecten uit ([SWS_CORE_00845]).

De destructor ~Result() beëindigt de levenscyclus ([SWS_CORE_00827]) en is triviaal indien std::is_trivially_destructible<E>::value van toepassing is. Wat betreft gelijktijdigheid zijn loutere leesoperaties thread-safe, terwijl toestandveranderende operaties zoals EmplaceValue(), EmplaceError(), toekenningen of Swap() niet thread-safe zijn.

lifecycle Init WertZustand Wert-Zustand (void / Erfolg) Init->WertZustand Result(), FromValue() FehlerZustand Fehler-Zustand (E / Misserfolg) Init->FehlerZustand Result(e), FromError() WertZustand->FehlerZustand EmplaceError() FehlerZustand->WertZustand EmplaceValue()

Toestandsdiagram: Levenscyclus en toestandsovergangen tussen waarde- en fouttoestand. Bronnen: [SWS_CORE_00821], [SWS_CORE_00831], [SWS_CORE_00823], [SWS_CORE_00834], [SWS_CORE_00843], [SWS_CORE_00844]

Gebruikspad

Het reguliere verloop begint met de ontvangst van een ara::core::Result<void, E>-instantie uit een functie-aanroep. De aanroeper evalueert het resultaat via HasValue() ([SWS_CORE_00851]) of de conversie operator bool() ([SWS_CORE_00852]). Bij succesvolle uitvoering kan via Bind() ([SWS_CORE_00870]) een opvolgende operatie functioneel worden gekoppeld: Bind() voert het meegegeven callable alleen uit wanneer de instantie een waarde bevat, en retourneert het getransformeerde resultaat daarvan. Is er daarentegen sprake van een fout, dan wordt de aangeroepen functie overgeslagen en wordt de foutinhoud overgenomen in het nieuwe resultaat.

Voor uniformiteit in generieke code biedt de specialisatie interfaces die formeel overeenkomen met de algemene Result-klasse: Value() ([SWS_CORE_00855]), operator*() ([SWS_CORE_00853]) en ValueOr() ([SWS_CORE_00861]) retourneren geen waarde en fungeren als no-op-methoden. Analoog daaraan voert Resolve() ([SWS_CORE_00867]) een meegegeven callable alleen dan uit wanneer er sprake is van een fout, en blijft deze bij succes inactief.

Typisch gebruikspad voor operatiecontrole en verdere verwerkingAufruferDienstResult<void, E>Execute()FromValue() / FromError()Result<void, E>HasValue()boolaltHasValue() == true (Erfolg)Bind(f)HasValue() == false (Fehler)Error() / Err()Fehlerwert E / Optional<E>

Sequentiediagram: Typische volgorde van aanroep, statuscontrole en foutafhandeling respectievelijk doorkoppeling. Bronnen: [SWS_CORE_00851], [SWS_CORE_00857], [SWS_CORE_00868], [SWS_CORE_00870]

Foutscenario's

Bevindt de instantie zich in de fouttoestand, dan kan de aanwezige fout via de overladen versies van Error() als referentie worden opgevraagd ([SWS_CORE_00857], [SWS_CORE_00858], [SWS_CORE_00876]). Daarbij geldt een strikte preconditie: het aanroepen van Error() op een instantie die geen fout bevat, vormt een ResultWithNoErrorViolation. Omgekeerd leidt het aanroepen van Value() ([SWS_CORE_00855]) of operator*() ([SWS_CORE_00853]) op een instantie in fouttoestand tot een ResultWithNoValueViolation.

Om schendingen van precondities te voorkomen, zijn er alternatieve opvraagmethoden beschikbaar: Err() levert de fout verpakt in een ara::core::Optional<E>, die bij succes leeg blijft ([SWS_CORE_00868], [SWS_CORE_00869]). Met ErrorOr() kan een standaardfout worden opgegeven die wordt geretourneerd indien er geen fout aanwezig is ([SWS_CORE_00863], [SWS_CORE_00864]). Voor controles op specifieke foutwaarden vergelijkt CheckError() de interne fout met een vergelijkingswaarde ([SWS_CORE_00865]).

Indien de voorkeur wordt gegeven aan exceptiegebaseerde foutafhandeling, werpt ValueOrThrow() ([SWS_CORE_00866]) in geval van een fout de aan de fout gekoppelde exceptie op; bij een aanwezige waarde keert de aanroep normaal terug. Indien C++-excepties in de toolchain zijn uitgeschakeld, neemt ValueOrThrow() niet deel aan overladingsresolutie ([SWS_CORE_00866]).

Deze handleiding is gebaseerd op de specificatie ara::core::Result<void, E> in release R25-11 en is geautomatiseerd gegenereerd.

Ledenkaart

Klassendiagram

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

G nara__core__Result__void__E__788 Result< void, E > + Result() + operator=() + ~Result() + Bind() + CheckError() + EmplaceError() + EmplaceValue() + Err() + Error() + ErrorOr() + HasValue() + Resolve() + Swap() + Value() + ValueOr() + ValueOrThrow() … 4 weitere

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

Result functie 5

Construct a new Result with a void value

Overloads Result 5
Result () noexcept; SWS_CORE_00821
explicit Result (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00823
explicit Result (E &&e) noexcept(std::is_nothrow_move_constructible< E >::value); SWS_CORE_00824
Result (const Result &other) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00825
Result (Result &&other) noexcept(std::is_nothrow_move_constructible< E >::value); SWS_CORE_00826
~Result functie

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

~Result () noexcept;

Methoden

Bind functie

Call the given Callable, 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(); • XXX f(); meaning that the Callable either returns a Result<XXX, E> 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()) for a template argument F that returns a Result type, and it is Result<decltype(f()), 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 functie

Return whether this instance contains the given error. This call compares the argument error, static_cast’d to E, with the return value from Error()

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

Put a new error into this instance, constructed in-place from the given arguments.

template <typename... Args> void EmplaceError (Args &&... args) noexcept(std::is_nothrow_ constructible< E, Args... >::value);
EmplaceValue functie

Put a new value into this instance, constructed in-place from the given arguments.

template <typename... Args> void EmplaceValue (Args &&... args) noexcept;
Err functie 2

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

Overloads Err 2
Optional< E > Err () const &noexcept(std::is_nothrow_constructible< Optional< E >, const E &>::value); SWS_CORE_00868
Optional< E > Err () &&noexcept(std::is_nothrow_constructible< Optional< E >, E && >::value); SWS_CORE_00869
Error functie 3

Access the contained error.

Overloads Error 3
const E & Error () const & noexcept; SWS_CORE_00857
E && Error () &&noexcept; SWS_CORE_00858
E & Error () & noexcept; SWS_CORE_00876
ErrorOr functie 2

Return the contained error or the given default error. If *this contains an error, it is returned. Otherwise, the specified default error is returned, static_cast’d to E

Overloads ErrorOr 2
template <typename G> E ErrorOr (G &&defaultError) const &noexcept(std::is_nothrow_copy_ constructible< E >::value &&std::is_nothrow_constructible< E, G &&>::value); SWS_CORE_00863
template <typename G> E ErrorOr (G &&defaultError) &&noexcept(std::is_nothrow_move_ constructible< E >::value &&std::is_nothrow_constructible< E, G && >::value); SWS_CORE_00864
FromError functie 3

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

Overloads FromError 3
static Result FromError (const E &e) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_00834
static Result FromError (E &&e) noexcept(std::is_nothrow_move_ constructible< E >::value); SWS_CORE_00835
template <typename... Args> static Result FromError (Args &&... args) noexcept(std::is_nothrow_ constructible< E, Args... >::value); SWS_CORE_00836
FromValue functie

Build a new Result with void as value

static Result FromValue () noexcept;
HasValue functie

Check whether *this contains a value.

bool HasValue () const noexcept;
Resolve functie

Do nothing or call a function. If *this contains a value, this function does nothing. Otherwise, the specified callable is invoked. The Callable is expected to be compatible to this interface: void f(const E&); This function only exists for helping with generic programming.

template <typename F> void Resolve (F &&f) const;
Swap functie

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 functie

This function only exists for helping with generic programming

void Value () const noexcept;
ValueOr functie

Do nothing. This function only exists for helping with generic programming.

template <typename U> void ValueOr (U &&defaultValue) const noexcept;
ValueOrThrow functie

Return the contained value or throw an exception.

void ValueOrThrow () const noexcept(false);

Operatoren

Check whether *this contains a value

explicit operator bool () const noexcept;
operator* functie

Access the contained value.

void operator* () const noexcept;
operator= functie 2

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

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

Type-aliassen

error_type typealias

Type alias for the type E of errors

using error_type = E;
value_type typealias

Type alias for the type T of values, always void for this specialization

using value_type = void;

Documentatie van de methoden

functie Bind [SWS_CORE_00870] Upstream: RS_AP_00130

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

Call the given Callable, 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(); • XXX f(); meaning that the Callable either returns a Result<XXX, E> 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()) for a template argument F that returns a Result type, and it is Result<decltype(f()), 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

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

Gebruik en aanroepcontext

De lidfunctie Bind van de specialisatie ara::core::Result<void, E> uit ara/core/result.h voert een vervolgberekening uit op een succesvolle instantie zonder resultaatwaarde [SWS_CORE_00870]. Als er een waarde aanwezig is, wordt de doorgegeven callable f synchroon en zonder parameters aangeroepen. De callable moet voldoen aan de interface Result<XXX, E> f() of XXX f(), waarbij XXX een voor Result toegestaan type moet zijn [SWS_CORE_00870]. Levert de callable een Result op, dan komt het retourtype overeen met decltype(f()); retourneert deze direct XXX, dan wordt het resultaat verpakt als Result<decltype(f()), E> [SWS_CORE_00870].

Foutafhandeling en gelijktijdigheid

Bevat de instantie geen waarde, dan wordt een nieuwe Result<XXX, E> geretourneerd waarin de oorspronkelijke fout wordt gekopieerd [SWS_CORE_00870]. Interpretatie: in dit geval blijft de uitvoering van de callable f vermoedelijk achterwege. Vraag Q-6288a7106d2730c3 (open) Wat betreft de uitvoeringsveiligheid geldt de functie als not exception safe [SWS_CORE_00870]. De thread-safety is voorwaardelijk (conditional) en hangt volledig af van de thread-safety van de doorgegeven callable f [SWS_CORE_00870].

Samenspel met verwante vereisten

In tegenstelling tot de primaire Result<T, E>-functies uit [SWS_CORE_00768] en [SWS_CORE_00941], waarbij de callable de waarde van de instantie via f(const T&) ontvangt, bindt de onderhavige overbelasting [SWS_CORE_00870] operaties aan void-resultaten en verwacht daarom een parameterloze callable.

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

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00870
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00870@rel:R25-11#9f61101f
Content hash
9f61101f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00870
Status: valid/unmigrated Version: rel:R25-11#e97c3561 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00870@rel:R25-11#e97c3561
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#609a669f2026-09-30
  • R20-11rel:R20-11#54a19d8c2026-10-14
  • R21-11rel:R21-11#54a19d8c2026-10-14
  • R22-11rel:R22-11#82ad4f452026-10-14
  • R23-11rel:R23-11#0661a5ee2026-10-14
  • R24-11rel:R24-11#1de461af2026-10-14
  • R25-11rel:R25-11#e97c35612026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie EmplaceError [SWS_CORE_00844] 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.

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

De lidfunctie EmplaceError van de specialisatie ara::core::Result<void, E> construeert synchroon een nieuwe foutwaarde direct in-place binnen de bestaande instantie vanuit de doorgegeven argumenten args [SWS_CORE_00844]. De via het headerbestand ara/core/result.h beschikbaar gestelde templatefunctie heeft geen retourwaarde en initialiseert het foutobject van het type E direct ter plaatse [SWS_CORE_00844].

Met betrekking tot foutafhandeling en uitzonderingsveiligheid is de operatie geclassificeerd als voorwaardelijk uitzonderingsveilig (conditionally exception safe) [SWS_CORE_00844]. Via de specificator noexcept(std::is_nothrow_constructible<E, Args...>::value) wordt vrijheid van excepties gegarandeerd, mits het type E met de typen Args... zonder exceptie kan worden geconstrueerd [SWS_CORE_00844].

Met betrekking tot concurrency en randvoorwaarden is de lidfunctie gedefinieerd als niet thread-safe (not thread-safe) [SWS_CORE_00844]. Wanneer meerdere threads gelijktijdig toegang hebben tot dezelfde Result-instantie, is vermoedelijk een extern synchronisatiemechanisme vereist om ongecoördineerde toestandsveranderingen te voorkomen. Vraag Q-ffcb8ced860f6080 (open)

In de totale context van de module core correspondeert [SWS_CORE_00844] direct met de overige varianten van dezelfde functie: voor de primaire template ara::core::Result is het identieke gedrag gespecificeerd onder [SWS_CORE_00744], terwijl voor referentietypen ara::core::Result<T&, E> de eis [SWS_CORE_00916] dezelfde signatuur en semantiek voorschrijft.

Deze gebruiksinstructie is gegenereerd door een AI op basis van de specificatie AUTOSAR R25-11.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00844
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00844@rel:R25-11#406b6656
Content hash
406b6656
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00844
Status: valid/unmigrated Version: rel:R25-11#88f4eda1 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00844@rel:R25-11#88f4eda1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bf2f5b962026-09-30
  • R19-11rel:R19-11#4c83aff42026-10-14
  • R20-11rel:R20-11#458451b42026-10-14
  • R21-11rel:R21-11#a69891002026-10-14
  • R22-11rel:R22-11#139e999d2026-10-14
  • R23-11rel:R23-11#5bb406fd2026-10-14
  • R24-11rel:R24-11#88f4eda12026-10-14
  • R25-11rel:R25-11#88f4eda12026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie EmplaceValue [SWS_CORE_00843] Upstream: RS_AP_00130

template <typename... Args> void EmplaceValue (Args &&...               args) noexcept;

Put a new value into this instance, constructed in-place from the given arguments.

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

Gebruik en aanroepcontext

De template-lidfunctie EmplaceValue behoort tot de module core en wordt via het headerbestand #include "ara/core/result.h" gedefinieerd voor de specialisatie ara::core::Result<void, E> [SWS_CORE_00843]. Het doel ervan is het direct aanmaken respectievelijk instellen van een nieuwe waarde in de bestaande instantie aan de hand van de doorgegeven argumenten args [SWS_CORE_00843]. De uitvoering geschiedt synchroon en levert geen retourwaarde (void) [SWS_CORE_00843]. Aangezien het waardetype van de specialisatie void is, brengt de aanroep de instantie in een succestoestand; als interpretatie dient het accepteren van args vermoedelijk primair voor generieke signatuurcompatibiliteit met de primaire templateklasse. Vraag Q-b53ca5908f2517fb (open)

Foutafhandeling en exception-veiligheid

De functie is gedeclareerd als noexcept en heeft de specificatie exception safe [SWS_CORE_00843]. Deze retourneert geen foutcodes en gooit geen excepties. Als het Result-object zich eerder in een fouttoestand bevond, wordt deze overschreven door het invoegen van de waarde.

Gelijktijdigheid en beperkingen

De operatie is aangemerkt als niet thread-safe (not thread-safe) [SWS_CORE_00843]. Bij potentieel gelijktijdige lees- of schrijftoegang tot dezelfde instantie van ara::core::Result is externe synchronisatie door de aanroeper dwingend vereist.

Samenspel met verwante specificaties

In vergelijking met de algemene implementatie van EmplaceValue voor ara::core::Result<T, E> in [SWS_CORE_00743], die slechts voorwaardelijk uitzonderingsveilig is en waarvan de noexcept-eigenschap afhangt van std::is_nothrow_constructible<T, Args...>::value, biedt de void-specialisatie conform [SWS_CORE_00843] een onbeperkte noexcept- en uitzonderingsveiligheidsgarantie.

Deze gebruiksinstructie is geautomatiseerd gegenereerd aan de hand van de AUTOSAR-specificatie voor R25-11.

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

Template-Parameter

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

Parameter (in)

ParameterBeschreibung
argsthe arguments used for constructing the value

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_00843
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00843@rel:R25-11#b6e9de40
Content hash
b6e9de40
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00843
Status: valid/unmigrated Version: rel:R25-11#96a7737d Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00843@rel:R25-11#96a7737d
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#129ba0572026-09-30
  • R19-11rel:R19-11#b323d52c2026-10-14
  • R20-11rel:R20-11#93b34c042026-10-14
  • R21-11rel:R21-11#89a72b1b2026-10-14
  • R22-11rel:R22-11#a8be1c612026-10-14
  • R23-11rel:R23-11#34d2947b2026-10-14
  • R24-11rel:R24-11#ab2f88f32026-10-14
  • R25-11rel:R25-11#96a7737d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Err [SWS_CORE_00868] 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.

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

De lidfunctie Err() const & van de klassespecialisatie ara::core::Result<void, E> maakt het synchroon opvragen van een mogelijk aanwezige fouttoestand mogelijk ([SWS_CORE_00868]). Ze wordt gedeclareerd via het headerbestand ara/core/result.h en vereist bij de aanroep geen overdrachtsparameters ([SWS_CORE_00868]). Als retourwaarde levert de functie een ara::core::Optional<E> op die de concrete foutwaarde bevat, mits het object een fout representeert ([SWS_CORE_00868]).

Met betrekking tot gelijktijdigheid en randvoorwaarden is de operatie expliciet gespecificeerd als thread-safe ([SWS_CORE_00868]). Wat betreft de uitzonderingsveiligheid geldt de methode als voorwaardelijk uitzonderingsveilig (conditionally exception safe) ([SWS_CORE_00868]). De noexcept-garantie geldt daarbij precies dan wanneer aan std::is_nothrow_constructible<Optional<E>, const E&>::value is voldaan ([SWS_CORE_00868]).

In het geheel van interfaces vult de rvalue-overbelasting Err() && ([SWS_CORE_00869]) deze functie aan binnen ara::core::Result<void, E>. Vergelijkbare paren van lvalue- en rvalue-overbelastingen staan ook ter beschikking voor de primaire sjabloon ara::core::Result<T, E> ([SWS_CORE_00772], [SWS_CORE_00773]) en voor de referentiespecialisatie ara::core::Result<T&, E> ([SWS_CORE_00931], [SWS_CORE_00932]).

Deze tekst is gegenereerd door een AI op basis van de AUTOSAR-specificatie.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00868
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00868@rel:R25-11#3e4bd85d
Content hash
3e4bd85d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00868
Status: valid/unmigrated Version: rel:R25-11#af27147a Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00868@rel:R25-11#af27147a
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#144570032026-09-30
  • R20-11rel:R20-11#1575a8882026-10-14
  • R21-11rel:R21-11#1575a8882026-10-14
  • R22-11rel:R22-11#f054b0a72026-10-14
  • R23-11rel:R23-11#85d1a0ea2026-10-14
  • R24-11rel:R24-11#0001f71c2026-10-14
  • R25-11rel:R25-11#af27147a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Err [SWS_CORE_00869] 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.

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

De lidfunctie Err() && van de specialisatie ara::core::Result< void, E > extraheert een eventueel aanwezige fout en retourneert deze als ara::core::Optional< E > [SWS_CORE_00869]. Ze is ingevoegd via het headerbestand ara/core/result.h [SWS_CORE_00869].

Wat betreft gebruik en semantiek gelden de volgende eigenschappen:

  • Aanroepcontext en parameters: de functie accepteert geen parameters en bindt als rvalue-gekwalificeerde methode uitsluitend aan rvalue-instanties van ara::core::Result< void, E > [SWS_CORE_00869]. Interpretatie: door de rvalue-semantiek (&&) wordt het foutobject bij de aanroep vermoedelijk verplaatst naar de geretourneerde Optional. Vraag Q-b5a0098f77686ca6 (open)
  • Retourwaarde: de resulterende ara::core::Optional< E > bevat de foutwaarde, mits een dergelijke waarde in het object aanwezig is [SWS_CORE_00869].
  • Uitzonderingsveiligheid en concurrency: De operatie is geclassificeerd als voorwaardelijk uitzonderingsveilig (conditionally exception safe) en werpt geen uitzonderingen op als aan std::is_nothrow_constructible< Optional< E >, E && >::value is voldaan [SWS_CORE_00869]. Bovendien is de functie gespecificeerd als thread-safe (thread-safe) [SWS_CORE_00869].

In het samenspel van de interfaces vult deze rvalue-variant de overeenkomstige lvalue-overload Err() const & van dezelfde specialisatie aan [SWS_CORE_00868]. Analoge paren van lvalue- en rvalue-methoden bestaan voor de primaire template ara::core::Result [SWS_CORE_00772], [SWS_CORE_00773] en voor de referentiespecialisatie ara::core::Result< T &, E > [SWS_CORE_00931], [SWS_CORE_00932].

Deze tekst is opgesteld door een AI en is gebaseerd op de specificatiestand van AUTOSAR R25-11.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00869
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00869@rel:R25-11#793b6659
Content hash
793b6659
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00869
Status: valid/unmigrated Version: rel:R25-11#b4c022c9 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00869@rel:R25-11#b4c022c9
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#1a48a8702026-09-30
  • R20-11rel:R20-11#2d7a35ca2026-10-14
  • R21-11rel:R21-11#cf11993e2026-10-14
  • R22-11rel:R22-11#b9330f822026-10-14
  • R23-11rel:R23-11#d9d839322026-10-14
  • R24-11rel:R24-11#520c6e5d2026-10-14
  • R25-11rel:R25-11#b4c022c92026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Error [SWS_CORE_00857] Upstream: RS_AP_00130

const E & Error () const & noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00857
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00857@rel:R25-11#ae0d2421
Content hash
ae0d2421
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00857
Status: valid/unmigrated Version: rel:R25-11#387fd43b Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00857@rel:R25-11#387fd43b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0eaf7ea52026-09-30
  • R19-11rel:R19-11#b57e9caa2026-10-14
  • R20-11rel:R20-11#4844eb4b2026-10-14
  • R21-11rel:R21-11#4844eb4b2026-10-14
  • R22-11rel:R22-11#0b0dee212026-10-14
  • R23-11rel:R23-11#36f4e40e2026-10-14
  • R24-11rel:R24-11#387fd43b2026-10-14
  • R25-11rel:R25-11#387fd43b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Error [SWS_CORE_00858] Upstream: RS_AP_00130

E && Error () &&noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00858
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00858@rel:R25-11#c8c82651
Content hash
c8c82651
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00858
Status: valid/unmigrated Version: rel:R25-11#98daaaa9 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00858@rel:R25-11#98daaaa9
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#450345282026-09-30
  • R19-11rel:R19-11#d25659962026-10-14
  • R20-11rel:R20-11#2c3cfda32026-10-14
  • R21-11rel:R21-11#bfc21da42026-10-14
  • R22-11rel:R22-11#85b4e2f12026-10-14
  • R23-11rel:R23-11#dd2260e22026-10-14
  • R24-11rel:R24-11#98daaaa92026-10-14
  • R25-11rel:R25-11#98daaaa92026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Error [SWS_CORE_00876] Upstream: RS_AP_00130

E & Error () & noexcept;

Access the contained error.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00876
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00876@rel:R25-11#eb473e7b
Content hash
eb473e7b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00876
Status: valid/unmigrated Version: rel:R25-11#048abd13 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00876@rel:R25-11#048abd13
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5dfbc7c52026-09-30
  • R23-11rel:R23-11#f6e4dde02026-10-14
  • R24-11rel:R24-11#048abd132026-10-14
  • R25-11rel:R25-11#048abd132026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie ErrorOr [SWS_CORE_00863] 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

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

De sjabloonlidfunctie ErrorOr van de specialisatie ara::core::Result<void, E> dient voor het synchroon opvragen van de aanwezige fout of een alternatieve standaardfout volgens [SWS_CORE_00863]. Als de instantie reeds een foutwaarde van het type E bevat, wordt deze ongewijzigd geretourneerd; anders wordt de doorgegeven parameter defaultError door middel van static_cast geconverteerd naar het fouttype E en geretourneerd [SWS_CORE_00863].

Wat betreft foutafhandeling en gelijktijdigheid gelden de volgende eigenschappen:

  • Uitzonderingsveiligheid: de aanroep is voorwaardelijk uitzonderingsveilig (conditionally exception safe) en gedeclareerd als noexcept, mits zowel de kopieerconstructie van E als de constructie van E vanuit het universele referentietype G&& niet werpend zijn (std::is_nothrow_copy_constructible<E>::value && std::is_nothrow_constructible<E, G&&>::value) [SWS_CORE_00863].
  • Thread-safety: de operatie is gespecificeerd als thread-safe (thread-safe) [SWS_CORE_00863]. Aangezien het een constante lvalue-referentie-overbelasting (const &) betreft, zijn gelijktijdige leestoegangen op dezelfde instantie vermoedelijk veilig. Vraag Q-f95402c2e79ef590 (open)
  • Header: de functie wordt beschikbaar gesteld via het headerbestand #include "ara/core/result.h" [SWS_CORE_00863].

In het samenspel binnen ara::core::Result vormt [SWS_CORE_00863] de lvalue-constante tegenhanger van de rvalue-overbelasting [SWS_CORE_00864] voor void-resultaten, waarbij de fout via std::move wordt overgedragen. Equivalente overbelastingen bestaan voor de primaire klassesjabloon Result<T, E> via [SWS_CORE_00763] en [SWS_CORE_00764], evenals voor referentietypen Result<T &, E> via [SWS_CORE_00935] en [SWS_CORE_00936].

Deze tekst is gegenereerd door een AI op basis van de specificatie AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00863
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00863@rel:R25-11#761d60e2
Content hash
761d60e2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00863
Status: valid/unmigrated Version: rel:R25-11#cf2c41ab Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00863@rel:R25-11#cf2c41ab
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c418147a2026-09-30
  • R19-11rel:R19-11#89eb2b042026-10-14
  • R20-11rel:R20-11#83a977a92026-10-14
  • R21-11rel:R21-11#83a977a92026-10-14
  • R22-11rel:R22-11#c4caa8152026-10-14
  • R23-11rel:R23-11#8f9486662026-10-14
  • R24-11rel:R24-11#aea7d19f2026-10-14
  • R25-11rel:R25-11#cf2c41ab2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie ErrorOr [SWS_CORE_00864] 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

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

Gebruik en semantiek

De lidfunctie ErrorOr van de specialisatie ara::core::Result<void, E> dient voor het synchroon uitlezen van een fout uit een rvalue-instantie ([SWS_CORE_00864]). Als de methode wordt aangeroepen en het Result-object een fout bevat, wordt deze door middel van std::move verplaatst naar de retourwaarde van het type E. Ligt daarentegen een succesvol resultaat voor, dan wordt het doorgegeven argument defaultError via static_cast geconverteerd naar E en geretourneerd ([SWS_CORE_00864]).

Foutafhandeling en exception-veiligheid

De functie genereert zelf geen klassieke AUTOSAR-foutmeldingen zoals DET of DEM. Wat betreft de uitzonderingsafhandeling is ErrorOr voorwaardelijk uitzonderingsveilig (conditionally exception safe). Ze is beveiligd via een noexcept-expressie, mits zowel het fouttype E zonder uitzonderingen kan worden verplaatst (std::is_nothrow_move_constructible<E>::value) als E uitzonderingsvrij kan worden geconstrueerd vanuit het universele referentietype G&& van de standaardfout ([SWS_CORE_00864]).

Gelijktijdigheid en wisselwerking

De methode is gespecificeerd als thread-safe ([SWS_CORE_00864]). Door de rvalue-ref-qualifier && vereist de aanroep dat het Result-object als rvalue wordt doorgegeven.

In de module core staat deze rvalue-variant in verband met verdere manifestaties:

  • Voor ara::core::Result<void, E> bestaat als lvalue-tegenhanger de const &-overbelasting [SWS_CORE_00863], die de fout kopieert in plaats van verplaatst.
  • Voor waarde- en referentieresultaten bieden de specialisaties ara::core::Result<T, E> ([SWS_CORE_00763], [SWS_CORE_00764]) en ara::core::Result<T&, E> ([SWS_CORE_00935], [SWS_CORE_00936]) dezelfde duale signatuurstructuur voor kopieer- en move-semantiek.

Deze gebruiksinstructie is automatisch gegenereerd op basis van de specificatievereisten van AUTOSAR Adaptive R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00864
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00864@rel:R25-11#43f001d2
Content hash
43f001d2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00864
Status: valid/unmigrated Version: rel:R25-11#3a5225ab Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00864@rel:R25-11#3a5225ab
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#c80a389f2026-09-30
  • R20-11rel:R20-11#7a0784612026-10-14
  • R21-11rel:R21-11#2ded9bb32026-10-14
  • R22-11rel:R22-11#68608ae42026-10-14
  • R23-11rel:R23-11#cf289b372026-10-14
  • R24-11rel:R24-11#6f41fd292026-10-14
  • R25-11rel:R25-11#3a5225ab2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie FromError [SWS_CORE_00834] 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)

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

Gebruik

De statische functie FromError maakt deel uit van de template-specialisatie ara::core::Result<void, E> en wordt geïncludeerd via het headerbestand ara/core/result.h [SWS_CORE_00834]. Ze dient als synchrone factory-methode om op basis van een reeds bestaand foutobject een nieuwe Result te construeren [SWS_CORE_00834].

  • Parameters: De invoerparameter e accepteert de fout als constante lvalue-referentie (const E &) [SWS_CORE_00834].
  • Retourwaarde: Retourneert een instantie van Result die de overgedragen fout e bevat [SWS_CORE_00834].

Foutafhandeling en uitzonderingsveiligheid

De specificatie definieert geen specifieke foutcodes en voorziet niet in meldingen aan DET of DEM [SWS_CORE_00834]. De functie is voorwaardelijk uitzonderingsveilig (conditionally exception safe): ze is precies dan als noexcept gegarandeerd wanneer het fouttype E zonder werpen van excepties kopieerbaar is (std::is_nothrow_copy_constructible<E>::value) [SWS_CORE_00834].

Concurrency

De aanroep is geclassificeerd als thread-safe [SWS_CORE_00834]. Interpretatie: de thread-safety heeft vermoedelijk betrekking op het interne verloop van de objectcreatie, maar veronderstelt dat het gereferentieerde bronobject e tijdens het kopiëren niet door andere threads wordt gewijzigd. Vraag Q-639cbb5cf8a64a0c (open)

Samenspel

Binnen de specialisatie ara::core::Result<void, E> vullen overloads voor rvalue-referenties (E&&) [SWS_CORE_00835] evenals voor in-place constructie via parameter pack [SWS_CORE_00836] deze functie aan; beide zijn afwijkend als not thread-safe gedeclareerd. Corresponderende overloads bestaan bovendien voor het onvolledig gespecialiseerde type ara::core::Result ([SWS_CORE_00734], [SWS_CORE_00735], [SWS_CORE_00736]) en referentiespecialisaties ([SWS_CORE_00905], [SWS_CORE_00906], [SWS_CORE_00907]).

Deze tekst is gegenereerd door een AI. AUTOSAR-voorschriften zijn maatgevend.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00834
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00834@rel:R25-11#1355d1e0
Content hash
1355d1e0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00834
Status: valid/unmigrated Version: rel:R25-11#3daf7e83 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00834@rel:R25-11#3daf7e83
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2713965d2026-09-30
  • R19-11rel:R19-11#988752d82026-10-14
  • R20-11rel:R20-11#a2ee7dff2026-10-14
  • R21-11rel:R21-11#f962d2622026-10-14
  • R22-11rel:R22-11#144f1dcf2026-10-14
  • R23-11rel:R23-11#80f1e27d2026-10-14
  • R24-11rel:R24-11#b400d0032026-10-14
  • R25-11rel:R25-11#3daf7e832026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie FromError [SWS_CORE_00835] 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)

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

Gebruik

De statische functie FromError genereert synchroon een nieuwe instantie van ara::core::Result<void, E> uit een als rvalue overgedragen foutobject e [SWS_CORE_00835]. De functie is gedefinieerd in de header ara/core/result.h en retourneert een ara::core::Result dat de foutwaarde bevat [SWS_CORE_00835].

Foutafhandeling en gelijktijdigheid

De operatie biedt voorwaardelijke uitzonderingsveiligheid (conditionally exception safe): ze garandeert uitzonderingsvrijheid via noexcept, mits het fouttype E een niet-werpende move-constructor heeft (std::is_nothrow_move_constructible<E>::value) [SWS_CORE_00835]. De functie is geclassificeerd als niet thread-safe (not thread-safe) [SWS_CORE_00835]. Interpretatie: dit lijkt te betekenen dat het te verplaatsen rvalue-object beschermd moet worden tegen parallelle toegang vanuit andere threads. Vraag Q-be29e8c3a7412b7a (open)

Samenspel

Binnen de specialisatie ara::core::Result<void, E> vormt deze overbelasting de move-tegenhanger van de lvalue-kopieerfunctie [SWS_CORE_00834] en van de in-place-constructie via parameter packs [SWS_CORE_00836]. Vergelijkbare rvalue-overbelastingen bestaan in de module core ook voor waardetypen [SWS_CORE_00735] en referenties [SWS_CORE_00906], aangevuld met respectievelijke lvalue- ([SWS_CORE_00734], [SWS_CORE_00905]) en in-place-varianten ([SWS_CORE_00736], [SWS_CORE_00907]).

Deze tekst is gegenereerd door een AI.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00835
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00835@rel:R25-11#576f2117
Content hash
576f2117
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00835
Status: valid/unmigrated Version: rel:R25-11#145c5d21 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00835@rel:R25-11#145c5d21
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#67ee0fc22026-09-30
  • R19-11rel:R19-11#764a522a2026-10-14
  • R20-11rel:R20-11#105b1f662026-10-14
  • R21-11rel:R21-11#105b1f662026-10-14
  • R22-11rel:R22-11#9e1a1db32026-10-14
  • R23-11rel:R23-11#018e31822026-10-14
  • R24-11rel:R24-11#355a98222026-10-14
  • R25-11rel:R25-11#145c5d212026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie FromError [SWS_CORE_00836] 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

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

De statische templatefunctie FromError conform [SWS_CORE_00836] dient ertoe om binnen de specialisatie ara::core::Result<void, E> een result-object met fout te creëren, waarvan de foutinstantie van het type E direct ter plekke („in-place”) wordt geconstrueerd uit de meegegeven argumenten args. De functie neemt alleen deel aan de overbelastingsresolutie wanneer std::is_constructible<E, Args&&...>::value waar is, het eerste type van het uitgepakte parameter pack niet overeenkomt met E en ook geen specialisatie van Result is [SWS_CORE_00836].

Wat betreft uitzonderingsveiligheid is de functie gespecificeerd als voorwaardelijk uitzonderingsveilig („conditionally exception safe”): zij is gedeclareerd met noexcept(std::is_nothrow_constructible<E, Args...>::value) [SWS_CORE_00836]. Met betrekking tot gelijktijdigheid geldt de aanroep als niet-thread-safe („not thread-safe”) [SWS_CORE_00836].

In samenspel met andere functies van de klasse vult deze methode de overbelastingen aan voor creatie uit reeds bestaande lvalue- ([SWS_CORE_00834]) of rvalue-foutobjecten ([SWS_CORE_00835]). Interpretatie: De SFINAE-beperkingen met betrekking tot E en Result zijn er vermoedelijk voor bedoeld om te waarborgen dat bij doorgave van reeds gecreëerde fout- of result-instanties bij voorrang de respectievelijke kopieer- respectievelijk verplaatsingsoperatoren worden gekozen en dubbelzinnigheden worden vermeden. Vraag Q-2796f954bcaececa (open) Analoge in-place-fabrieksfuncties bestaan voor het generieke type Result ([SWS_CORE_00736]) en voor referentietypen in Result<T&, E> ([SWS_CORE_00907]).

Deze gebruiksinstructie is gegenereerd door een AI op basis van de AUTOSAR-specificatie R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00836
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00836@rel:R25-11#bec93555
Content hash
bec93555
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00836
Status: valid/unmigrated Version: rel:R25-11#469f77ff Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00836@rel:R25-11#469f77ff
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#54c605942026-09-30
  • R19-11rel:R19-11#e8878fac2026-10-14
  • R20-11rel:R20-11#80c2b8ec2026-10-14
  • R21-11rel:R21-11#361c696d2026-10-14
  • R22-11rel:R22-11#57b6bd492026-10-14
  • R23-11rel:R23-11#99f912092026-10-14
  • R24-11rel:R24-11#dc85e51e2026-10-14
  • R25-11rel:R25-11#469f77ff2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie FromValue [SWS_CORE_00831] Upstream: RS_AP_00130

static Result FromValue () noexcept;

Build a new Result with void as value

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

Gebruik

De statische lidfunctie FromValue() dient voor het aanmaken van een succesvol ara::core::Result-object voor de templatespecialisatie ara::core::Result<void, E> [SWS_CORE_00831]. Aangezien het resultaattype void geen gebruikersdata transporteert, accepteert de functie geen invoerparameters. De aanroep geschiedt synchroon en retourneert een Result die een void-waarde representeert [SWS_CORE_00831]. De declaratie vindt plaats in de header ara/core/result.h [SWS_CORE_00831].

Foutafhandeling en uitzonderingsveiligheid

De functie is voorzien van de specificatie noexcept en geclassificeerd als volledig uitzonderingsveilig (exception safe) [SWS_CORE_00831]. Aangezien FromValue() per definitie een succesvolle operatie representeert, genereert deze geen fouttoestanden en levert deze geen foutcodes op. Specifieke foutmeldingen via DET of DEM zijn voor deze aanroep niet gedefinieerd.

Concurrency

Volgens de specificatie is de functie geclassificeerd als thread-safe (thread-safe) [SWS_CORE_00831]. Deze kan zonder aanvullende synchronisatiemaatregelen parallel vanuit meerdere threads worden aangeroepen.

Samenspel

De parameterloze signatuur is exclusief bedoeld voor Result<void, E> [SWS_CORE_00831]. Deze onderscheidt zich van de waardegenererende overbelastingen:

Deze gebruiksinstructie is automatisch gegenereerd op basis van de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit I1)

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

Rückgabewert

TypBeschreibung
Resulta Result that contains a void value

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

Record
AUTOSAR/AP/record/SWS_CORE_00831
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00831@rel:R25-11#b6e0f8a3
Content hash
b6e0f8a3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00831
Status: valid/unmigrated Version: rel:R25-11#5cb92b73 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00831@rel:R25-11#5cb92b73
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#689d2bfa2026-09-30
  • R19-11rel:R19-11#5a0410bc2026-10-14
  • R20-11rel:R20-11#723058f02026-10-14
  • R21-11rel:R21-11#723058f02026-10-14
  • R22-11rel:R22-11#e288be5e2026-10-14
  • R23-11rel:R23-11#da3844d72026-10-14
  • R24-11rel:R24-11#43b26bc52026-10-14
  • R25-11rel:R25-11#5cb92b732026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie HasValue [SWS_CORE_00851] 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< void, 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_00851
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00851@rel:R25-11#ef98e53e
Content hash
ef98e53e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00851
Status: valid/unmigrated Version: rel:R25-11#3fbe93cd Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00851@rel:R25-11#3fbe93cd
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b31a90de2026-09-30
  • R19-11rel:R19-11#c3eea99c2026-10-14
  • R20-11rel:R20-11#0d72fc562026-10-14
  • R21-11rel:R21-11#d1f577762026-10-14
  • R22-11rel:R22-11#dfceca0a2026-10-14
  • R23-11rel:R23-11#c8bbd1082026-10-14
  • R24-11rel:R24-11#3fbe93cd2026-10-14
  • R25-11rel:R25-11#3fbe93cd2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Resolve [SWS_CORE_00867] Upstream: RS_AP_00130

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

Do nothing or call a function. If *this contains a value, this function does nothing. Otherwise, the specified callable is invoked. The Callable is expected to be compatible to this interface: void f(const E&); This function only exists for helping with generic programming.

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

De lidfunctie Resolve van de templateklasse ara::core::Result<void, E> dient voor de foutafhandeling in het kader van generiek programmeren [SWS_CORE_00867]. Wanneer de instantie van Result een reguliere waarde bevat, voert de aanroep geen operatie uit [SWS_CORE_00867]. Bevat de instantie in plaats daarvan een fout, dan wordt de als parameter doorgegeven callable f aangeroepen [SWS_CORE_00867].

De doorgegeven callable f moet compatibel zijn met de functiesignatuur void f(const E&), waarbij E het fouttype representeert [SWS_CORE_00867]. De functie Resolve zelf levert geen retourwaarde op (void) [SWS_CORE_00867]. Wat betreft de uitvoeringsveiligheid is de functie gespecificeerd als niet-exceptieveilig („not exception safe”) [SWS_CORE_00867]. De thread-safety ervan is voorwaardelijk en hangt direct af van de thread-safety van de doorgegeven callable f [SWS_CORE_00867].

In het totale systeem verschilt deze specialisatie van de reguliere Resolve-functies voor waardetypen in ara::core::Result<T, E> [SWS_CORE_00767] evenals referentietypen in ara::core::Result<T&, E> [SWS_CORE_00939], [SWS_CORE_00940]: terwijl die varianten de aanwezige waarde of het resultaat van de callable-aanroep retourneren, bestaat de void-overbelasting zonder retourwaarde uitsluitend als generieke bouwsteen ter uniformering van interface-aanroepen [SWS_CORE_00867].

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

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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
None

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

Record
AUTOSAR/AP/record/SWS_CORE_00867
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00867@rel:R25-11#f6fb036e
Content hash
f6fb036e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00867
Status: valid/unmigrated Version: rel:R25-11#f761b703 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00867@rel:R25-11#f761b703
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4dc104212026-09-30
  • R19-11rel:R19-11#f881257b2026-10-14
  • R20-11rel:R20-11#b5e6d3a02026-10-14
  • R21-11rel:R21-11#849753782026-10-14
  • R22-11rel:R22-11#3a188f872026-10-14
  • R23-11rel:R23-11#ffe34e102026-10-14
  • R24-11rel:R24-11#14ada29b2026-10-14
  • R25-11rel:R25-11#f761b7032026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Result [SWS_CORE_00821] Upstream: RS_AP_00130

Result () noexcept;

Construct a new Result with a void value

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

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

Record
AUTOSAR/AP/record/SWS_CORE_00821
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00821@rel:R25-11#291d7710
Content hash
291d7710
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00821
Status: valid/unmigrated Version: rel:R25-11#98c2292a Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00821@rel:R25-11#98c2292a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8f90f5152026-09-30
  • R19-11rel:R19-11#f7225b752026-10-14
  • R20-11rel:R20-11#361176672026-10-14
  • R21-11rel:R21-11#6526f8642026-10-14
  • R22-11rel:R22-11#270117af2026-10-14
  • R23-11rel:R23-11#3ecdef242026-10-14
  • R24-11rel:R24-11#a88bc15b2026-10-14
  • R25-11rel:R25-11#98c2292a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Result [SWS_CORE_00823] 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< void, 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_00823
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00823@rel:R25-11#e51e04f3
Content hash
e51e04f3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00823
Status: valid/unmigrated Version: rel:R25-11#520a2342 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00823@rel:R25-11#520a2342
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7e409bbe2026-09-30
  • R19-11rel:R19-11#2c11f1a02026-10-14
  • R20-11rel:R20-11#b385f1852026-10-14
  • R21-11rel:R21-11#b385f1852026-10-14
  • R22-11rel:R22-11#964654b92026-10-14
  • R23-11rel:R23-11#41f3fe502026-10-14
  • R24-11rel:R24-11#c47ff58a2026-10-14
  • R25-11rel:R25-11#520a23422026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Result [SWS_CORE_00824] 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< void, 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_00824
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00824@rel:R25-11#6eee8a72
Content hash
6eee8a72
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00824
Status: valid/unmigrated Version: rel:R25-11#a8739538 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00824@rel:R25-11#a8739538
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3dae56032026-09-30
  • R19-11rel:R19-11#b547aacc2026-10-14
  • R20-11rel:R20-11#587e8ca22026-10-14
  • R21-11rel:R21-11#ef34c2e22026-10-14
  • R22-11rel:R22-11#6fba39dd2026-10-14
  • R23-11rel:R23-11#ed7afc722026-10-14
  • R24-11rel:R24-11#a35944a82026-10-14
  • R25-11rel:R25-11#a87395382026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Result [SWS_CORE_00825] 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< void, 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_00825
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00825@rel:R25-11#de8a31d4
Content hash
de8a31d4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00825
Status: valid/unmigrated Version: rel:R25-11#49078b0a Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00825@rel:R25-11#49078b0a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2a88503c2026-09-30
  • R19-11rel:R19-11#9e2629602026-10-14
  • R20-11rel:R20-11#c7e3d2b52026-10-14
  • R21-11rel:R21-11#c7e3d2b52026-10-14
  • R22-11rel:R22-11#2141ea872026-10-14
  • R23-11rel:R23-11#984e76b52026-10-14
  • R24-11rel:R24-11#01d7557e2026-10-14
  • R25-11rel:R25-11#49078b0a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Result [SWS_CORE_00826] 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< void, 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_00826
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00826@rel:R25-11#59314cd0
Content hash
59314cd0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00826
Status: valid/unmigrated Version: rel:R25-11#884cd9f5 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00826@rel:R25-11#884cd9f5
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#54a41baf2026-09-30
  • R19-11rel:R19-11#a66ea3dc2026-10-14
  • R20-11rel:R20-11#3f38aa642026-10-14
  • R21-11rel:R21-11#256f91a42026-10-14
  • R22-11rel:R22-11#beedc4732026-10-14
  • R23-11rel:R23-11#192a01fe2026-10-14
  • R24-11rel:R24-11#019dfd3e2026-10-14
  • R25-11rel:R25-11#884cd9f52026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Swap [SWS_CORE_00845] 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

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

De lidfunctie Swap verwisselt de inhoud van de huidige instantie synchroon met de doorgegeven referentie other [SWS_CORE_00845]. Deze behoort tot het bereik van de specialisatie ara::core::Result<void, E> uit het headerbestand ara/core/result.h en heeft geen retourwaarde [SWS_CORE_00845].

Met betrekking tot de foutafhandeling is de operatie geclassificeerd als voorwaardelijk uitzonderingsveilig (conditionally exception safe) [SWS_CORE_00845]. De garantie noexcept geldt dan en slechts dan als het fouttype E zowel nothrow-move-construeerbaar (std::is_nothrow_move_constructible<E>::value) als nothrow-move-toewijsbaar (std::is_nothrow_move_assignable<E>::value) is [SWS_CORE_00845]. Specifieke foutcodes of meldingen aan DET of DEM zijn voor deze aanroep niet voorzien [SWS_CORE_00845].

Wat betreft concurrency is Swap uitdrukkelijk gespecificeerd als niet thread-safe (not thread-safe) [SWS_CORE_00845]. Gelijktijdige toegang tot dezelfde instanties zonder externe synchronisatie leidt daarom vermoedelijk tot datastrijd (data races). Vraag Q-a8d4f130648765df (open)

In het samenspel binnen ara::core vormt de methode het fundament voor de vrije templatefunctie ara::core::swap, waarvan de noexcept-voorwaarde direct gekoppeld is aan de lidfunctie [SWS_CORE_00796]. Vergelijkbare verwisseloperaties bestaan voor het generieke type ara::core::Result<T, E> [SWS_CORE_00745], de referentiespecialisatie ara::core::Result<T&, E> [SWS_CORE_00917] evenals voor Promise-objecten [SWS_CORE_00352] [SWS_CORE_06352].

Deze tekst is gegenereerd door een AI op basis van de AUTOSAR-specificatie.

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00845
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00845@rel:R25-11#ee57f26f
Content hash
ee57f26f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00845
Status: valid/unmigrated Version: rel:R25-11#1c4f5e03 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00845@rel:R25-11#1c4f5e03
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0474393e2026-09-30
  • R19-11rel:R19-11#b5afc4f72026-10-14
  • R20-11rel:R20-11#71c2bf362026-10-14
  • R21-11rel:R21-11#71c2bf362026-10-14
  • R22-11rel:R22-11#5de901772026-10-14
  • R23-11rel:R23-11#dd6258592026-10-14
  • R24-11rel:R24-11#80da0ae72026-10-14
  • R25-11rel:R25-11#1c4f5e032026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie Value [SWS_CORE_00855] Upstream: RS_AP_00130

void Value () const noexcept;

This function only exists for helping with generic programming

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

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_00855
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00855@rel:R25-11#76178f62
Content hash
76178f62
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00855
Status: valid/unmigrated Version: rel:R25-11#672ec24a Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00855@rel:R25-11#672ec24a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4c2667a52026-09-30
  • R19-11rel:R19-11#7dbbbf242026-10-14
  • R20-11rel:R20-11#8431fc372026-10-14
  • R21-11rel:R21-11#8431fc372026-10-14
  • R22-11rel:R22-11#9c8d89402026-10-14
  • R23-11rel:R23-11#41c02b182026-10-14
  • R24-11rel:R24-11#a44cc9b82026-10-14
  • R25-11rel:R25-11#672ec24a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie ValueOr [SWS_CORE_00861] Upstream: RS_AP_00130

template <typename U> void ValueOr (U &&defaultValue) const noexcept;

Do nothing. This function only exists for helping with generic programming.

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

De lidfunctie ValueOr van de specialisatie ara::core::Result<void, E> dient primair ter vergemakkelijking van generieke programmeerpatronen en voert bij uitvoering generlei operaties uit ([SWS_CORE_00861]). Aangeboden via de header ara/core/result.h, accepteert de methode synchroon een parameter defaultValue van het doorstuurtype U&& en levert geen retourwaarde (void) ([SWS_CORE_00861]).

Met betrekking tot concurrency en uitzonderingsgedrag is de lidfunctie gespecificeerd als thread-safe (thread-safe) en gedeclareerd met de specificator-syntaxis noexcept, wat een volledige uitzonderingsveiligheid garandeert ([SWS_CORE_00861]). Aangezien er geen controle van de fouttoestand en geen acties plaatsvinden, bestaan er noch foutcodes noch meldingen aan DET of DEM.

In het samenspel met de overige vormen van Result vult deze functie de op waarden gebaseerde ([SWS_CORE_00761], [SWS_CORE_00762]) en op referenties gebaseerde ([SWS_CORE_00933], [SWS_CORE_00934]) overbelastingen van ValueOr aan. Terwijl die functies bij een ingestelde waarde deze retourneren of anders de doorgegeven vervangende waarde geconverteerd opleveren, vormt deze variant een neutraal tegenhanger voor operaties zonder waarderetour ([SWS_CORE_00861]). Interpretatie: de doorgegeven waarde defaultValue wordt in de implementatie vermoedelijk ongebruikt verworpen. Vraag Q-6097af779219e859 (open) Dit stelt ontwikkelaars in staat om generieke template-algoritmen te schrijven zonder speciale vertakkingen voor Result<void, E>.

Deze tekst is gegenereerd door een AI.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, E >
Exception-Sicherheitexception 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
None

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

Record
AUTOSAR/AP/record/SWS_CORE_00861
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00861@rel:R25-11#2a62b7b0
Content hash
2a62b7b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00861
Status: valid/unmigrated Version: rel:R25-11#b2e122de Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00861@rel:R25-11#b2e122de
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#74deb1e42026-09-30
  • R19-11rel:R19-11#fbb02ae32026-10-14
  • R20-11rel:R20-11#da14f35c2026-10-14
  • R21-11rel:R21-11#f436d8732026-10-14
  • R22-11rel:R22-11#88784c622026-10-14
  • R23-11rel:R23-11#b4651d592026-10-14
  • R24-11rel:R24-11#b2e122de2026-10-14
  • R25-11rel:R25-11#b2e122de2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie ValueOrThrow [SWS_CORE_00866] Upstream: RS_AP_00130

void ValueOrThrow () const noexcept(false);

Return the contained value or throw an exception.

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

De lidfunctie ValueOrThrow van de template-specialisatie ara::core::Result<void, E> dient voor de synchrone controle van het operatieresultaat [SWS_CORE_00866]. Omdat het waardetype void is, heeft de functie geen parameters en levert ze geen retourwaarde op [SWS_CORE_00866]. De declaratie wordt geleverd via de header ara/core/result.h [SWS_CORE_00866].

In geval van succes keert de methode regulier terug; is er daarentegen sprake van een fouttoestand, dan werpt ze een exceptie op van het exceptietype dat aan de ingesloten fout is gekoppeld (noexcept(false)) [SWS_CORE_00866]. Wat betreft de uitzonderingsveiligheid is de operatie gespecificeerd als not exception safe [SWS_CORE_00866].

Voor de aanroepcontext en gelijktijdigheid gelden de volgende randvoorwaarden:

  • De functie is geclassificeerd als thread-safe [SWS_CORE_00866].
  • Indien C++-exceptions in de compiler-toolchain zijn uitgeschakeld, neemt deze functie niet deel aan de overbelastingsresolutie [SWS_CORE_00866].

In samenspel met de module core vormt deze void-specialisatie een aanvulling op de generieke overbelastingen van ara::core::Result<T, E>, die referenties naar ingesloten waarden retourneren ([SWS_CORE_00766], [SWS_CORE_00769], [SWS_CORE_00778]), evenals op de specialisaties voor referentietypen ara::core::Result<T&, E> ([SWS_CORE_00938], [SWS_CORE_00949]).

Deze tekst is gegenereerd door een AI en is uitsluitend gebaseerd op de specificatiegegevens uit AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I1)

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

Rückgabewert

TypBeschreibung
None

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_00866
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00866@rel:R25-11#c9ffd478
Content hash
c9ffd478
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00866
Status: valid/unmigrated Version: rel:R25-11#02430c8c Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00866@rel:R25-11#02430c8c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b509b5f62026-09-30
  • R19-11rel:R19-11#2b3715602026-10-14
  • R20-11rel:R20-11#015d6e892026-10-14
  • R21-11rel:R21-11#015d6e892026-10-14
  • R22-11rel:R22-11#3a3be3ac2026-10-14
  • R23-11rel:R23-11#1c0991192026-10-14
  • R24-11rel:R24-11#a22c0e742026-10-14
  • R25-11rel:R25-11#02430c8c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie operator bool [SWS_CORE_00852] 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< void, 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_00852
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00852@rel:R25-11#0a987f52
Content hash
0a987f52
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00852
Status: valid/unmigrated Version: rel:R25-11#308b54bc Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00852@rel:R25-11#308b54bc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#20945fcd2026-09-30
  • R19-11rel:R19-11#94ca04482026-10-14
  • R20-11rel:R20-11#15f004bc2026-10-14
  • R21-11rel:R21-11#4bc654032026-10-14
  • R22-11rel:R22-11#dceddefe2026-10-14
  • R23-11rel:R23-11#1bf0f6eb2026-10-14
  • R24-11rel:R24-11#e07d70b42026-10-14
  • R25-11rel:R25-11#308b54bc2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie operator* [SWS_CORE_00853] Upstream: RS_AP_00130

void operator* () const noexcept;

Access the contained value.

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

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_00853
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00853@rel:R25-11#71f715a4
Content hash
71f715a4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00853
Status: valid/unmigrated Version: rel:R25-11#570827f3 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00853@rel:R25-11#570827f3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0bbf5d3b2026-09-30
  • R19-11rel:R19-11#f9dde3982026-10-14
  • R20-11rel:R20-11#1f3399df2026-10-14
  • R21-11rel:R21-11#1f3399df2026-10-14
  • R22-11rel:R22-11#6b2cf1872026-10-14
  • R23-11rel:R23-11#acae00652026-10-14
  • R24-11rel:R24-11#570827f32026-10-14
  • R25-11rel:R25-11#570827f32026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie operator= [SWS_CORE_00841] 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-assign another ara::core::Result to this instance

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, 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_00841
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00841@rel:R25-11#063ef4ec
Content hash
063ef4ec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00841
Status: valid/unmigrated Version: rel:R25-11#4cd1fad8 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00841@rel:R25-11#4cd1fad8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#6d1166182026-09-30
  • R19-11rel:R19-11#20dff6262026-10-14
  • R20-11rel:R20-11#c03d77e62026-10-14
  • R21-11rel:R21-11#38acfa3b2026-10-14
  • R22-11rel:R22-11#e977e11e2026-10-14
  • R23-11rel:R23-11#495ec7c02026-10-14
  • R24-11rel:R24-11#2d78586d2026-10-14
  • R25-11rel:R25-11#4cd1fad82026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie operator= [SWS_CORE_00842] Upstream: RS_AP_00130

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

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

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

Parameter (in)

ParameterBeschreibung
otherthe other instance

Rückgabewert

TypBeschreibung
Result &*this, containing the contents ofother

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

Record
AUTOSAR/AP/record/SWS_CORE_00842
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00842@rel:R25-11#1505658c
Content hash
1505658c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00842
Status: valid/unmigrated Version: rel:R25-11#7b894013 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00842@rel:R25-11#7b894013
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1757cb292026-09-30
  • R19-11rel:R19-11#b5fa5dc82026-10-14
  • R20-11rel:R20-11#215e92592026-10-14
  • R21-11rel:R21-11#215e92592026-10-14
  • R22-11rel:R22-11#385162782026-10-14
  • R23-11rel:R23-11#b1034a412026-10-14
  • R24-11rel:R24-11#035424de2026-10-14
  • R25-11rel:R25-11#7b8940132026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie ~Result [SWS_CORE_00827] 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< void, 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_00827
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00827@rel:R25-11#9591e8f4
Content hash
9591e8f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00827
Status: valid/unmigrated Version: rel:R25-11#7779bc25 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00827@rel:R25-11#7779bc25
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ada359e32026-09-30
  • R19-11rel:R19-11#bcc401122026-10-14
  • R20-11rel:R20-11#38c9347c2026-10-14
  • R21-11rel:R21-11#27ebdb022026-10-14
  • R22-11rel:R22-11#04a4095e2026-10-14
  • R23-11rel:R23-11#f7addf512026-10-14
  • R24-11rel:R24-11#da8ad7bd2026-10-14
  • R25-11rel:R25-11#7779bc252026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

functie CheckError [SWS_CORE_00865] Upstream: RS_AP_00130

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

Return whether this instance contains the given error. This call compares the argument error, static_cast’d to E, with the return value from Error()

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

De template-lidfunctie CheckError van de specialisatie ara::core::Result<void, E> controleert synchroon of de huidige instantie een bepaalde fout bevat [SWS_CORE_00865]. Hiervoor wordt het doorgegeven argument error door middel van static_cast omgezet in het fouttype E en vergeleken met de retourwaarde van de interne fouttoestand Error() [SWS_CORE_00865]. De aanroep geschiedt via de header #include "ara/core/result.h" [SWS_CORE_00865].

Voor het gebruik en de aanroepcontext gelden de volgende eigenschappen:

  • Parameters en retourwaarde: De universele referentieparameter error van het type G&& accepteert de te controleren fout [SWS_CORE_00865]. De functie retourneert true als de instantie een fout bevat die equivalent is aan error, anders false [SWS_CORE_00865].
  • Concurrency en uitzonderingsveiligheid: De operatie is gedeclareerd als const noexcept, geldt als uitzonderingsveilig (exception safe) en kan onbeperkt thread-safe (thread-safe) worden aangeroepen [SWS_CORE_00865].

In het samenspel met de module core bestaan analoge overbelastingen van CheckError: de primaire templateklasse ara::core::Result stelt dezelfde signatuur eveneens thread-safe en uitzonderingsveilig met noexcept beschikbaar [SWS_CORE_00765]. Daarentegen beschikt de referentiespecialisatie ara::core::Result<T&, E> weliswaar over hetzelfde vergelijkingsmechanisme en is deze thread-safe, maar expliciet zonder noexcept als niet-uitzonderingsveilig (not exception safe) gespecificeerd [SWS_CORE_00937].

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatievereisten.

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

Template-Parameter

ParameterBeschreibung
Gthe type of the error argument error

Parameter (in)

ParameterBeschreibung
errorthe error to check

Rückgabewert

TypBeschreibung
booltrue if *this contains an error that is equivalent to the given error, false otherwise

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

Record
AUTOSAR/AP/record/SWS_CORE_00865
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00865@rel:R25-11#063f737a
Content hash
063f737a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00865
Status: valid/unmigrated Version: rel:R25-11#0cc61151 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00865@rel:R25-11#0cc61151
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#629602bb2026-09-30
  • R19-11rel:R19-11#caaed37b2026-10-14
  • R20-11rel:R20-11#c831c1642026-10-14
  • R21-11rel:R21-11#38bde79d2026-10-14
  • R22-11rel:R22-11#d5b8d12d2026-10-14
  • R23-11rel:R23-11#772c40092026-10-14
  • R24-11rel:R24-11#a6e6635b2026-10-14
  • R25-11rel:R25-11#0cc611512026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Documentatie van de typealiassen

typealias error_type [SWS_CORE_00812] 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< void, E >
Symbolerror_type

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

Record
AUTOSAR/AP/record/SWS_CORE_00812
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00812@rel:R25-11#9f3f0661
Content hash
9f3f0661
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00812
Status: valid/unmigrated Version: rel:R25-11#1fba764b Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00812@rel:R25-11#1fba764b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#32aa6a1c2026-09-30
  • R19-11rel:R19-11#344c236b2026-10-14
  • R20-11rel:R20-11#d7c47e392026-10-14
  • R21-11rel:R21-11#d7c47e392026-10-14
  • R22-11rel:R22-11#896231bd2026-10-14
  • R23-11rel:R23-11#8c3b22132026-10-14
  • R24-11rel:R24-11#8c3b22132026-10-14
  • R25-11rel:R25-11#1fba764b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

typealias value_type [SWS_CORE_00811] Upstream: RS_AP_00130

using value_type = void;

Type alias for the type T of values, always void for this specialization

Header-Datei#include "ara/core/result.h"
Scopeclass ara::core::Result< void, E >
Symbolvalue_type

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

Record
AUTOSAR/AP/record/SWS_CORE_00811
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00811@rel:R25-11#66cba1e4
Content hash
66cba1e4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00811
Status: valid/unmigrated Version: rel:R25-11#b5a93a85 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_00811@rel:R25-11#b5a93a85
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#881c160a2026-09-30
  • R19-11rel:R19-11#f4870d0d2026-10-14
  • R20-11rel:R20-11#84ab65ba2026-10-14
  • R21-11rel:R21-11#618d46342026-10-14
  • R22-11rel:R22-11#27f9f9602026-10-14
  • R23-11rel:R23-11#19a6434e2026-10-14
  • R24-11rel:R24-11#19a6434e2026-10-14
  • R25-11rel:R25-11#b5a93a852026-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