DEENESPTFRRUARHIKOZHNL

클래스 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

사용자 가이드AI 생성

반환값이 없는 작업의 성공적인 완료를 알리거나 발생한 오류 코드를 전달합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 8bbf74b21d56 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

반환값이 없는 작업의 성공적인 완료를 알리거나 발생한 오류 코드를 전달합니다.

클래스 ara::core::Result<void, E>은 반환값이 없는 작업을 위해 Result 패턴을 특수화하며 성공적인 완료 또는 오류 중 하나를 나타냅니다([SWS_CORE_00811]). 실행 후 호출자는 HasValue()([SWS_CORE_00851]) 또는 operator bool()를 통해 성공 상태를 확인하고, 오류 발생 시 포함된 오류 원인에 접근합니다. 구속력 있는 제약 조건으로서, 오류 타입 E는 타입 ara::core::ErrorCode과 일치해야 하며, 일치하지 않는 타입은 이미 컴파일 타임에 거부됩니다.

컨텍스트

템플릿 클래스 ara::core::Result<void, E>은 성공 시 반환값(void)을 전달하지 않고 작업의 성공 또는 실패만을 알리는 작업을 위한 Result 패턴의 부분 특수화를 나타냅니다. 타입 정의에 따라 값 타입 value_type는 항상 void으로 지정되며([SWS_CORE_00811]), error_type는 매개변수화된 오류 타입 E을 나타냅니다([SWS_CORE_00812]). 타입 E의 경우, ara::core::ErrorCode와의 모든 편차는 구현에 의해 컴파일 오류로 거부되어야 한다는 기능적 요구사항이 적용됩니다.

AUTOSAR Adaptive Platform에서 ara::core::Result<void, E>은 호출 컴포넌트와 실행 인터페이스 간에 오류가 발생하기 쉬운 프로시저 및 제어 명령을 위한 표준화된 반환 타입 역할을 합니다. 고전적인 C++ 예외 처리 대신, 이 클래스는 직접적인 상태 쿼리와 호출 경로에서의 함수형 전달을 모두 가능하게 하는 리소스 절약형 명시적 오류 전송을 제공합니다.

수명 주기

ara::core::Result<void, E>의 인스턴스는 전체 수명 동안 정확히 값 상태(성공) 또는 오류 상태라는 두 가지 개별 상태 중 하나에 있습니다. void 값을 사용한 초기화는 기본 생성자 Result()([SWS_CORE_00821]) 또는 정적 팩토리 메서드 FromValue()([SWS_CORE_00831])를 통해 수행됩니다. 오류 상태에서의 생성을 위해 오류 타입 E의 lvalue 및 rvalue를 위한 명시적 생성자가 제공됩니다([SWS_CORE_00823], [SWS_CORE_00824]). 또한 팩토리 함수 FromError()는 오류 lvalue([SWS_CORE_00834]), rvalue([SWS_CORE_00835])로부터의 생성 또는 매개변수 팩으로부터의 직접적인 인플레이스 생성을 지원합니다([SWS_CORE_00836]).

이미 존재하는 인스턴스는 나중에 EmplaceValue()을 통해 값 상태로 전환되거나([SWS_CORE_00843]), EmplaceError()를 통해 새 오류로 직접 설정될 수 있습니다([SWS_CORE_00844]). 복사 및 이동 생성자([SWS_CORE_00825], [SWS_CORE_00826])와 해당 할당 연산자([SWS_CORE_00841], [SWS_CORE_00842])는 인스턴스 간에 상태를 전송하며, Swap()은 두 객체의 콘텐츠를 교환합니다([SWS_CORE_00845]).

소멸자 ~Result()은 수명 주기를 종료하며([SWS_CORE_00827]), std::is_trivially_destructible<E>::value가 참인 경우 사소(trivial)합니다. 동시성과 관련하여 순수 읽기 작업은 스레드 안전하지만, EmplaceValue(), EmplaceError(), 할당 또는 Swap()와 같은 상태 변경 작업은 스레드 안전하지 않습니다.

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()

상태 다이어그램: 수명 주기 및 값 상태와 오류 상태 간의 상태 전이. 출처: [SWS_CORE_00821], [SWS_CORE_00831], [SWS_CORE_00823], [SWS_CORE_00834], [SWS_CORE_00843], [SWS_CORE_00844]

사용 경로

일반적인 흐름은 함수 호출에서 ara::core::Result<void, E> 인스턴스를 수신하는 것으로 시작됩니다. 호출자는 HasValue()([SWS_CORE_00851]) 또는 변환 operator bool()([SWS_CORE_00852])을 통해 결과를 평가합니다. 성공적으로 실행된 경우 Bind()([SWS_CORE_00870])를 통해 후속 작업을 함수형으로 연결할 수 있습니다. Bind()은 인스턴스에 값이 포함된 경우에만 전달된 Callable을 실행하고 변환된 결과를 반환합니다. 대신 오류가 있는 경우 호출된 함수는 건너뛰고 오류 내용이 새 결과로 인계됩니다.

제네릭 코드에서의 통일성을 위해 이 특수화는 일반적인 Result 클래스와 형식적으로 일치하는 인터페이스를 제공합니다. Value()([SWS_CORE_00855]), operator*()([SWS_CORE_00853]) 및 ValueOr()([SWS_CORE_00861])는 값을 반환하지 않으며 No-Op 메서드로 작동합니다. 이와 유사하게 Resolve()([SWS_CORE_00867])은 오류가 있는 경우에만 전달된 Callable을 실행하고 성공 시에는 비활성 상태를 유지합니다.

