DEENESPTFRRUARHIKOZHNL

클래스 ara::core::Bitset

[SWS_CORE_01701]

template <std::size_t N> class Bitset {...};

Implementation of std::bitset type from [bitset]

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

사용자 가이드AI 생성

Adaptive Core를 위한 Noexcept 보장을 갖춘 표준 준수형 타입 안전 고정 크기 비트 필드 추상화를 제공합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: ae7240ca6617 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

Adaptive Core를 위한 Noexcept 보장을 갖춘 표준 준수형 타입 안전 고정 크기 비트 필드 추상화를 제공합니다.

클래스 템플릿 ara::core::Bitset은 고정 크기 비트 시퀀스를 위해 AUTOSAR Adaptive에 맞게 조정된 std::bitset의 구현을 제공합니다 [SWS_CORE_01741]. 이는 비트 조작, 논리 연산, 엄격한 Noexcept 보장을 갖춘 스칼라 정수 타입으로의 최적화된 변환을 위한 포괄적인 작업을 제공합니다 [SWS_CORE_01738]. 위치 기반 수정은 C++ 예외 대신 ara::core::Result를 통해 잘못된 인덱스를 보고하며, 변환은 오버플로 오류를 결정론적으로 처리합니다. 그 결과 이 클래스는 특히 리소스 효율적이고 내결함성이 있는 제어기 기능에 적합합니다.

컨텍스트

템플릿 클래스 ara::core::Bitset은 Adaptive Platform 내에서 컴파일 타임에 고정된 길이 N를 갖는 비트 시퀀스를 위한 C++ 표준 타입 std::bitset의 구현을 제공합니다 [SWS_CORE_01741]. AUTOSAR 에코시스템에서 이 클래스는 제어기에서 비트 필드, 상태 마스크 및 플래그 레지스터를 고성능이며 타입 안전하게 처리하는 역할을 합니다. std::basic_string 대신 플랫폼별 타입 ara::core::BasicString을 지원함으로써 모듈 core의 타입 시스템에 매끄럽게 통합됩니다 [SWS_CORE_01749], [SWS_CORE_01751]. 또한 AUTOSAR는 표준화된 인터페이스를 확장하여 std::uint8_t, std::uint16_t, std::uint32_t 및 std::uint64_t와 같은 부호 없는 고정 너비 정수 타입으로의 전용 변환 함수를 제공합니다 [SWS_CORE_01736], [SWS_CORE_01737], [SWS_CORE_01738], [SWS_CORE_01739].

수명 주기

인스턴스 생성은 여러 생성자를 통해 유연하게 수행됩니다. 기본 생성자는 모든 N 비트를 0 값으로 초기화하며 constexpr 및 noexcept로 선언됩니다 [SWS_CORE_01713]. 대안적으로 비트셋은 unsigned long long 타입의 스칼라 값 [SWS_CORE_01719]으로부터 인스턴스화되거나, ara::core::BasicString [SWS_CORE_01749] 또는 널 종료 문자열 포인터 const CharT* [SWS_CORE_01750]로부터 텍스트 기반으로 인스턴스화될 수 있습니다. 복사 및 이동 생성자가 제공되며 noexcept=default으로 정의됩니다 [SWS_CORE_01714], [SWS_CORE_01716]. 마찬가지로 해당 할당 연산자가 제공됩니다 [SWS_CORE_01715], [SWS_CORE_01717]. 소멸자는 noexcept 및 스레드 안전으로 지정되어 있습니다 [SWS_CORE_01718]. 동시성과 관련하여 정수 변환 함수 역시 스레드 안전하지만 [SWS_CORE_01736], [SWS_CORE_01737], 동일한 비트셋 인스턴스에 대한 수정 접근은 동기화되어야 합니다.

사용 경로

일반적인 사용 경로는 인스턴스화, 이후 개별 비트 또는 비트 마스크 조작, 그리고 최종적인 비트 필드 평가 또는 변환을 포함합니다:

Typischer Nutzungspfad von ara::core::Bitset애플리케이션ara::core::BitsetUse Case: InitialisierungBitset(val)Instanz erzeugtUse Case: Bit-Manipulationset(pos, true)Result<Bitset&>flip()Bitset&Use Case: 상태 검사 및 변환test(pos)boolto_uint32t()std::uint32_t Wert

시퀀스 다이어그램: 비트셋의 초기화, 조작, 평가 및 변환 시 일반적인 상호 작용 순서. 출처: [SWS_CORE_01719], [SWS_CORE_01726], [SWS_CORE_01730], [SWS_CORE_01743], [SWS_CORE_01738]

오류 시나리오

std::bitset과 달리 ara::core::Bitset은 예외 없는 내결함성 및 결정론적 오류 처리 개념을 사용합니다(noexcept):

  • 위치 접근 시 범위 초과: 조작 함수 set(pos) [SWS_CORE_01726], reset(pos) [SWS_CORE_01728] 및 flip(pos) [SWS_CORE_01731]에서는 반환 타입 Result<Bitset<N>&>이 사용됩니다. pos이 유효한 범위를 벗어나면 std::out_of_range 대신 IsoStdOutOfRangeViolation이 보고됩니다. 해석: ara::core::Result 및 noexcept의 일관된 사용은 Adaptive Platform의 안전 필수 영역에서 엄격한 No-Exception 요구사항을 준수하기 위한 것으로 보입니다. 질문 Q-322c53fff705bce6 (열림) 검사 함수 test(pos) 또한 잘못된 pos이 있을 때 IsoStdOutOfRangeViolation를 가리킵니다 [SWS_CORE_01743].
  • 잘못된 문자열: ara::core::BasicString [SWS_CORE_01749]로부터 구성할 때, pos > size()에서는 IsoStdOutOfRangeViolation이 발생하고 0 또는 1가 아닌 문자에서는 (std::invalid_argument 대신) IsoStdInvalidArgumentViolation이 발생합니다.
  • 수치 오버플로: 표현된 비트 상태를 요청된 대상 타입에 매핑할 수 없는 경우, 변환 함수 to_uint8t [SWS_CORE_01736], to_uint16t [SWS_CORE_01737], to_uint32t [SWS_CORE_01738], to_uint64t [SWS_CORE_01739], to_ulong [SWS_CORE_01734] 및 to_ullong [SWS_CORE_01735]은 각각 std::overflow_error 대신 IsoStdOverflowErrorViolation를 보고합니다.
  • 제한된 예외 안전성: 대부분의 작업이 noexcept이며 예외로부터 안전한 반면, 포인터로부터의 생성 const CharT* [SWS_CORE_01750] 및 to_string [SWS_CORE_01751]을 통한 내보내기는 명시적으로 예외 안전하지 않음(not exception safe)으로 분류됩니다.

이 클래스 가이드는 AUTOSAR Adaptive 릴리스 R25-11 사양을 기반으로 하며 자동으로 생성되었습니다.

멤버 맵

클래스 다이어그램

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

G nara__core__Bitset255 Bitset + Bitset() + operator=() + ~Bitset() + size() + to_string() + to_uint16t() + to_uint32t() + to_uint64t() + to_uint8t() + to_ullong() + to_ulong() + all() + any() + count() + none() + operator[]() … 13 weitere