연산 검증 및 후속 처리를 위한 일반적인 사용 경로호출자DienstResult<void, E>Execute()FromValue() / FromError()Result<void, E>HasValue()boolaltHasValue() == true (Erfolg)Bind(f)HasValue() == false (Fehler)Error() / Err()Fehlerwert E / Optional<E>

시퀀스 다이어그램: 호출, 상태 확인, 오류 처리 또는 전달의 일반적인 순서. 출처: [SWS_CORE_00851], [SWS_CORE_00857], [SWS_CORE_00868], [SWS_CORE_00870]

오류 시나리오

인스턴스가 오류 상태에 있는 경우, 포함된 오류는 Error()의 오버로드를 통해 참조로 쿼리할 수 있습니다([SWS_CORE_00857], [SWS_CORE_00858], [SWS_CORE_00876]). 이때 엄격한 사전 조건이 적용됩니다. 오류가 포함되지 않은 인스턴스에서 Error()를 호출하는 것은 ResultWithNoErrorViolation에 해당합니다. 반대로 오류 상태의 인스턴스에서 Value()([SWS_CORE_00855]) 또는 operator*()([SWS_CORE_00853])을 호출하면 ResultWithNoValueViolation이 발생합니다.

사전 조건 위반을 방지하기 위해 대체 쿼리 메서드를 사용할 수 있습니다. Err()은 오류를 ara::core::Optional<E>에 감싸서 제공하며, 성공 시에는 비어 있습니다([SWS_CORE_00868], [SWS_CORE_00869]). ErrorOr()를 사용하면 오류가 포함되지 않은 경우 반환될 기본 오류를 지정할 수 있습니다([SWS_CORE_00863], [SWS_CORE_00864]). 특정 오류 값에 대한 검사를 위해 CheckError()은 내부 오류를 비교 값과 대조합니다([SWS_CORE_00865]).

예외 기반 오류 처리가 선호되는 경우, ValueOrThrow()([SWS_CORE_00866])은 오류 발생 시 해당 오류에 할당된 예외를 발생시키며, 값이 있는 경우 호출은 정상적으로 반환됩니다. 툴체인에서 C++ 예외가 비활성화된 경우 ValueOrThrow()는 오버로드 확인에 참여하지 않습니다([SWS_CORE_00866]).

이 가이드는 R25-11 릴리스의 ara::core::Result<void, E> 사양을 기반으로 하며 자동으로 생성되었습니다.

멤버 맵

클래스 다이어그램

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

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

Result 함수 5

Construct a new Result with a void value

오버로드 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 함수

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

~Result () noexcept;

메서드

Bind 함수

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 함수

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;

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);

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

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

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

오버로드 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 함수 3

Access the contained error.

오버로드 Error 3
const E & Error () const & noexcept; SWS_CORE_00857
E && Error () &&noexcept; SWS_CORE_00858
E & Error () & noexcept; SWS_CORE_00876
ErrorOr 함수 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

오버로드 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 함수 3

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

오버로드 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 함수

Build a new Result with void as value

static Result FromValue () noexcept;
HasValue 함수

Check whether *this contains a value.

bool HasValue () const noexcept;
Resolve 함수

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 함수

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 함수

This function only exists for helping with generic programming

void Value () const noexcept;
ValueOr 함수

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

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

Return the contained value or throw an exception.

void ValueOrThrow () const noexcept(false);

연산자

Check whether *this contains a value

explicit operator bool () const noexcept;
operator* 함수

Access the contained value.

void operator* () const noexcept;
operator= 함수 2

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

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

타입 별칭

error_type 타입 별칭

Type alias for the type E of errors

using error_type = E;
value_type 타입 별칭

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

using value_type = void;

메서드 문서

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: c3e549b2f1ca 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용법 및 호출 컨텍스트

ara/core/result.h의 특수화 ara::core::Result<void, E>에 속한 멤버 함수 Bind은(는) 결과값이 없는 성공적인 인스턴스에 대해 후속 계산을 수행합니다 [SWS_CORE_00870]. 값이 존재하는 경우 전달된 Callable f이(가) 매개변수 없이 동기식으로 호출됩니다. Callable은 인터페이스 Result<XXX, E> f() 또는 XXX f()을(를) 충족해야 하며, 여기서 XXX은(는) Result에 대해 허용되는 타입이어야 합니다 [SWS_CORE_00870]. Callable이 Result을(를) 반환하는 경우 반환 타입은 decltype(f())에 해당하며, 직접 XXX을(를) 반환하는 경우 결과는 Result<decltype(f()), E>(으)로 래핑됩니다 [SWS_CORE_00870].

오류 처리 및 동시성

인스턴스에 값이 포함되어 있지 않은 경우, 원래의 오류가 복사된 새로운 Result<XXX, E>이(가) 반환됩니다 [SWS_CORE_00870]. 해석: 이 경우 Callable f의 실행은 생략될 것으로 보입니다. 질문 Q-6288a7106d2730c3 (열림) 실행 안전성과 관련하여 이 함수는 not exception safe로 간주됩니다 [SWS_CORE_00870]. 스레드 안전성은 조건부(conditional)이며 전달된 Callable f의 스레드 안전성에 전적으로 의존합니다 [SWS_CORE_00870].

관련 요구 사항과의 상호 작용