상세 보기

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

생성자 및 소멸자

Bitset 함수 6

≙ [bitset]

오버로드 Bitset 6
constexpr Bitset () noexcept=default; SWS_CORE_01713
Bitset (const Bitset &) noexcept=default; SWS_CORE_01714
Bitset (Bitset &&) noexcept=default; SWS_CORE_01716
constexpr Bitset (unsigned long long val) noexcept; SWS_CORE_01719
template <class CharT, class Traits, class Allocator> explicit Bitset (const BasicString< Allocator > &str, typename Basic String< Allocator >::size_type pos=0, typename BasicString< Allocator >::size_type n=BasicString< Allocator >::npos, CharT zero=CharT(’0’), CharT one=CharT(’1’)) noexcept; SWS_CORE_01749
template <class CharT> explicit Bitset (const CharT *str, typename BasicString< CharT >::size_type n=BasicString< CharT >::npos, CharT zero=CharT(’0’), Char T one=CharT(’1’)); SWS_CORE_01750
~Bitset 함수

[AUTOSAR defined] not present in ISO-14882. Destructor

~Bitset () noexcept;

메서드

all 함수

≙ [bitset]

bool all () const noexcept;
any 함수

≙ [bitset]

bool any () const noexcept;
count 함수

≙ [bitset]

std::size_t count () const noexcept;
flip 함수 2

≙ [bitset]

오버로드 flip 2
Bitset< N > & flip () noexcept; SWS_CORE_01730
Result< Bitset< N > & > flip (std::size_t pos) noexcept; SWS_CORE_01731
none 함수

≙ [bitset]

bool none () const noexcept;
reset 함수 2

≙ [bitset]

오버로드 reset 2
Bitset< N > & reset () noexcept; SWS_CORE_01727
Result< Bitset< N > & > reset (std::size_t pos) noexcept; SWS_CORE_01728
set 함수 2

≙ [bitset]

오버로드 set 2
Bitset< N > & set () noexcept; SWS_CORE_01725
Result< Bitset< N > & > set (std::size_t pos, bool val=true) noexcept; SWS_CORE_01726
size 함수

≙ [bitset]

constexpr std::size_t size () const noexcept;
test 함수

except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range ≙ std::out_of_range

bool test (std::size_t pos) const noexcept;
to_string 함수

except for the following deviations: 1. Template arguments have been adapted to ara::core::BasicString in place of std:: basic_string ≙ [bitset]

template <class Allocator = std::allocator<char>> BasicString< Allocator > to_string (char zero=char(’0’), char one=char(’1’)) const;
to_uint16t 함수

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint16_t from [SWS_APT_00025]

constexpr std::uint16_t to_uint16t () const noexcept;
to_uint32t 함수

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ulong but explicitly using the std::uint32_t type from [SWS_APT_00028] ≙ std::uint32_t

constexpr std::uint32_t to_uint32t () const noexcept;
to_uint64t 함수

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ullong but explicitly using the std::uint64_t type from [SWS_APT_00031] ≙ std::uint64_t

constexpr std::uint64_t to_uint64t () const noexcept;
to_uint8t 함수

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint8_t from [SWS_APT_00022]

constexpr std::uint8_t to_uint8t () const noexcept;
to_ullong 함수

except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error ≙ [bitset]

constexpr unsigned long long to_ullong () const noexcept;
to_ulong 함수

except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error ≙ [bitset]

constexpr unsigned long to_ulong () const noexcept;

연산자

operator&= 함수

≙ [bitset]

Bitset< N > & operator&= (const Bitset< N > &rhs) noexcept;
operator<< 함수

≙ [bitset]

Bitset< N > operator<< (std::size_t pos) const noexcept;

≙ [bitset]

Bitset< N > & operator<<= (std::size_t pos) noexcept;
operator= 함수 2

[AUTOSAR defined] not present in ISO-14882. Copy assignment operator

오버로드 = 2
Bitset & operator= (const Bitset &) noexcept=default; SWS_CORE_01715
Bitset & operator= (Bitset &&) noexcept=default; SWS_CORE_01717
operator== 함수

≙ [bitset]

bool operator== (const Bitset< N > &rhs) const noexcept;
operator>> 함수

≙ [bitset]

Bitset< N > operator>> (std::size_t pos) const noexcept;

≙ [bitset]

Bitset< N > & operator>>= (std::size_t pos) noexcept;
operator[] 함수 2

except for the following deviations: 1. The function is noexcept ≙ [bitset]

오버로드 [] 2
constexpr bool operator[] (std::size_t pos) const noexcept; SWS_CORE_01732
reference operator[] (std::size_t pos) noexcept; SWS_CORE_01733
operator|= 함수

≙ [bitset]

Bitset< N > & operator|= (const Bitset< N > &rhs) noexcept;
operator~ 함수

≙ [bitset]

Bitset< N > operator~ () const noexcept;

≙ [bitset]

Bitset< N > & operatorˆ= (const Bitset< N > &rhs) noexcept;

중첩 타입

reference 클래스

메서드 문서

함수 Bitset [SWS_CORE_01713]

constexpr Bitset () noexcept=default;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01713
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01713@rel:R25-11#be5b1aa8
Content hash
be5b1aa8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01713
Status: valid/unmigrated Version: rel:R25-11#310efdcc Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01713@rel:R25-11#310efdcc
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Bitset [SWS_CORE_01714] Upstream: RS_AP_00130

Bitset (const Bitset &) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Copy constructor

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01714
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01714@rel:R25-11#36e4f04c
Content hash
36e4f04c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01714
Status: valid/unmigrated Version: rel:R25-11#a6f79a8f Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01714@rel:R25-11#a6f79a8f
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Bitset [SWS_CORE_01716] Upstream: RS_AP_00130

Bitset (Bitset &&) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Move constructor

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01716
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01716@rel:R25-11#0abdccfa
Content hash
0abdccfa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01716
Status: valid/unmigrated Version: rel:R25-11#9f8cafe2 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01716@rel:R25-11#9f8cafe2
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Bitset [SWS_CORE_01719]

constexpr Bitset (unsigned long long val) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01719
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01719@rel:R25-11#14feccba
Content hash
14feccba
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01719
Status: valid/unmigrated Version: rel:R25-11#b3cad51d Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01719@rel:R25-11#b3cad51d
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Bitset [SWS_CORE_01749]

template <class CharT, class Traits, class Allocator> explicit Bitset (const BasicString< Allocator > &str, typename Basic String< Allocator >::size_type pos=0, typename BasicString< Allocator >::size_type n=BasicString< Allocator >::npos, CharT zero=CharT(’0’), CharT one=CharT(’1’)) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If (pos > size()), IsoStdOutOfRangeViolation is raised instead of std:: out_of_range 3. If any character is not 1 or 0, IsoStdInvalidArgumentViolation is raised instead of std::invalid_argument 4. Function arguments have been adapted to conform to ara::core::BasicString constructor parameters

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation IsoStdInvalidArgu- Description as per std::invalid_argument mentViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01749
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01749@rel:R25-11#7c183007
Content hash
7c183007
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01749
Status: valid/unmigrated Version: rel:R25-11#60c5b733 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01749@rel:R25-11#60c5b733
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Bitset [SWS_CORE_01750]