Callable이 f(const T&)을(를) 통해 인스턴스의 값을 수신하는 [SWS_CORE_00768] 및 [SWS_CORE_00941]의 기본 Result<T, E> 함수와 달리, 본 오버로드 [SWS_CORE_00870]은(는) 연산을 void 결과에 바인딩하므로 매개변수가 없는 Callable을 요구합니다.

이 사용 지침은 AUTOSAR 사양 버전 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#55ab2dab
Content hash
55ab2dab
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

함수 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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 95d51174d109 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

특수화 ara::core::Result<void, E>의 멤버 함수 EmplaceError은(는) 전달된 인수 args [SWS_CORE_00844](으)로부터 기존 인스턴스 내에 직접 새 오류 값을 동기식으로 인플레이스(in-place) 생성합니다. 헤더 파일 ara/core/result.h을(를) 통해 제공되는 이 템플릿 함수는 반환값이 없으며 E 타입의 오류 객체를 그 자리에서 즉시 초기화합니다 [SWS_CORE_00844].

오류 처리 및 예외 안전성과 관련하여 이 연산은 조건부 예외 안전(conditionally exception safe)(으)로 분류됩니다 [SWS_CORE_00844]. 지정자 noexcept(std::is_nothrow_constructible<E, Args...>::value)을(를) 통해, E 타입이 Args... 타입들로부터 예외 없이 생성될 수 있는 경우에 한해 무예외성이 보장됩니다 [SWS_CORE_00844].

동시성 및 제약 조건 측면에서 이 멤버 함수는 스레드 안전하지 않음(not thread-safe)(으)로 정의됩니다 [SWS_CORE_00844]. 여러 스레드가 동일한 Result 인스턴스에 경쟁적으로 접근하는 경우, 조정되지 않은 상태 변경을 방지하기 위해 외부 동기화 메커니즘이 필요할 것으로 보입니다. 질문 Q-ffcb8ced860f6080 (열림)

모듈 core의 전반적인 맥락에서 [SWS_CORE_00844]은(는) 동일한 함수의 다른 변형들과 직접 대응됩니다. 기본 템플릿 ara::core::Result에 대해서는 [SWS_CORE_00744] 아래에 동일한 동작이 명시되어 있으며, 참조 타입 ara::core::Result<T&, E>의 경우 요구사항 [SWS_CORE_00916]이(가) 동일한 시그니처 및 시맨틱을 규정합니다.

이 사용 지침은 AUTOSAR R25-11 명세를 바탕으로 AI에 의해 생성되었습니다.

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#131986f7
Content hash
131986f7
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

함수 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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 615b498206aa 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용법 및 호출 컨텍스트

템플릿 멤버 함수 EmplaceValue은(는) 모듈 core에 속하며 특수화 ara::core::Result<void, E>을(를) 위해 헤더 파일 #include "ara/core/result.h"을(를) 통해 정의됩니다 [SWS_CORE_00843]. 그 목적은 전달된 인수를 기반으로 기존 인스턴스에 새 값을 직접 생성하거나 설정하는 것입니다 args [SWS_CORE_00843]. 실행은 동기식으로 이루어지며 반환값을 제공하지 않습니다(void) [SWS_CORE_00843]. 특수화의 값 타입이 void이므로 호출 시 인스턴스가 성공 상태로 전이됩니다. 해석상 args을(를) 수신하는 것은 주로 기본 템플릿 클래스와의 제네릭 시그니처 호환성을 위한 것으로 보입니다. 질문 Q-b53ca5908f2517fb (열림)

오류 처리 및 예외 안전성

이 함수는 noexcept(으)로 선언되어 있으며 사양 exception safe을(를) 갖습니다 [SWS_CORE_00843]. 오류 코드를 반환하지 않으며 예외를 발생시키지 않습니다. Result 객체가 이전에 오류 상태에 있었던 경우, 값을 삽입함으로써 해당 상태를 덮어씁니다.

동시성 및 제약사항

이 연산은 스레드 안전하지 않음(not thread-safe)(으)로 지정되어 있습니다 [SWS_CORE_00843]. 동일한 ara::core::Result 인스턴스에 대한 잠재적인 동시 읽기 또는 쓰기 접근 시 호출자에 의한 외부 동기화가 반드시 필요합니다.

관련 사양과의 상호작용

조건부 예외 안전에 불과하고 noexcept 특성이 std::is_nothrow_constructible<T, Args...>::value에 의존하는 [SWS_CORE_00743]의 ara::core::Result<T, E>용 EmplaceValue 일반 구현과 비교하여, [SWS_CORE_00843]에 따른 void 특수화는 제한 없는 noexcept 및 예외 안전성 보장을 제공합니다.

이 사용 지침은 R25-11용 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

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

함수 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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: c47cf49ad139 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

클래스 특수화 ara::core::Result<void, E>의 멤버 함수 Err() const &은(는) 포함되어 있을 수 있는 오류 상태를 동기적으로 조회할 수 있도록 합니다([SWS_CORE_00868]). 이 함수는 헤더 파일 ara/core/result.h을(를) 통해 선언되며 호출 시 전달 매개변수가 필요하지 않습니다([SWS_CORE_00868]). 반환값으로 함수는 객체가 오류를 나타내는 경우 구체적인 오류 값을 포함하는 ara::core::Optional<E>을(를) 제공합니다([SWS_CORE_00868]).

동시성 및 제약 조건과 관련하여, 이 작업은 명시적으로 thread-safe(으)로 명시되어 있습니다([SWS_CORE_00868]). 예외 안전성 측면에서 이 메서드는 조건부 예외 안전(conditionally exception safe)(으)로 간주됩니다([SWS_CORE_00868]). 이때 noexcept 보장은 std::is_nothrow_constructible<Optional<E>, const E&>::value이(가) 충족될 때만 적용됩니다([SWS_CORE_00868]).

인터페이스 연계에서 rvalue 오버로드 Err() &&([SWS_CORE_00869])은(는) ara::core::Result<void, E> 내에서 이 함수를 보완합니다. 유사한 lvalue 및 rvalue 오버로드 쌍이 기본 템플릿 ara::core::Result<T, E>([SWS_CORE_00772], [SWS_CORE_00773]) 및 참조 특수화 ara::core::Result<T&, E>([SWS_CORE_00931], [SWS_CORE_00932])에 대해서도 제공됩니다.

이 텍스트는 AUTOSAR 사양을 기반으로 AI에 의해 생성되었습니다.

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

함수 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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 5bc8fa1204ae 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

특수화 ara::core::Result< void, E >의 멤버 함수 Err() &&은(는) 존재할 수 있는 오류를 추출하여 ara::core::Optional< E >(으)로 반환합니다 [SWS_CORE_00869]. 이 함수는 헤더 파일 ara/core/result.h을(를) 통해 포함됩니다 [SWS_CORE_00869].

사용법 및 시맨틱과 관련하여 다음 특성이 적용됩니다:

  • 호출 컨텍스트 및 매개변수: 이 함수는 매개변수를 받지 않으며, Rvalue 한정 메서드로서 ara::core::Result< void, E >의 Rvalue 인스턴스에만 바인딩됩니다 [SWS_CORE_00869]. 해석: Rvalue 시맨틱(&&)으로 인해 호출 시 오류 객체가 반환되는 Optional로 이동될 것으로 추정됩니다. 질문 Q-b5a0098f77686ca6 (열림)
  • 반환값: 결과로 반환되는 ara::core::Optional< E >에는 객체 내에 오류 값이 존재하는 경우 해당 오류 값이 포함됩니다 [SWS_CORE_00869].
  • 예외 안전성 및 동시성: 이 작업은 조건부 예외 안전(conditionally exception safe)으로 분류되며, std::is_nothrow_constructible< Optional< E >, E && >::value이 충족되면 예외를 발생시키지 않습니다 [SWS_CORE_00869]. 또한 이 함수는 스레드 안전(thread-safe)으로 명시되어 있습니다 [SWS_CORE_00869].

인터페이스 상호작용 측면에서 이 Rvalue 변형은 동일한 특수화의 해당 Lvalue 오버로드 Err() const &을 보완합니다 [SWS_CORE_00868]. Lvalue 및 Rvalue 메서드의 유사한 쌍이 기본 템플릿 ara::core::Result [SWS_CORE_00772], [SWS_CORE_00773] 및 참조 특수화 ara::core::Result< T &, E > [SWS_CORE_00931], [SWS_CORE_00932]에 존재합니다.

이 텍스트는 AI를 통해 작성되었으며 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#5d7e78cd
Content hash
5d7e78cd
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

함수 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#8b10b8df
Content hash
8b10b8df
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

함수 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#cdf28a5f
Content hash
cdf28a5f
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

함수 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#0ed95609
Content hash
0ed95609
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 478ce836109b 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

특수화 ara::core::Result<void, E>의 템플릿 멤버 함수 ErrorOr은(는) [SWS_CORE_00863]에 따라 포함된 오류 또는 대체 기본 오류를 동기적으로 검색하는 데 사용됩니다. 인스턴스에 이미 E 타입의 오류 값이 포함되어 있는 경우 이는 변경되지 않고 반환되며, 그렇지 않은 경우 전달된 매개변수 defaultError은(는) static_cast을(를) 통해 오류 타입 E(으)로 변환되어 반환됩니다 [SWS_CORE_00863].

오류 처리 및 동시성과 관련하여 다음 속성이 적용됩니다:

  • 예외 안전성: E의 복사 생성과 보편적 참조 타입 G&&으로부터의 E 생성이 모두 예외를 던지지 않는 경우(std::is_nothrow_copy_constructible<E>::value && std::is_nothrow_constructible<E, G&&>::value), 이 호출은 조건부 예외 안전(conditionally exception safe)하며 noexcept(으)로 선언됩니다 [SWS_CORE_00863].
  • 스레드 안전성: 이 작업은 스레드 안전(thread-safe)(으)로 명시되어 있습니다 [SWS_CORE_00863]. 상수 lvalue 참조 오버로드(const &)이므로 동일한 인스턴스에 대한 동시 읽기 접근은 안전할 것으로 추정됩니다. 질문 Q-f95402c2e79ef590 (열림)
  • 헤더: 이 함수는 헤더 파일 #include "ara/core/result.h"을(를) 통해 제공됩니다 [SWS_CORE_00863].

ara::core::Result 내의 상호작용에서 [SWS_CORE_00863]은(는) 오류가 std::move을(를) 통해 전송되는 void 결과에 대한 rvalue 오버로드 [SWS_CORE_00864]의 lvalue 상수 대응물을 형성합니다. 동일한 오버로드가 [SWS_CORE_00763] 및 [SWS_CORE_00764]을(를) 통한 기본 클래스 템플릿 Result<T, E>과(와) [SWS_CORE_00935] 및 [SWS_CORE_00936]을(를) 통한 참조 타입 Result<T &, E>에 대해서도 존재합니다.