template <class CharT> explicit Bitset (const CharT *str, typename BasicString< CharT >::size_type n=BasicString< CharT >::npos, CharT zero=CharT(’0’), Char T one=CharT(’1’));

As per corresponding usage in [bitset] except for the following deviations: 1. Function arguments have been adapted to conform to ara::core::BasicString constructor parameters

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitnot exception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01750
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01750@rel:R25-11#1e63b567
Content hash
1e63b567
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01750
Status: valid/unmigrated Version: rel:R25-11#4ced3470 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01750@rel:R25-11#4ced3470
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 all [SWS_CORE_01744]

bool all () const noexcept;

As per corresponding usage in [bitset]

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

멤버 함수 [SWS_CORE_01744]는 ara::core::Bitset 클래스에 속하며 헤더 파일 #include "ara/core/bitset.h"를 통해 제공됩니다. 이 함수는 시그니처 bool all () const noexcept;를 가지며 매개변수를 받지 않고 동기식으로 부울 값을 반환합니다. 사양에 따르면 시맨틱은 [bitset]에서의 해당 용법을 따릅니다. 해석: 이 메서드는 인스턴스의 모든 비트가 설정되어 있는지(true 값을 가지는지) 확인하는 것으로 보입니다. 질문 Q-a4f0f8970bd2c9bb (열림)

오류 처리와 관련하여, 이 함수는 noexcept로 선언되어 있으며 예외 안전(exception safe)으로 지정되어 있습니다 [SWS_CORE_01744]. 오류 상태가 보고되지 않고 실행이 오류 없이 진행되는 것이 보장되므로, ara::core::CoreErrc의 오류 코드는 여기에 적용되지 않습니다.

호출 컨텍스트 및 동시성과 관련하여 다음 경계 조건이 적용됩니다:

  • 이 연산은 const로 선언되어 있으며 호출하는 ara::core::Bitset 객체의 상태를 수정하지 않습니다 [SWS_CORE_01744].
  • 다른 스레드가 동일한 메모리 영역을 쓰기 방식으로 변경하지 않는 한, 여러 스레드를 통한 동시 읽기 접근은 동기화 없이도 허용될 것으로 보입니다. 질문 Q-d9f1f92a120128b5 (열림)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01744
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01744@rel:R25-11#9b953773
Content hash
9b953773
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01744
Status: valid/unmigrated Version: rel:R25-11#ae080485 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01744@rel:R25-11#ae080485
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 any [SWS_CORE_01745]

bool any () const noexcept;

As per corresponding usage in [bitset]

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

ara::core::Bitset의 멤버 함수 any()는 Bitset에서 관리되는 비트들의 설정 상태를 동기식으로 조회하는 역할을 합니다 [SWS_CORE_01745]. 사양에 따르면 동작은 ISO C++ 클래스 템플릿 [bitset]의 해당 용법을 따릅니다 [SWS_CORE_01745]. 해석: 이 함수는 최소 하나의 비트가 설정되어 있는 경우 true를 반환하고, 모든 비트가 설정되어 있지 않은 경우 false를 반환합니다. 질문 Q-20c2aaf905d4a338 (열림)

사용법, 실행 컨텍스트 및 오류 동작과 관련하여 다음 규정이 적용됩니다:

  • 호출 및 매개변수: 이 메서드는 예를 들어 사전에 생성자를 통해 초기화된 기존 인스턴스에서 매개변수 없이 호출됩니다 [SWS_CORE_01749]. 호출은 동기식으로 이루어지며 검사 결과를 bool로 즉시 반환합니다 [SWS_CORE_01745].
  • 오류 처리: 이 함수는 noexcept로 선언되어 있으며 예외 안전(exception safe)으로 분류됩니다 [SWS_CORE_01745]. 오류 코드나 DET/DEM 알림은 생성되지 않으며, AUTOSAR 표준에서는 연산 실패가 예정되어 있지 않습니다.
  • 동시성: const 한정자를 통해 이 메서드는 인스턴스를 수정하지 않습니다 [SWS_CORE_01745]. 동일한 인스턴스에 대한 병렬 읽기 접근은 안전할 것으로 보이며, 경쟁적인 쓰기 접근은 호출자에 의해 동기화되어야 합니다. 질문 Q-34893675aa85baf1 (열림)

core의 모듈 컨텍스트에서 any()는 Bitset을 위한 기본 검사 함수를 제공하며, 이는 ara::core::Bitset의 초기화 및 저장 메커니즘과 원활하게 상호작용합니다 [SWS_CORE_01745], [SWS_CORE_01749].

이 사용 지침은 AUTOSAR Adaptive R25-11 명세를 바탕으로 자동 생성되었습니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01745
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01745@rel:R25-11#18b8c4d5
Content hash
18b8c4d5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01745
Status: valid/unmigrated Version: rel:R25-11#13aa29a1 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01745@rel:R25-11#13aa29a1
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 count [SWS_CORE_01740]

std::size_t count () const noexcept;

As per corresponding usage in [bitset]

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

사용법 및 의미론

멤버 함수 count는 ara::core::Bitset 인스턴스에서 매개변수 없이 동기식으로 호출됩니다([SWS_CORE_01740]). 헤더 #include "ara/core/bitset.h"에 선언되어 있으며 카운트 결과를 std::size_t 타입의 반환값으로 제공합니다([SWS_CORE_01740]). 기술적 동작은 참조 [bitset]를 따르므로([SWS_CORE_01740]), 해당 값은 설정된 비트의 총 개수에 해당할 것으로 보입니다. 질문 Q-36c593b234f55695 (열림)

오류 처리 및 동시성

이 함수는 noexcept로 지정되어 있으며 exception safe로 간주됩니다([SWS_CORE_01740]). 예외가 발생하지 않고 오류 코드도 반환되지 않으며, 이 요소에 대해 DET 또는 DEM으로의 알림은 예정되어 있지 않습니다. count는 const 멤버 함수(const)로 선언되어 있으므로([SWS_CORE_01740]), 호출 시 객체의 상태가 수정되지 않습니다. 따라서 경쟁적인 쓰기 접근이 발생하지 않는 한 동일한 인스턴스에 대한 병렬 읽기 접근은 동시에 실행 가능할 것으로 보입니다. 질문 Q-073bc3bbcb918763 (열림)

상호작용 및 구분

ara::core 네임스페이스 내에서 이 함수는 다른 요소들과 명확히 구분되어야 합니다:

이 텍스트는 AUTOSAR 릴리스 R25-11의 사양 데이터를 기반으로 자동 생성되었습니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01740
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01740@rel:R25-11#c76a88f3
Content hash
c76a88f3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01740
Status: valid/unmigrated Version: rel:R25-11#3ade8441 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01740@rel:R25-11#3ade8441
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 flip [SWS_CORE_01730]

Bitset< N > & flip () noexcept;

As per corresponding usage in [bitset]

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

사용