이 텍스트는 AUTOSAR R25-11 사양을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#6a6140b9
Content hash
6a6140b9
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 4d76cf06b254 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용법 및 의미론

특수화 ara::core::Result<void, E>의 멤버 함수 ErrorOr은(는) rvalue 인스턴스([SWS_CORE_00864])에서 오류를 동기적으로 읽어오는 역할을 합니다. 이 메서드가 호출되고 Result 객체에 오류가 포함되어 있는 경우, 오류는 std::move을(를) 통해 E 타입의 반환값으로 이동됩니다. 반대로 성공적인 결과가 있는 경우, 전달된 인자 defaultError은(는) static_cast을(를) 통해 E(으)로 변환되어 반환됩니다([SWS_CORE_00864]).

오류 처리 및 예외 안전성

이 함수 자체는 DET 또는 DEM과 같은 고전적인 AUTOSAR 오류 메시지를 트리거하지 않습니다. 예외 처리와 관련하여 ErrorOr은(는) 조건부 예외 안전(conditionally exception safe)합니다. 오류 타입 E이(가) 예외 없이 이동 가능하고(std::is_nothrow_move_constructible<E>::value) 기본 오류의 보편적 참조 타입 G&&으로부터 E이(가) 예외 없이 생성될 수 있는 경우([SWS_CORE_00864]), 이 함수는 noexcept 표현식을 통해 보호됩니다.

동시성 및 상호 작용

이 메서드는 thread-safe(으)로 명시되어 있습니다([SWS_CORE_00864]). Rvalue 참조 한정자 &&에 의해, 이 호출은 Result 객체가 rvalue로 전달될 것을 요구합니다.

모듈 core에서 이 rvalue 변형은 다른 형태들과 연계되어 제공됩니다:

  • ara::core::Result<void, E>의 경우, lvalue 대응물로서 오류를 이동하는 대신 복사하는 const & 오버로드 [SWS_CORE_00863]이(가) 존재합니다.
  • 값 및 참조 결과의 경우, 특수화 ara::core::Result<T, E>([SWS_CORE_00763], [SWS_CORE_00764]) 및 ara::core::Result<T&, E>([SWS_CORE_00935], [SWS_CORE_00936])은(는) 복사 및 이동 의미론에 대해 동일한 이중 시그니처 구조를 제공합니다.

이 사용 지침은 AUTOSAR Adaptive R25-11의 명세 요구사항을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#6efdb9ca
Content hash
6efdb9ca
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

함수 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)

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: faa781b78220 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

정적 함수 FromError은(는) 템플릿 특수화 ara::core::Result<void, E>의 구성 요소이며 헤더 파일 ara/core/result.h을(를) 통해 포함됩니다[SWS_CORE_00834]. 이미 존재하는 오류 객체로부터 새로운 Result을(를) 생성하기 위한 동기식 팩토리 메서드 역할을 합니다[SWS_CORE_00834].

  • 매개변수: 입력 매개변수 e은(는) 오류를 상수 Lvalue 참조(const E &)(으)로 받습니다[SWS_CORE_00834].
  • 반환값: 전달된 오류 e을(를) 포함하는 Result 인스턴스를 반환합니다[SWS_CORE_00834].

오류 처리 및 예외 안전성

명세는 특정 오류 코드를 정의하지 않으며 DET 또는 DEM에 대한 보고를 규정하지 않습니다[SWS_CORE_00834]. 이 함수는 조건부 예외 안전(conditionally exception safe)합니다: 오류 타입 E이(가) 예외를 던지지 않고 복사 가능한 경우(std::is_nothrow_copy_constructible<E>::value)에만 정확히 noexcept(으)로 보장됩니다[SWS_CORE_00834].

동시성

호출은 thread-safe로 분류되어 있습니다[SWS_CORE_00834]. 해석: 스레드 안전성은 객체 생성의 내부 프로세스와 관련이 있을 것으로 보이나, 복사 프로세스 중에 참조된 원본 객체 e이(가) 다른 스레드에 의해 수정되지 않아야 함을 전제로 합니다. 질문 Q-639cbb5cf8a64a0c (열림)

상호 작용

특수화 ara::core::Result<void, E> 내에서 Rvalue 참조를 위한 오버로드(E&&) [SWS_CORE_00835] 및 매개변수 팩을 통한 제자리 생성 오버로드 [SWS_CORE_00836]이(가) 이 함수를 보완하며, 이 둘은 상이하게 not thread-safe로 선언되어 있습니다. 아울러 불완전하게 특수화된 타입 ara::core::Result([SWS_CORE_00734], [SWS_CORE_00735], [SWS_CORE_00736]) 및 참조 특수화([SWS_CORE_00905], [SWS_CORE_00906], [SWS_CORE_00907])에 대해서도 상응하는 오버로드가 존재합니다.

이 텍스트는 AI에 의해 생성되었습니다. AUTOSAR 명세가 기준이 됩니다.

구현자 가이드 준비 중 (복잡도 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#d15e403e
Content hash
d15e403e
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

함수 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)

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 0aceeedf36f2 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

정적 함수 FromError은(는) Rvalue로 전달된 오류 객체 e로부터 ara::core::Result<void, E>의 새 인스턴스를 동기식으로 생성합니다[SWS_CORE_00835]. 이 함수는 헤더 ara/core/result.h에 정의되어 있으며 오류 값을 포함하는 ara::core::Result을(를) 반환합니다[SWS_CORE_00835].

오류 처리 및 동시성

이 작업은 조건부 예외 안전성(conditionally exception safe)을 제공합니다: 오류 타입 E이(가) 예외를 던지지 않는 이동 생성자를 가지고 있는 경우(std::is_nothrow_move_constructible<E>::value), noexcept을(를) 통해 예외 발생이 없음을 보장합니다[SWS_CORE_00835]. 이 함수는 스레드 안전하지 않은 것(not thread-safe)으로 분류되어 있습니다[SWS_CORE_00835]. 해석: 이는 이동할 Rvalue 객체를 다른 스레드로부터의 병렬 접근으로부터 보호해야 함을 의미할 것으로 추정됩니다. 질문 Q-be29e8c3a7412b7a (열림)

상호 작용

특수화 ara::core::Result<void, E> 내에서 이 오버로드는 Lvalue 복사 함수 [SWS_CORE_00834] 및 매개변수 팩을 통한 제자리 생성 [SWS_CORE_00836]에 대한 이동 대응물 역할을 합니다. core 모듈 내에는 값 타입 [SWS_CORE_00735] 및 참조 [SWS_CORE_00906]에 대해서도 유사한 Rvalue 오버로드가 존재하며, 각각의 Lvalue 버전([SWS_CORE_00734], [SWS_CORE_00905]) 및 제자리 버전([SWS_CORE_00736], [SWS_CORE_00907])이 추가되어 있습니다.

이 텍스트는 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#8833b22c
Content hash
8833b22c
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 8b596041d3f0 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

[SWS_CORE_00836]에 따른 정적 템플릿 함수 FromError은(는) 특수화 ara::core::Result<void, E> 내에서 오류 상태의 Result 객체를 생성하는 데 사용되며, 해당 오류 객체는 전달된 인수 args로부터 직접 제자리(“in-place”)에서 E 타입으로 생성됩니다. 이 함수는 std::is_constructible<E, Args&&...>::value이(가) 참이고, 언팩된 매개변수 팩의 첫 번째 타입이 E에 해당하지 않으며 Result의 특수화도 아닌 경우에만 오버로드 확인에 참여합니다[SWS_CORE_00836].

예외 안전성과 관련하여 이 함수는 조건부 예외 안전(“conditionally exception safe”)으로 명세되어 있습니다: 이 함수는 noexcept(std::is_nothrow_constructible<E, Args...>::value)(으)로 선언되어 있습니다[SWS_CORE_00836]. 동시성과 관련하여 이 호출은 스레드 안전하지 않은 것(“not thread-safe”)으로 간주됩니다[SWS_CORE_00836].

클래스의 다른 함수와의 상호작용 측면에서 이 메서드는 이미 존재하는 Lvalue([SWS_CORE_00834]) 또는 Rvalue 오류 객체([SWS_CORE_00835])로부터의 생성을 위한 오버로드를 보완합니다. 해석: E 및 Result과(와) 관련된 SFINAE 제한은 이미 생성된 오류 또는 Result 인스턴스를 전달할 때 각각의 복사 또는 이동 연산자가 우선적으로 선택되도록 보장하고 모호성을 방지하기 위한 것으로 추정됩니다. 질문 Q-2796f954bcaececa (열림) 일반 타입 Result([SWS_CORE_00736]) 및 Result<T&, E>의 참조 타입([SWS_CORE_00907])에 대해서도 유사한 제자리 팩토리 함수가 존재합니다.

이 사용 지침은 AUTOSAR 사양 R25-11을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#7714eef5
Content hash
7714eef5
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

함수 FromValue [SWS_CORE_00831] Upstream: RS_AP_00130

static Result FromValue () noexcept;

Build a new Result with void as value

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: cadd61352253 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

정적 멤버 함수 FromValue()은(는) 템플릿 특수화 ara::core::Result<void, E> [SWS_CORE_00831]을(를) 위한 성공적인 ara::core::Result 객체를 생성하는 역할을 합니다. 결과 타입 void이(가) 페이로드 데이터를 전달하지 않으므로, 이 함수는 전달 매개변수를 받지 않습니다. 호출은 동기식으로 수행되며 void 값을 나타내는 Result을(를) 반환합니다 [SWS_CORE_00831]. 선언은 헤더 ara/core/result.h에서 이루어집니다 [SWS_CORE_00831].

오류 처리 및 예외 안전성

이 함수에는 사양 noexcept이(가) 지정되어 있으며 완전한 예외 안전(exception safe)으로 분류됩니다 [SWS_CORE_00831]. FromValue()은(는) 정의상 성공적인 연산을 나타내므로, 오류 상태를 생성하지 않고 오류 코드를 반환하지 않습니다. DET 또는 DEM을 통한 특정 오류 보고는 이 호출에 대해 정의되어 있지 않습니다.

동시성

사양에 따라 이 함수는 스레드 안전(thread-safe)으로 분류됩니다 [SWS_CORE_00831]. 추가적인 동기화 조치 없이 여러 스레드에서 병렬로 호출할 수 있습니다.

상호 작용

매개변수가 없는 시그니처는 오직 Result<void, E> 전용으로 제공됩니다 [SWS_CORE_00831]. 이는 값을 생성하는 오버로드들과 구별됩니다:

이 사용 지침은 AUTOSAR 사양을 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#24b33213
Content hash
24b33213
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

함수 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#c25bbdff
Content hash
c25bbdff
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

함수 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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: bddc80ca365a 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

템플릿 클래스 ara::core::Result<void, E>의 멤버 함수 Resolve은(는) 제네릭 프로그래밍 프레임워크 내에서 오류 처리를 수행하는 역할을 합니다 [SWS_CORE_00867]. Result 인스턴스에 정규 값이 포함되어 있는 경우 이 호출은 아무런 연산도 수행하지 않습니다 [SWS_CORE_00867]. 반면 인스턴스에 오류가 포함되어 있는 경우 매개변수로 전달된 Callable f이(가) 호출됩니다 [SWS_CORE_00867].

전달된 Callable f은(는) 함수 시그니처 void f(const E&)과(와) 호환되어야 하며, 여기서 E은(는) 오류 타입을 나타냅니다 [SWS_CORE_00867]. 함수 Resolve 자체는 반환값을 제공하지 않습니다(void) [SWS_CORE_00867]. 실행 안전성과 관련하여 이 함수는 예외 안전하지 않음(“not exception safe”)으로 지정되어 있습니다 [SWS_CORE_00867]. 이 함수의 스레드 안전성은 조건부이며 전달된 Callable f의 스레드 안전성에 직접적으로 의존합니다 [SWS_CORE_00867].

전체 시스템에서 이 특수화는 ara::core::Result<T, E> [SWS_CORE_00767]의 값 타입 및 ara::core::Result<T&, E> [SWS_CORE_00939], [SWS_CORE_00940]의 참조 타입을 위한 일반 Resolve 함수와 구별됩니다. 해당 변형들은 포함된 값이나 Callable 호출 결과를 반환하는 반면, 반환값이 없는 void 오버로드는 인터페이스 호출을 통일하기 위한 제네릭 구성 요소로서만 독점적으로 존재합니다 [SWS_CORE_00867].

이 사용 지침은 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#cf2dabbc
Content hash
cf2dabbc
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

함수 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#22611dbd
Content hash
22611dbd
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

함수 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#a07a3b92
Content hash
a07a3b92
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

함수 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#af840718
Content hash
af840718
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

함수 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#48fca2ca
Content hash
48fca2ca
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

함수 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#fd19787b
Content hash
fd19787b
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

함수 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

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 6d275c051250 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

멤버 함수 Swap은(는) 현재 인스턴스의 콘텐츠를 전달받은 참조 other과(와) 동기식으로 맞바꿉니다 [SWS_CORE_00845]. 이 함수는 헤더 파일 ara/core/result.h의 특수화 ara::core::Result<void, E> 스코프에 속하며 반환값을 갖지 않습니다 [SWS_CORE_00845].

오류 처리 측면에서 이 연산은 조건부 예외 안전(conditionally exception safe)(으)로 분류됩니다 [SWS_CORE_00845]. noexcept 보장은 오류 타입 E이(가) nothrow 이동 생성 가능(std::is_nothrow_move_constructible<E>::value)하고 nothrow 이동 할당 가능(std::is_nothrow_move_assignable<E>::value)한 경우에만 정확히 유효합니다 [SWS_CORE_00845]. 이 호출에 대해 특정 오류 코드나 DET 또는 DEM에 대한 알림은 정의되어 있지 않습니다 [SWS_CORE_00845].

동시성과 관련하여 Swap은(는) 명시적으로 스레드 안전하지 않음(not thread-safe)(으)로 명시되어 있습니다 [SWS_CORE_00845]. 따라서 외부 동기화 없이 동일한 인스턴스에 동시 접근하면 데이터 레이스가 발생할 가능성이 높습니다. 질문 Q-a8d4f130648765df (열림)

ara::core 내의 상호작용에서 이 메서드는 noexcept 조건이 멤버 함수에 직접 결합되어 있는 독립 템플릿 함수 ara::core::swap의 기반을 형성합니다 [SWS_CORE_00796]. 제네릭 타입 ara::core::Result<T, E> [SWS_CORE_00745], 참조 특수화 ara::core::Result<T&, E> [SWS_CORE_00917] 및 Promise 객체 [SWS_CORE_00352] [SWS_CORE_06352]에 대해서도 비교 가능한 교환 연산이 존재합니다.

이 텍스트는 AUTOSAR 사양을 기반으로 AI에 의해 생성되었습니다.

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

함수 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#80eda29d
Content hash
80eda29d
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

함수 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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 1e7317f7509a 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

특수화 ara::core::Result<void, E>의 멤버 함수 ValueOr은(는) 주로 제네릭 프로그래밍 패턴을 용이하게 하기 위한 것으로 실행 시 아무런 작업도 수행하지 않습니다([SWS_CORE_00861]). 헤더 ara/core/result.h을(를) 통해 제공되는 이 메서드는 전달 타입 U&&의 매개변수 defaultValue을(를) 동기식으로 수신하며 반환값을 제공하지 않습니다(void)([SWS_CORE_00861]).

동시성 및 예외 동작 측면에서 이 멤버 함수는 스레드 안전(thread-safe)(으)로 지정되어 있으며 완전한 예외 안전성을 보장하는 지정자 구문 noexcept(으)로 선언되어 있습니다([SWS_CORE_00861]). 오류 상태에 대한 확인이나 어떠한 동작도 발생하지 않으므로 오류 코드나 DET 또는 DEM에 대한 보고도 존재하지 않습니다.