ara::core::Bitset 클래스의 멤버 함수 flip()은 [bitset]의 동작에 따라 인스턴스의 모든 비트 상태를 동기식으로 반전시킵니다[SWS_CORE_01730]. 이 함수는 헤더 #include "ara/core/bitset.h"를 통해 제공되며, 매개변수를 받지 않고 수정된 객체(Bitset<N>&)에 대한 lvalue 참조를 반환하므로 연산 체이닝이 가능합니다[SWS_CORE_01730].

오류 처리 및 예외 안전성

이 함수는 noexcept(으)로 선언되어 있으며 예외 안전(“exception safe”)으로 명시되어 있습니다[SWS_CORE_01730]. C++ 예외가 발생하지도 않고 오류 코드가 반환되지도 않으므로, 실행은 항상 오류 없이 이루어질 것으로 추정됩니다. 질문 Q-df762b6329a2c0d4 (열림)

상호 작용

core 모듈은 비트 조작을 위한 관련 변형들을 정의합니다:

  • 오버로드된 메서드 flip(std::size_t pos)은 인덱스 pos의 단일 비트를 목표로 반전시키는 데 사용됩니다[SWS_CORE_01731]. 매개변수가 없는 형태와 달리 이 메서드는 Result<Bitset<N>&>을 반환하고 IsoStdOutOfRangeViolation를 통해 유효하지 않은 위치를 알립니다[SWS_CORE_01731].
  • 참조 클래스 ara::core::Bitset<N>::reference을 통해 단일 참조 비트를 반전시키고 reference&를 반환하는 멤버 함수 flip()을 사용할 수 있습니다[SWS_CORE_01712].

이 사용 참고사항은 자동으로 작성되었으며 AUTOSAR Adaptive R25-11의 사양만을 기반으로 합니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01730
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01730@rel:R25-11#a15e4f54
Content hash
a15e4f54
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01730
Status: valid/unmigrated Version: rel:R25-11#80129789 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01730@rel:R25-11#80129789
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 flip [SWS_CORE_01731]

Result< Bitset< N > & > flip (std::size_t pos) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

ara::core::Bitset 클래스의 멤버 함수 flip은 전달된 위치 pos에 있는 비트의 상태를 동기적으로 반전합니다 [SWS_CORE_01731]. 이 함수는 헤더 #include "ara/core/bitset.h"에 정의되어 있으며 std::bitset::flip의 동작을 따르지만, 특정한 기능적 차이가 있습니다 [SWS_CORE_01731].

이 함수는 noexcept 및 exception safe(으)로 선언되어 있으며, 성공 시 Result<Bitset<N>&> 내에서 수정된 비트셋에 대한 참조를 반환합니다 [SWS_CORE_01731]. 매개변수 pos이(가) 유효한 비트 위치에 해당하지 않는 경우, std::out_of_range와(과) 같은 C++ 예외 대신 위반 IsoStdOutOfRangeViolation이(가) 발생합니다 [SWS_CORE_01731].

동시성과 관련하여, 문서화된 동기화 메커니즘이 없으므로 동일한 비트셋 인스턴스에 대한 동시 호출은 스레드에 안전하지 않으며 외부에서 조정되어야 할 것으로 보입니다. 질문 Q-de73bb65d6aab12c (열림)

core 모듈에서 이 함수는 다른 관련 연산들을 보완합니다. 인스턴스의 모든 비트를 동기적으로 반전하기 위해 매개변수가 없는 오버로드 flip()이(가) 제공되며 [SWS_CORE_01730], 비트 참조 객체의 경우 메서드 ara::core::Bitset::reference::flip()을(를) 사용할 수 있습니다 [SWS_CORE_01712].

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01731
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01731@rel:R25-11#9a73242d
Content hash
9a73242d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01731
Status: valid/unmigrated Version: rel:R25-11#3ec8b647 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01731@rel:R25-11#3ec8b647
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 none [SWS_CORE_01746]

bool none () const noexcept;

As per corresponding usage in [bitset]

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

사용

ara::core::Bitset 클래스의 멤버 함수 none는 비트 시퀀스 [SWS_CORE_01746]의 설정 상태를 조회하는 역할을 합니다. 이 메서드는 헤더 ara/core/bitset.h의 포함을 필요로 하며 시그니처 bool none () const noexcept;를 가집니다 [SWS_CORE_01746]. 호출은 기존 인스턴스에서 동기식 및 매개변수 없이 이루어집니다. 사양은 동작과 관련하여 [bitset]에서의 해당 사용법을 참조합니다 [SWS_CORE_01746]. 해석: 이 메서드는 비트 시퀀스 내에서 단 하나의 비트도 설정되어 있지 않은 경우(즉, 모든 비트가 false인 경우)에만 정확히 true를 반환하고, 그렇지 않으면 false를 반환할 것으로 보입니다. 질문 Q-de8593251c7748d5 (열림)

오류 처리 및 예외 안전성

none에 대해 오류 코드나 별도의 오류 상태는 정의되어 있지 않습니다. 사양에 따라 이 함수는 noexcept로 선언되어 있으며 예외 안전(exception safe) 분류를 가집니다 [SWS_CORE_01746]. 따라서 오류 발생 시나 실행 중에 C++ 예외가 발생하지 않습니다.

동시성 및 제약사항

none는 const로 선언되어 있으므로 [SWS_CORE_01746], 메서드 호출은 객체의 내부 상태를 수정하지 않습니다. 따라서 동일한 인스턴스에서 동시 쓰기 수정이 발생하지 않는 한, 동일한 Bitset 객체에 대한 병렬 읽기 호출은 동시성 측면에서 문제가 없고 재진입 가능할 것으로 보입니다. 질문 Q-cf92e9abf57e9678 (열림)

이 사용 지침은 AI 어시스턴트에 의해 자동으로 생성되었으며 사양 요구사항을 기반으로 합니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01746
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01746@rel:R25-11#fab18277
Content hash
fab18277
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01746
Status: valid/unmigrated Version: rel:R25-11#8bba9b6e Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01746@rel:R25-11#8bba9b6e
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator&= [SWS_CORE_01720]

Bitset< N > & operator&= (const Bitset< N > &rhs) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01720
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01720@rel:R25-11#3fa0ef0a
Content hash
3fa0ef0a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01720
Status: valid/unmigrated Version: rel:R25-11#fb4224f8 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01720@rel:R25-11#fb4224f8
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator<< [SWS_CORE_01747]

Bitset< N > operator<< (std::size_t pos) const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01747
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01747@rel:R25-11#1f5241cf
Content hash
1f5241cf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01747
Status: valid/unmigrated Version: rel:R25-11#2d8f37de Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01747@rel:R25-11#2d8f37de
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator<<= [SWS_CORE_01723]

Bitset< N > & operator<<= (std::size_t pos) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01723
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01723@rel:R25-11#6249e364
Content hash
6249e364
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01723
Status: valid/unmigrated Version: rel:R25-11#f4e1aed6 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01723@rel:R25-11#f4e1aed6
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_CORE_01715] Upstream: RS_AP_00130

Bitset & operator= (const Bitset &) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Copy assignment operator

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01715
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01715@rel:R25-11#51cf3e97
Content hash
51cf3e97
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01715
Status: valid/unmigrated Version: rel:R25-11#6cc96909 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01715@rel:R25-11#6cc96909
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_CORE_01717] Upstream: RS_AP_00130

Bitset & operator= (Bitset &&) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Move assignment operator

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01717
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01717@rel:R25-11#c3c60ce8
Content hash
c3c60ce8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01717
Status: valid/unmigrated Version: rel:R25-11#493efe21 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01717@rel:R25-11#493efe21
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator== [SWS_CORE_01742]

bool operator== (const Bitset< N > &rhs) const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01742
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01742@rel:R25-11#8a7f65ed
Content hash
8a7f65ed
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01742
Status: valid/unmigrated Version: rel:R25-11#dccd8673 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01742@rel:R25-11#dccd8673
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator>> [SWS_CORE_01748]

Bitset< N > operator>> (std::size_t pos) const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01748
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01748@rel:R25-11#6f7690b0
Content hash
6f7690b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01748
Status: valid/unmigrated Version: rel:R25-11#3aef5563 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01748@rel:R25-11#3aef5563
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator>>= [SWS_CORE_01724]

Bitset< N > & operator>>= (std::size_t pos) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01724
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01724@rel:R25-11#17232984
Content hash
17232984
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01724
Status: valid/unmigrated Version: rel:R25-11#7610a8ff Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01724@rel:R25-11#7610a8ff
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator[] [SWS_CORE_01732]

constexpr bool operator[] (std::size_t pos) const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01732
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01732@rel:R25-11#7e6a3d83
Content hash
7e6a3d83
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01732
Status: valid/unmigrated Version: rel:R25-11#2d0c689b Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01732@rel:R25-11#2d0c689b
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator[] [SWS_CORE_01733]

reference operator[] (std::size_t pos) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01733
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01733@rel:R25-11#50c561a0
Content hash
50c561a0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01733
Status: valid/unmigrated Version: rel:R25-11#66b4364b Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01733@rel:R25-11#66b4364b
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator|= [SWS_CORE_01721]

Bitset< N > & operator|= (const Bitset< N > &rhs) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01721
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01721@rel:R25-11#8e482945
Content hash
8e482945
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01721
Status: valid/unmigrated Version: rel:R25-11#cb81326d Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01721@rel:R25-11#cb81326d
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator~ [SWS_CORE_01729]

Bitset< N > operator~ () const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01729
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01729@rel:R25-11#b1f71214
Content hash
b1f71214
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01729
Status: valid/unmigrated Version: rel:R25-11#070c2d27 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01729@rel:R25-11#070c2d27
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operatorˆ= [SWS_CORE_01722]

Bitset< N > & operatorˆ= (const Bitset< N > &rhs) noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01722
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01722@rel:R25-11#ada5fbd8
Content hash
ada5fbd8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01722
Status: valid/unmigrated Version: rel:R25-11#06db033f Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01722@rel:R25-11#06db033f
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 reset [SWS_CORE_01727]

Bitset< N > & reset () noexcept;

As per corresponding usage in [bitset]

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

멤버 함수 reset()는 사양 [SWS_CORE_01727]에 따라 ara::core::Bitset 인스턴스의 상태를 리셋합니다. 이 함수는 헤더 파일 #include "ara/core/bitset.h"을 통해 제공되며 Bitset<N>& reset() noexcept; 시그니처를 갖습니다.

사용법 및 의미론

이 함수는 매개변수를 받지 않으며 호출 객체에서 동기식으로 동작합니다. [bitset]의 일반적인 사용법에 대한 명시된 참조에 따르면, 호출 시 포함된 모든 비트를 false(또는 0)로 리셋하고 자체 비트셋 인스턴스(*this)에 대한 참조를 반환하여 메서드 체이닝을 가능하게 할 것으로 추정됩니다. 질문 Q-89116316a65e0772 (열림)

오류 처리 및 예외 안전성

[SWS_CORE_01727]에 따르면 이 함수는 noexcept로 선언되어 있으며 "exception safe" 분류를 갖습니다. 매개변수화된 오버로드와 달리 인덱스 검사가 필요하지 않으므로, 매개변수가 없는 변형에서는 오류 상태나 오류 코드가 발생하지 않습니다.

상호작용 및 구분

  • 동일한 유효 범위 ara::core::Bitset 내에 [SWS_CORE_01728]에 따른 오버로드 reset(std::size_t pos)가 존재합니다. 이는 특정 단일 비트를 대상으로 리셋하지만, Result<Bitset<N>&>을 반환하며 pos가 유효하지 않은 경우 IsoStdOutOfRangeViolation를 보고합니다.
  • 모듈 core에는 #include "ara/core/optional.h"의 [SWS_CORE_01136]에 따른 ara::core::Optional 및 [SWS_CORE_01165]에 따른 ara::core::Optional<T&>에 대해서도 동일한 이름의 함수가 존재하며, 이는 포함된 값을 폐기하고 반환 타입 void을 갖습니다.

이 텍스트는 AI에 의해 생성되었으며 참고용으로 제공됩니다. 오직 AUTOSAR 표준 사양만이 구속력을 갖습니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01727
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01727@rel:R25-11#0d00eff9
Content hash
0d00eff9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01727
Status: valid/unmigrated Version: rel:R25-11#96296e79 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01727@rel:R25-11#96296e79
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 reset [SWS_CORE_01728]

Result< Bitset< N > & > reset (std::size_t pos) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

클래스 ara::core::Bitset의 멤버 함수 reset는 지정된 위치 pos의 단일 비트를 동기식으로 값 0으로 리셋합니다 [SWS_CORE_01728]. 이 함수는 std::bitset의 동작을 따르지만 두 가지 중요한 차이점이 있습니다. 즉, noexcept로 선언되어 있으며 C++ 예외 없이 오류 상황을 나타내기 위해 결과를 Result<Bitset<N>&>으로 반환합니다 [SWS_CORE_01728].

오류 처리

전달된 인덱스 pos가 비트셋 내의 유효한 비트 위치에 해당하지 않는 경우, std::out_of_range 대신 위반 IsoStdOutOfRangeViolation가 발생합니다 [SWS_CORE_01728]. 이는 오류 발생 시 반환된 Result 객체에 오류 상태로 제공되므로, 유효하지 않은 매개변수 값에도 불구하고 연산은 예외 안전을 유지합니다 [SWS_CORE_01728].

상호작용 및 구분

모듈 core에는 ara::core::Bitset을 위해 컨테이너의 모든 비트를 한 번에 지우고 객체에 대한 참조를 직접 반환하는 매개변수 없는 오버로드 reset()가 추가로 존재합니다 [SWS_CORE_01727]. 또한 관련된 요구사항 [SWS_CORE_01136] 및 [SWS_CORE_01165]는 포함된 값을 폐기하는 ara::core::Optional에 대해 동일한 이름의 메서드를 정의합니다.

동시성

reset는 비트셋의 내부 상태를 수정하므로, 외부 동기화 없이 동일한 인스턴스에 대한 동시 호출은 스레드 안전하지 않을 것으로 추정됩니다(해석: 통상적인 C++ 컨테이너 시맨틱 채택). 질문 Q-e2e1c041eadedf0f (열림)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01728
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01728@rel:R25-11#c340bc29
Content hash
c340bc29
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01728
Status: valid/unmigrated Version: rel:R25-11#69fbce4c Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01728@rel:R25-11#69fbce4c
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 set [SWS_CORE_01725]