Result의 다른 변형들과의 상호작용에서 이 함수는 ValueOr의 값 기반([SWS_CORE_00761], [SWS_CORE_00762]) 및 참조 기반([SWS_CORE_00933], [SWS_CORE_00934]) 오버로드를 보완합니다. 해당 함수들은 값이 설정되어 있을 때 이를 반환하거나 그렇지 않은 경우 전달된 대체 값을 변환하여 제공하지만, 이 변형은 값 반환이 없는 연산을 위한 중립적인 대응부를 나타냅니다([SWS_CORE_00861]). 해석: 전달된 값 defaultValue은(는) 구현에서 사용되지 않고 버려질 것으로 보입니다. 질문 Q-6097af779219e859 (열림) 이를 통해 개발자는 Result<void, E>에 대한 특별한 분기 없이 제네릭 템플릿 알고리즘을 작성할 수 있습니다.

이 텍스트는 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 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#916f0708
Content hash
916f0708
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

함수 ValueOrThrow [SWS_CORE_00866] Upstream: RS_AP_00130

void ValueOrThrow () const noexcept(false);

Return the contained value or throw an exception.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 8e615ce72e75 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

템플릿 특수화 ara::core::Result<void, E>의 멤버 함수 ValueOrThrow은 작업 결과의 동기식 검사에 사용됩니다 [SWS_CORE_00866]. 값 타입이 void이므로 이 함수는 매개변수를 받지 않으며 반환값을 반환하지 않습니다 [SWS_CORE_00866]. 선언은 헤더 ara/core/result.h을(를) 통해 제공됩니다 [SWS_CORE_00866].

성공 시 메서드는 정상적으로 반환됩니다. 반면 오류 상태가 존재하는 경우 포함된 오류와 연결된 예외 타입의 예외를 던집니다(noexcept(false)) [SWS_CORE_00866]. 예외 안전성과 관련하여 이 연산은 not exception safe로 명시되어 있습니다 [SWS_CORE_00866].

호출 컨텍스트 및 동시성에 대해 다음 제약 조건이 적용됩니다:

  • 이 함수는 thread-safe로 분류되어 있습니다 [SWS_CORE_00866].
  • 컴파일러 툴체인에서 C++ 예외가 비활성화된 경우 이 함수는 오버로드 확인에 참여하지 않습니다 [SWS_CORE_00866].

모듈 core과의 상호작용에서 이 void 특수화는 포함된 값에 대한 참조를 반환하는 ara::core::Result<T, E>의 제네릭 오버로드([SWS_CORE_00766], [SWS_CORE_00769], [SWS_CORE_00778]) 및 참조 타입 ara::core::Result<T&, E>에 대한 특수화([SWS_CORE_00938], [SWS_CORE_00949])를 보완합니다.

이 텍스트는 AI에 의해 생성되었으며 AUTOSAR R25-11의 사양 데이터만을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 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#f0a4d208
Content hash
f0a4d208
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

함수 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#c444ea64
Content hash
c444ea64
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

함수 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#b86ac52c
Content hash
b86ac52c
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

함수 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#ccd42dd2
Content hash
ccd42dd2
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

함수 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#8729daae
Content hash
8729daae
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

함수 ~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#bb02c434
Content hash
bb02c434
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

함수 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()

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 67f5fc13d797 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

특수화 ara::core::Result<void, E>의 템플릿 멤버 함수 CheckError은(는) 현재 인스턴스에 특정 오류가 포함되어 있는지 동기식으로 확인합니다 [SWS_CORE_00865]. 이를 위해 전달된 인수 error이(가) static_cast을(를) 통해 오류 타입 E(으)로 변환된 후 내부 오류 상태의 반환값 Error()과(와) 비교됩니다 [SWS_CORE_00865]. 호출은 헤더 #include "ara/core/result.h"을(를) 통해 이루어집니다 [SWS_CORE_00865].

사용 및 호출 컨텍스트에는 다음과 같은 특성이 적용됩니다:

  • 매개변수 및 반환값: G&& 타입의 보편 참조(universal reference) 매개변수 error은(는) 확인할 오류를 수신합니다 [SWS_CORE_00865]. 이 함수는 인스턴스에 error와(과) 동등한 오류가 포함되어 있는 경우 true을(를) 반환하고, 그렇지 않으면 false을(를) 반환합니다 [SWS_CORE_00865].
  • 동시성 및 예외 안전성: 이 연산은 const noexcept(으)로 선언되어 있으며, 예외 안전(exception safe)으로 간주되고 아무런 제약 없이 스레드 안전(thread-safe)하게 호출할 수 있습니다 [SWS_CORE_00865].

모듈 core과의 상호작용에서 CheckError의 유사한 오버로드가 존재합니다. 기본 템플릿 클래스 ara::core::Result 또한 스레드 안전 및 예외 안전하고 noexcept을(를) 갖는 동일한 시그니처를 제공합니다 [SWS_CORE_00765]. 반면 참조 특수화 ara::core::Result<T&, E>은(는) 동일한 비교 메커니즘을 가지며 스레드 안전하지만, 명시적으로 noexcept 없이 예외 안전하지 않음(not exception safe)으로 명시되어 있습니다 [SWS_CORE_00937].

이 사용 지침은 사양 요구사항을 바탕으로 자동 생성되었습니다.

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

타입 별칭 문서

타입 별칭 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#cab70731
Content hash
cab70731
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

타입 별칭 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#0df73ffa
Content hash
0df73ffa
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