Bitset< N > & set () noexcept;

As per corresponding usage in [bitset]

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

ara::core::Bitset 클래스의 동기 멤버 함수 set()은 객체에 포함된 모든 비트를 true([SWS_CORE_01725]) 값으로 설정합니다. 이 동작은 ISO C++ 표준의 std::bitset 동작 방식과 일치하며 헤더 ara/core/bitset.h를 통해 사용할 수 있습니다([SWS_CORE_01725]). 메서드 호출은 매개변수 없이 수행되며 수정된 비트셋(Bitset<N>&)에 대한 lvalue 참조를 반환하므로([SWS_CORE_01725]) 동일한 인스턴스에서 추가 호출을 직접 체이닝할 수 있습니다.

이 연산은 noexcept(으)로 선언되어 있으며 exception safe 특성을 가집니다([SWS_CORE_01725]). 모든 비트를 순회하거나 전체 상태를 설정하므로, 위치 기반 접근과 달리 범위 오류가 발생하지 않습니다. 스레드 안전성에 대해 사양에서는 언급하지 않습니다. 해석: 객체 상태가 직접 변경되므로, 외부 보호 조치가 없다면 동일한 Bitset 인스턴스에 대한 병렬 접근은 동시성 또는 스레드 안전성을 보장하지 못할 것으로 보입니다. 질문 Q-f8c1b5721f668193 (열림)

모듈 core 내의 상호작용에서 이 함수는 오버로드된 변형 set(std::size_t, bool)([SWS_CORE_01726])을 보완합니다. 매개변수가 없는 버전이 전체 필드를 성공적으로 채우는 것을 보장하는 반면, 매개변수화된 버전은 단일 비트를 지정하여 수정하고 타입 Result<Bitset<N>&>을 반환하며 잘못된 위치 인덱스가 전달된 경우 IsoStdOutOfRangeViolation을(를) 통해 신호를 보냅니다([SWS_CORE_01726]).

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01725
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01725@rel:R25-11#c2f6bb14
Content hash
c2f6bb14
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01725
Status: valid/unmigrated Version: rel:R25-11#80248ab7 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01725@rel:R25-11#80248ab7
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 set [SWS_CORE_01726]

Result< Bitset< N > & > set (std::size_t pos, bool val=true) noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

ara::core::Bitset 클래스의 멤버 함수 set은(는) [SWS_CORE_01726]에 따라 지정된 위치 pos의 비트를 val 값으로 수정합니다. 이 함수는 헤더 #include "ara/core/bitset.h"에 선언되어 있으며 동기식 및 예외 안전 방식으로 작동합니다.

std::bitset의 표준 동작과 비교하여 이 함수에는 두 가지 주요 편차가 있습니다([SWS_CORE_01726]):

  • 이 함수는 noexcept(으)로 선언되어 있으며 C++ 예외를 던지지 않습니다.
  • pos이(가) 유효한 비트 위치에 해당하지 않는 경우, std::out_of_range 대신 IsoStdOutOfRangeViolation이(가) 트리거됩니다.

반환값으로 Result<Bitset<N>&>이(가) 제공됩니다([SWS_CORE_01726]). 성공 시 Result에는 수정된 비트셋 객체에 대한 참조가 포함됩니다. pos이(가) 유효한 범위를 벗어나는 경우 Result은(는) 해당 오류 위반을 전달합니다.

모든 비트를 설정하고 Bitset<N>&을(를) 직접 반환하는 매개변수 없는 변형 set()([SWS_CORE_01725])과 달리, 이 위치 기반 오버로드는 범위 오류를 처리하기 위해 Result 객체의 평가를 필요로 합니다([SWS_CORE_01726]).

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01726
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01726@rel:R25-11#895405e1
Content hash
895405e1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01726
Status: valid/unmigrated Version: rel:R25-11#7bc780ef Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01726@rel:R25-11#7bc780ef
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 size [SWS_CORE_01741]

constexpr std::size_t size () const noexcept;

As per corresponding usage in [bitset]

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01741
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01741@rel:R25-11#1e3bb717
Content hash
1e3bb717
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01741
Status: valid/unmigrated Version: rel:R25-11#ae3039b5 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01741@rel:R25-11#ae3039b5
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 test [SWS_CORE_01743]

bool test (std::size_t pos) const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. The function is noexcept 2. If pos does not correspond to a valid bit position, IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

사용

ara::core::Bitset 클래스의 동기식 멤버 함수 test는 [SWS_CORE_01743]에 따라 전달된 위치 pos에 있는 비트의 상태를 확인합니다. 호출 매개변수로는 std::size_t 타입의 원하는 비트 위치 pos가 전달됩니다. 이 함수는 동기식으로 bool 타입의 값을 반환하며, true는 비트가 설정되어 있음을, false는 설정되어 있지 않음을 나타냅니다. Adaptive 플랫폼의 Core 모듈에서 이 함수를 포함하여 사용하려면 헤더 ara/core/bitset.h를 포함해야 합니다 [SWS_CORE_01743].

오류 처리 및 편차

기능적 동작은 기본적으로 std::bitset의 시맨틱을 따르지만 두 가지 주요 시스템별 편차가 존재합니다 [SWS_CORE_01743]:

  • 시그니처가 noexcept로 선언되어 완전한 예외 안전성(exception safe)을 보장합니다 [SWS_CORE_01743].
  • 비트 위치 pos가 객체 내의 유효한 비트 위치에 해당하지 않는 경우, std::out_of_range 타입의 예외 대신 위반 IsoStdOutOfRangeViolation가 발생합니다 [SWS_CORE_01743]. 그 설명은 std::out_of_range의 설명을 따릅니다 [SWS_CORE_01743].

동시성 및 제약사항

이 함수는 const로 지정되어 있으므로 인스턴스를 수정하지 않습니다. 따라서 동일한 Bitset 인스턴스에 대한 다중 동시 읽기 접근은 정상 작동 시 데이터 충돌 없이 수행될 수 있을 것으로 보입니다(해석). 질문 Q-585dbdfefac63391 (열림) 동일한 인스턴스에서 쓰기 수정이 동시에 발생하는 경우, 호출자에 의한 외부 동기화가 필요할 것으로 추정됩니다.

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOut- Description as per std::out_of_range. OfRangeViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01743
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01743@rel:R25-11#dada6ba2
Content hash
dada6ba2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01743
Status: valid/unmigrated Version: rel:R25-11#7808abe9 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01743@rel:R25-11#7808abe9
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 to_string [SWS_CORE_01751]

template <class Allocator = std::allocator<char>> BasicString< Allocator > to_string (char zero=char(’0’), char one=char(’1’)) const;

As per corresponding usage in [bitset] except for the following deviations: 1. Template arguments have been adapted to ara::core::BasicString in place of std:: basic_string

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitnot exception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01751
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01751@rel:R25-11#d64653e5
Content hash
d64653e5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01751
Status: valid/unmigrated Version: rel:R25-11#9191cb39 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01751@rel:R25-11#9191cb39
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 to_uint16t [SWS_CORE_01737] Upstream: RS_AP_00130

constexpr std::uint16_t to_uint16t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint16_t from [SWS_APT_00025]

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

ara::core::Bitset 클래스의 멤버 함수 to_uint16t는 Bitset의 내용을 std::uint16_t 타입의 정수 값으로 변환합니다([SWS_CORE_01737], [SWS_APT_00025]). 이는 AUTOSAR 전용 확장을 나타내며 ISO C++ 표준 ISO-14882에는 포함되어 있지 않습니다([SWS_CORE_01737]). 동기식 호출은 헤더 ara/core/bitset.h를 통해 제공됩니다([SWS_CORE_01737]).

생성된 반환값에서 Bitset의 첫 번째 비트는 숫자의 최하위 비트(least significant bit)에 해당하고 마지막 비트는 최상위 비트(most significant bit)에 해당합니다([SWS_CORE_01737]). 이 메서드는 constexpr로 지정되어 있으므로 상수 인스턴스에 대해 컴파일 타임에도 평가될 수 있습니다([SWS_CORE_01737]).

이 연산은 thread-safe 및 exception safe로 지정되어 있습니다([SWS_CORE_01737]). 비트 값을 std::uint16_t의 값 범위로 표현할 수 없는 경우 IsoStdOverflowErrorViolation가 발생합니다([SWS_CORE_01737]). 해석: noexcept 선언으로 인해 이 위반은 일반적인 C++ 예외를 통해 보고되지 않고 처리를 위해 플랫폼 전용 Violation 메커니즘을 거칠 것으로 보입니다. 질문 Q-785057e36fb7e434 (열림)

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint16_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01737
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01737@rel:R25-11#f9ef19b9
Content hash
f9ef19b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01737
Status: valid/unmigrated Version: rel:R25-11#0c41ce4c Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01737@rel:R25-11#0c41ce4c
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 to_uint32t [SWS_CORE_01738] Upstream: RS_AP_00130

constexpr std::uint32_t to_uint32t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ulong but explicitly using the std::uint32_t type from [SWS_APT_00028]

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

사용법 및 의미론

메서드 to_uint32t은(는) 헤더 ara/core/bitset.h을(를) 통해 제공되는 ara::core::Bitset 클래스의 매개변수가 없는 동기 멤버 함수입니다 [SWS_CORE_01738]. 이 메서드는 비트셋 인스턴스의 비트를 std::uint32_t 타입의 부호 없는 32비트 정수 값으로 변환합니다 [SWS_CORE_01738]. 이 함수는 ISO-14882에 포함되어 있지 않으며, [SWS_APT_00028]의 데이터 타입 std::uint32_t을(를) 명시적으로 사용하는 ara::core::Bitset::to_ulong에 대한 AUTOSAR 고유의 별칭으로 정의되어 있습니다 [SWS_CORE_01738]. 비트 시퀀스 매핑 시 비트셋의 첫 번째 비트는 반환값의 최하위 비트(least significant bit)에 해당하고, 마지막 비트는 최상위 비트(most significant bit)에 해당합니다 [SWS_CORE_01738].

오류 처리 및 제약 조건

오류 발생 시 사양은 설정된 비트에 해당하는 정수 값을 반환 타입의 값 범위 내에서 표현할 수 없을 때 발생하는 위반 IsoStdOverflowErrorViolation을(를) 정의합니다 [SWS_CORE_01738].

동시성 및 실행 컨텍스트

이 함수는 constexpr 및 noexcept(으)로 선언되어 있습니다 [SWS_CORE_01738]. 실행 안전성과 관련하여 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 지정되어 있습니다 [SWS_CORE_01738].

이 사용 지침은 명세를 기반으로 자동 생성되었습니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint32_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01738
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01738@rel:R25-11#5c74eb3f
Content hash
5c74eb3f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01738
Status: valid/unmigrated Version: rel:R25-11#61be4d07 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01738@rel:R25-11#61be4d07
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 to_uint64t [SWS_CORE_01739] Upstream: RS_AP_00130

constexpr std::uint64_t to_uint64t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Alias for ara::core::Bitset::to_ullong but explicitly using the std::uint64_t type from [SWS_APT_00031]

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

사용

ara::core::Bitset 클래스의 멤버 함수 to_uint64t은(는) 비트셋에 포함된 비트를 std::uint64_t 타입의 정수 값으로 동기식으로 변환합니다([SWS_CORE_01739]). 이 연산은 AUTOSAR 고유의 확장이며 ISO-14882에는 정의되어 있지 않습니다([SWS_CORE_01739]). 이 연산은 ara::core::Bitset::to_ullong 메서드의 별칭으로 작동하지만, [SWS_APT_00031]에 따른 std::uint64_t 타입을 구속력 있게 명시적으로 사용합니다([SWS_CORE_01739]). 선언은 헤더 파일 #include "ara/core/bitset.h"을(를) 통해 제공됩니다([SWS_CORE_01739]).

반환값의 비트 단위 매핑의 경우, 비트셋의 첫 번째 비트는 생성된 값의 최하위 비트(least significant bit)에 해당하고 마지막 비트는 최상위 비트(most significant bit)에 할당됩니다([SWS_CORE_01739]). constexpr 한정 덕분에 평가는 런타임뿐만 아니라 컴파일 타임의 상수 표현식에서도 수행될 수 있습니다([SWS_CORE_01739]).

오류 처리 및 동시성

실행 안전성과 관련하여 이 함수는 noexcept(으)로 선언되어 있으며, 예외 안전(exception safe)으로 분류되고 제한 없이 스레드 안전(thread-safe)하게 호출할 수 있습니다([SWS_CORE_01739]). 비트에 해당하는 정수 값을 대상 타입으로 표현할 수 없는 경우 오류 사례 IsoStdOverflowErrorViolation이(가) 발생합니다([SWS_CORE_01739]). 인터페이스는 상위 요구사항 [RS_AP_00130]을(를) 충족합니다.

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

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint64_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01739
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01739@rel:R25-11#dabc0d3d
Content hash
dabc0d3d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01739
Status: valid/unmigrated Version: rel:R25-11#162ea888 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01739@rel:R25-11#162ea888
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 to_uint8t [SWS_CORE_01736] Upstream: RS_AP_00130

constexpr std::uint8_t to_uint8t () const noexcept;

[AUTOSAR defined] not present in ISO-14882. Converts the contents of the bitset to a std:: uint8_t from [SWS_APT_00022]

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

사용

ara::core::Bitset 클래스의 멤버 함수 to_uint8t는 저장된 Bitset 내용을 [SWS_CORE_01736] 및 [SWS_APT_00022]에 따라 std::uint8_t 타입의 부호 없는 8비트 정수 값으로 동기식으로 변환합니다. 이는 ISO-14882 표준에는 존재하지 않는 AUTOSAR 전용 기능 확장입니다 [SWS_CORE_01736]. 이 함수는 헤더 ara/core/bitset.h를 통해 제공되며, 매개변수가 없고 constexpr 및 noexcept로 선언되어 있습니다 [SWS_CORE_01736]. 이때 비트 시퀀스의 첫 번째 비트는 반환되는 값의 최하위 비트(LSB)에 해당하고 마지막 비트는 최상위 비트(MSB)에 해당합니다 [SWS_CORE_01736].

오류 처리

Bitset의 비트에 해당하는 정수 값을 대상 타입 std::uint8_t로 표현할 수 없는 경우 위반 IsoStdOverflowErrorViolation가 발생합니다 [SWS_CORE_01736]. noexcept 선언에도 불구하고 이 함수는 예외 안전성과 관련하여 exception safe로 지정되어 있습니다 [SWS_CORE_01736].

동시성 및 상호 작용

const 멤버 함수로서 to_uint8t는 명시적으로 thread-safe로 선언되어 있어 [SWS_CORE_01736], 여러 스레드에서 동일한 인스턴스로 병렬 읽기 접근하는 것이 안전합니다. 대상 타입의 표현은 [SWS_APT_00022]의 규정을 따릅니다.

이 사용 지침은 AUTOSAR Adaptive 릴리스 R25-11의 사양을 바탕으로 자동 작성되었습니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdOverflowEr- If the integral value x corresponding to the bits in the bitset cannot rorViolation be represented as the return type

Rückgabewert

TypBeschreibung
std::uint8_tThe bits in the bitset, whereby the first bit of the bitset corresponds to the least significant bit of the returned number and the last bit corresponds to the most significant bit

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

Record
AUTOSAR/AP/record/SWS_CORE_01736
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01736@rel:R25-11#94dd6df5
Content hash
94dd6df5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01736
Status: valid/unmigrated Version: rel:R25-11#c8fcd783 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01736@rel:R25-11#c8fcd783
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 to_ullong [SWS_CORE_01735]

constexpr unsigned long long to_ullong () const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error

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

ara::core::Bitset 클래스의 멤버 함수 to_ullong는 저장된 비트 시퀀스를 unsigned long long 타입의 정수 값으로 동기식으로 변환합니다 [SWS_CORE_01735]. 이 함수는 헤더 #include "ara/core/bitset.h"에 정의되어 있으며, ISO 표준 std::bitset에 비해 constexpr 및 noexcept로 선언되어 있습니다 [SWS_CORE_01735].

오류 처리 및 예외 동작과 관련하여 다음 규정이 적용됩니다:

  • 오버플로 처리: 설정된 비트로 표현되는 정수 값을 반환 타입으로 표현할 수 없는 경우, std::overflow_error 예외 대신 위반 IsoStdOverflowErrorViolation가 발생합니다 [SWS_CORE_01735].
  • 예외 안전성: 이 함수는 exception safe로 분류되며, noexcept 사양에 따라 C++ 예외를 발생시키지 않습니다 [SWS_CORE_01735].

다른 인터페이스와의 상호작용에서 AUTOSAR Adaptive는 to_ullong의 직접적인 별칭으로 동작하지만 명시적으로 고정 너비 타입 std::uint64_t를 반환하는 타입화된 대안인 to_uint64t를 제공합니다 [SWS_CORE_01739]. 두 함수 모두 Bitset의 첫 번째 비트는 결과 숫자 값의 최하위 비트(LSB)에 해당하고 마지막 비트는 최상위 비트(MSB)에 해당합니다 [SWS_CORE_01739]. to_ullong는 const 멤버 함수이고 기능적으로 동등한 요소가 thread-safe로 지정되어 있으므로, 동일한 인스턴스에 대한 동시 읽기 호출 역시 스레드 안전할 것으로 보입니다 [SWS_CORE_01739]. 질문 Q-075766fabc193ce8 (열림)

이 사용 참고 사항은 자동으로 생성되었으며 AUTOSAR Adaptive R25-11 사양 버전을 기반으로 합니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOverflowEr- Description as per std::overflow_error rorViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01735
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01735@rel:R25-11#d81adb9b
Content hash
d81adb9b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01735
Status: valid/unmigrated Version: rel:R25-11#56e54640 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01735@rel:R25-11#56e54640
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 to_ulong [SWS_CORE_01734]

constexpr unsigned long to_ulong () const noexcept;

As per corresponding usage in [bitset] except for the following deviations: 1. Function is constexpr 2. The function is noexcept 3. If the integral value x corresponding to the bits in the bitset cannot be represented as the return type, IsoStdOverflowErrorViolation is raised instead of std:: overflow_error

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

멤버 함수 ara::core::Bitset::to_ulong는 Bitset 인스턴스의 설정된 비트들을 unsigned long 타입의 정수 값으로 동기식으로 변환합니다 [SWS_CORE_01734]. 이 함수는 헤더 파일 ara/core/bitset.h를 필요로 하며 ara::core::Bitset 클래스의 스코프에 속합니다 [SWS_CORE_01734]. 시그니처 constexpr unsigned long to_ulong() const noexcept;로 선언되어 있어 런타임뿐만 아니라 상수 표현식 내에서 컴파일 타임에도 평가될 수 있습니다 [SWS_CORE_01734].

오류 동작 시 이 함수는 ISO 표준 std::bitset과 크게 다릅니다. 비트에 해당하는 정수 값을 반환 타입 unsigned long로 표현할 수 없는 경우, std::overflow_error 타입의 예외 대신 IsoStdOverflowErrorViolation가 발생합니다 [SWS_CORE_01734]. 이러한 위반 조건에도 불구하고 이 함수는 noexcept로 선언되어 있으며 형식적으로 예외 안전(exception safe)으로 간주됩니다 [SWS_CORE_01734].

추가 변환 함수와의 상호작용에서 AUTOSAR Adaptive는 to_ulong의 별칭으로 동작하지만 정확한 타입으로 std::uint32_t를 반환하는 직접적인 대등 요소인 to_uint32t를 제공합니다 [SWS_CORE_01738]. 동시성과 관련하여, 이 메서드는 const로 정의되어 있고 해당 요구사항 to_uint32t가 명시적으로 thread-safe로 표시되어 있으므로 동일한 Bitset에 대한 병렬 읽기 접근 시 스레드 안전할 것으로 보입니다(해석) [SWS_CORE_01738]. 질문 Q-59f95b86801a697d (열림)

이 사용 참고사항은 AUTOSAR 사양 R25-11을 바탕으로 자동 작성되었습니다.

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
Exception-Sicherheitexception safe
Verletzungen (Violations)IsoStdOverflowEr- Description as per std::overflow_error rorViolation

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

Record
AUTOSAR/AP/record/SWS_CORE_01734
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01734@rel:R25-11#d2be5a31
Content hash
d2be5a31
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01734
Status: valid/unmigrated Version: rel:R25-11#1b6a5b2d Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01734@rel:R25-11#1b6a5b2d
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ~Bitset [SWS_CORE_01718] Upstream: RS_AP_00130

~Bitset () noexcept;

[AUTOSAR defined] not present in ISO-14882. Destructor

Header-Datei#include "ara/core/bitset.h"
Scopeclass ara::core::Bitset
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_01718
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01718@rel:R25-11#285fd248
Content hash
285fd248
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01718
Status: valid/unmigrated Version: rel:R25-11#169f86ea Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01718@rel:R25-11#169f86ea
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill