DEENESPTFRRUARHIKOZHNL

klasse 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

User GuideAI-GEGENEREERD

Biedt een aan de standaard conforme, typeveilige bitveld-abstractie van vaste grootte met noexcept-garanties voor Adaptive Core.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: ae7240ca6617 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Biedt een aan de standaard conforme, typeveilige bitveld-abstractie van vaste grootte met noexcept-garanties voor Adaptive Core.

De klassetemplate ara::core::Bitset stelt een aan AUTOSAR Adaptive aangepaste implementatie van std::bitset voor bitsequenties van vaste grootte beschikbaar [SWS_CORE_01741]. Deze biedt uitgebreide operaties voor bitmanipulatie, logische bewerkingen en geoptimaliseerde conversies naar scalaire integer-typen met strikte noexcept-garanties [SWS_CORE_01738]. Positiegebaseerde modificaties melden ongeldige indices via ara::core::Result in plaats van C++-excepties, terwijl conversies overloopfouten deterministisch afhandelen. Daardoor is de klasse bij uitstek geschikt voor bronefficiënte en uitvalveilige ECU-functies.

Context

De template-klasse ara::core::Bitset stelt binnen het Adaptive Platform een implementatie van het C++-standaardtype std::bitset beschikbaar voor bitreeksen met een tijdens compilatietijd vastgelegde lengte N [SWS_CORE_01741]. In het AUTOSAR-ecosysteem dient de klasse voor de performante en typeveilige hantering van bitvelden, statusmaskers en vlagregisters op ECU's. Deze integreert naadloos in het typesysteem van de module core doordat zij in plaats van std::basic_string het platformspecifieke type ara::core::BasicString ondersteunt [SWS_CORE_01749], [SWS_CORE_01751]. Bovendien breidt AUTOSAR de gestandaardiseerde interface uit met specifieke conversiefuncties naar unsigned integer-typen met vaste breedte zoals std::uint8_t, std::uint16_t, std::uint32_t en std::uint64_t [SWS_CORE_01736], [SWS_CORE_01737], [SWS_CORE_01738], [SWS_CORE_01739].

Levenscyclus

Het aanmaken van een instantie gebeurt flexibel via meerdere constructors. De standaardconstructor initialiseert alle N bits als nulwaarden en is gedeclareerd als constexpr en noexcept [SWS_CORE_01713]. Als alternatief kan een bitset vanuit een scalaire waarde van het type unsigned long long [SWS_CORE_01719] of op tekstbasis vanuit ara::core::BasicString [SWS_CORE_01749] respectievelijk een nul-getermineerde tekenreekspointer const CharT* [SWS_CORE_01750] worden geïnstantieerd. Copy- en move-constructors zijn aanwezig en gedefinieerd als noexcept=default [SWS_CORE_01714], [SWS_CORE_01716]. Eveneens worden de overeenkomstige toekenningsoperators aangeboden [SWS_CORE_01715], [SWS_CORE_01717]. De destructor is gespecificeerd als noexcept en thread-safe [SWS_CORE_01718]. Wat betreft gelijktijdigheid zijn de integer-conversiefuncties eveneens thread-safe [SWS_CORE_01736], [SWS_CORE_01737], terwijl modificerende toegangen tot dezelfde bitset-instantie moeten worden gesynchroniseerd.

Gebruikspad

Een typisch gebruikstraject omvat de instantiëring, de aansluitende manipulatie van afzonderlijke bits of bitmaskers en de uiteindelijke evaluatie of conversie van het bitveld:

Typischer Nutzungspfad von ara::core::BitsetAnwendungara::core::BitsetUse Case: InitialisierungBitset(val)Instanz erzeugtUse Case: Bit-Manipulationset(pos, true)Result<Bitset&>flip()Bitset&Use Case: Statuscontrole en conversietest(pos)boolto_uint32t()std::uint32_t Wert

Sequentiediagram: Typische interactievolgorde bij initialisatie, manipulatie, evaluatie en conversie van een bitset. Bronnen: [SWS_CORE_01719], [SWS_CORE_01726], [SWS_CORE_01730], [SWS_CORE_01743], [SWS_CORE_01738]

Foutscenario's

In tegenstelling tot std::bitset gebruikt ara::core::Bitset een fouttolerant, deterministisch foutafhandelingsconcept zonder excepties (noexcept):

  • Bereikoverschrijding bij positietoegang: Bij de manipulerende functies set(pos) [SWS_CORE_01726], reset(pos) [SWS_CORE_01728] en flip(pos) [SWS_CORE_01731] wordt het retourtype Result<Bitset<N>&> gebruikt. Ligt pos buiten het geldige bereik, dan wordt IsoStdOutOfRangeViolation gemeld in plaats van std::out_of_range. Interpretatie: Het consequente gebruik van ara::core::Result en noexcept dient vermoedelijk ter naleving van de strikte no-exception-richtlijnen in veiligheidskritieke delen van het Adaptive Platform. Vraag Q-322c53fff705bce6 (open) Ook de controlefunctie test(pos) wijst bij een ongeldige pos op IsoStdOutOfRangeViolation [SWS_CORE_01743].
  • Ongeldige tekenreeksen: Bij constructie vanuit ara::core::BasicString [SWS_CORE_01749] wordt bij pos > size() een IsoStdOutOfRangeViolation en bij tekens ongelijk aan 0 respectievelijk 1 een IsoStdInvalidArgumentViolation (in plaats van std::invalid_argument) geactiveerd.
  • Numerieke overloop: Indien de gerepresenteerde bitstatus niet in het gevraagde doeltype kan worden afgebeeld, melden de conversiefuncties 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] en to_ullong [SWS_CORE_01735] telkens IsoStdOverflowErrorViolation in plaats van std::overflow_error.
  • Beperkte exceptieveiligheid: Terwijl de meeste operaties noexcept en exceptieveilig zijn, zijn de constructie vanuit pointers const CharT* [SWS_CORE_01750] evenals de export via to_string [SWS_CORE_01751] uitdrukkelijk als niet-exceptieveilig (not exception safe) geclassificeerd.

Deze klassehandleiding is gebaseerd op de specificatie AUTOSAR Adaptive Release R25-11 en is geautomatiseerd gegenereerd.

Ledenkaart

Klassendiagram

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

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

Bitset functie 6

≙ [bitset]

Overloads 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 functie

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

~Bitset () noexcept;

Methoden

all functie

≙ [bitset]

bool all () const noexcept;
any functie

≙ [bitset]

bool any () const noexcept;
count functie

≙ [bitset]

std::size_t count () const noexcept;
flip functie 2

≙ [bitset]

Overloads flip 2
Bitset< N > & flip () noexcept; SWS_CORE_01730
Result< Bitset< N > & > flip (std::size_t pos) noexcept; SWS_CORE_01731
none functie

≙ [bitset]

bool none () const noexcept;
reset functie 2

≙ [bitset]

Overloads reset 2
Bitset< N > & reset () noexcept; SWS_CORE_01727
Result< Bitset< N > & > reset (std::size_t pos) noexcept; SWS_CORE_01728
set functie 2

≙ [bitset]

Overloads 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 functie

≙ [bitset]

constexpr std::size_t size () const noexcept;
test functie

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 functie

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 functie

[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 functie

[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 functie

[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 functie

[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 functie

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 functie

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;

Operatoren

operator&= functie

≙ [bitset]

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

≙ [bitset]

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

≙ [bitset]

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

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

Overloads = 2
Bitset & operator= (const Bitset &) noexcept=default; SWS_CORE_01715
Bitset & operator= (Bitset &&) noexcept=default; SWS_CORE_01717
operator== functie

≙ [bitset]

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

≙ [bitset]

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

≙ [bitset]

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

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

Overloads [] 2
constexpr bool operator[] (std::size_t pos) const noexcept; SWS_CORE_01732
reference operator[] (std::size_t pos) noexcept; SWS_CORE_01733
operator|= functie

≙ [bitset]

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

≙ [bitset]

Bitset< N > operator~ () const noexcept;
operatorˆ= functie

≙ [bitset]

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

Geneste typen

reference klasse

Documentatie van de methoden

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

functie 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#57353136
Content hash
57353136
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

functie 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#78dbb22d
Content hash
78dbb22d
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

functie 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#f6423165
Content hash
f6423165
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

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

functie 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#fc56501d
Content hash
fc56501d
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

functie all [SWS_CORE_01744]

bool all () const noexcept;

As per corresponding usage in [bitset]

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

De memberfunctie [SWS_CORE_01744] behoort tot de klasse ara::core::Bitset en wordt beschikbaar gesteld via het headerbestand #include "ara/core/bitset.h". De functie heeft de signatuur bool all () const noexcept;, accepteert geen parameters en levert synchroon een waarheidswaarde terug. De semantiek is volgens de specificatie ontleend aan het overeenkomstige gebruik in [bitset]; interpretatie: de methode controleert vermoedelijk of alle bits van de instantie gezet zijn (de waarde true hebben). Vraag Q-a4f0f8970bd2c9bb (open)

Wat betreft foutafhandeling is de functie gedeclareerd als noexcept en gespecificeerd als uitzonderingsveilig (exception safe) [SWS_CORE_01744]. Aangezien er geen fouttoestanden worden gemeld en de uitvoering gegarandeerd foutloos verloopt, zijn foutcodes uit ara::core::CoreErrc hier niet van toepassing.

Voor de aanroepcontext en gelijktijdigheid gelden de volgende randvoorwaarden:

  • De bewerking is gedeclareerd als const en wijzigt de toestand van het aanroepende ara::core::Bitset-object niet [SWS_CORE_01744].
  • Gelijktijdige leestoegangen via meerdere threads zijn vermoedelijk zonder synchronisatie toegestaan, zolang geen andere thread hetzelfde geheugengebied schrijvend wijzigt. Vraag Q-d9f1f92a120128b5 (open)

Deze inhoud is door een AI gegenereerd op basis van de AUTOSAR-specificatie 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_01744
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01744@rel:R25-11#71afdf85
Content hash
71afdf85
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

functie any [SWS_CORE_01745]

bool any () const noexcept;

As per corresponding usage in [bitset]

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

De memberfunctie any() van ara::core::Bitset dient voor het synchroon opvragen van de bezettingstoestand van de in de bitset beheerde bits [SWS_CORE_01745]. Het gedrag richt zich volgens de specificatie naar het corresponderende gebruik van het ISO-C++-klassentemplate [bitset] [SWS_CORE_01745]. Interpretatie: De functie levert true op mits ten minste één bit gezet is, en false wanneer alle bits niet gezet zijn. Vraag Q-20c2aaf905d4a338 (open)

Wat betreft gebruik, uitvoeringscontext en foutgedrag gelden de volgende bepalingen:

  • Aanroep en parameters: De methode wordt parameterloos aangeroepen op een bestaande instantie, die bijvoorbeeld vooraf via de constructor is geïnitialiseerd [SWS_CORE_01749]. De aanroep vindt synchroon plaats en geeft het controleresultaat direct terug als bool [SWS_CORE_01745].
  • Foutafhandeling: De functie is gedeclareerd als noexcept en geclassificeerd als uitzonderingsveilig (exception safe) [SWS_CORE_01745]. Er worden noch foutcodes noch DET-/DEM-meldingen gegenereerd; het mislukken van de bewerking is in de AUTOSAR-standaard niet voorzien.
  • Gelijktijdigheid: Door de const-kwalificatie wijzigt de methode de instantie niet [SWS_CORE_01745]. Vermoedelijk zijn parallelle leestoegangen tot dezelfde instantie veilig, terwijl concurrerende schrijftoegangen door de aanroeper moeten worden gesynchroniseerd. Vraag Q-34893675aa85baf1 (open)

In de modulecontext van core biedt any() een elementaire inspectiefunctie voor bitsets, die naadloos samenwerkt met de initialisatie- en opslagmechanismen van ara::core::Bitset [SWS_CORE_01745], [SWS_CORE_01749].

Deze gebruiksinstructie is automatisch gegenereerd op basis van de specificatie van 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#06caa532
Content hash
06caa532
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

functie count [SWS_CORE_01740]

std::size_t count () const noexcept;

As per corresponding usage in [bitset]

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

Gebruik en semantiek

De memberfunctie count wordt synchroon en parameterloos aangeroepen op een instantie van ara::core::Bitset ([SWS_CORE_01740]). Deze is gedeclareerd in de header #include "ara/core/bitset.h" en levert het telresultaat op als retourwaarde van het type std::size_t ([SWS_CORE_01740]). Het functionele gedrag richt zich naar de referentie [bitset] ([SWS_CORE_01740]); de waarde komt daarom vermoedelijk overeen met het totale aantal gezette bits. Vraag Q-36c593b234f55695 (open)

Foutafhandeling en gelijktijdigheid

De functie is gespecificeerd als noexcept en geldt als exception safe ([SWS_CORE_01740]). Er worden geen exceptions geactiveerd noch foutcodes geretourneerd, en meldingen aan DET of DEM zijn voor dit element niet voorzien. Aangezien count is gedeclareerd als constante memberfunctie (const) ([SWS_CORE_01740]), wijzigt de aanroep de toestand van het object niet. Parallelle leestoegangen tot dezelfde instantie zijn derhalve vermoedelijk gelijktijdig uitvoerbaar, mits er geen conflicterende schrijftoegangen plaatsvinden. Vraag Q-073bc3bbcb918763 (open)

Interactie en afbakening

In de namespace ara::core dient de functie duidelijk te worden gescheiden van andere elementen:

Deze tekst is automatisch gegenereerd op basis van de specificatiegegevens van AUTOSAR Release 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#ad4f405b
Content hash
ad4f405b
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

functie flip [SWS_CORE_01730]

Bitset< N > & flip () noexcept;

As per corresponding usage in [bitset]

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

Gebruik

De lidfunctie flip() van de klasse ara::core::Bitset inverteert synchroon de toestand van alle bits van de instantie volgens het gedrag van [bitset] [SWS_CORE_01730]. De functie wordt via de header #include "ara/core/bitset.h" aangeboden, accepteert geen parameters en retourneert een lvalue-referentie naar het gemodificeerde object (Bitset<N>&), wat het aaneenschakelen van bewerkingen mogelijk maakt [SWS_CORE_01730].

Foutafhandeling en exception-veiligheid

De functie is gedeclareerd als noexcept en gespecificeerd als uitzonderingsveilig („exception safe”) [SWS_CORE_01730]. Er worden noch C++-excepties geworpen, noch foutcodes geretourneerd; de uitvoering zal daarom vermoedelijk altijd foutloos verlopen. Vraag Q-df762b6329a2c0d4 (open)

Samenspel

De module core definieert verwante varianten voor bitmanipulatie:

  • De overbelaste methode flip(std::size_t pos) dient voor het doelgericht inverteren van een afzonderlijke bit op index pos [SWS_CORE_01731]. In tegenstelling tot de parameterloze vorm retourneert deze een Result<Bitset<N>&> en signaleert ongeldige posities via IsoStdOutOfRangeViolation [SWS_CORE_01731].
  • Via de referentieklasse ara::core::Bitset<N>::reference is de lidfunctie flip() beschikbaar om een afzonderlijke gereferentieerde bit te inverteren en een reference& te retourneren [SWS_CORE_01712].

Deze gebruiksinstructie is geautomatiseerd opgesteld en baseert zich uitsluitend op de specificatie van 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#51238cb8
Content hash
51238cb8
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

functie 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

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

De lidfunctie flip van de klasse ara::core::Bitset inverteert synchroon de toestand van de bit op de doorgegeven positie pos [SWS_CORE_01731]. Deze is gedefinieerd in header #include "ara/core/bitset.h" en baseert zich op het gedrag van std::bitset::flip, maar vertoont specifieke functionele afwijkingen [SWS_CORE_01731].

De functie is gedeclareerd als noexcept alsook exception safe en retourneert bij succes een referentie naar de gemodificeerde bitset binnen een Result<Bitset<N>&> [SWS_CORE_01731]. Als de parameter pos niet overeenkomt met een geldige bitpositie, wordt in plaats van een C++-exceptie zoals std::out_of_range de schending IsoStdOutOfRangeViolation geactiveerd [SWS_CORE_01731].

Met betrekking tot gelijktijdigheid mag worden aangenomen dat gelijktijdige aanroepen op dezelfde bitset-instantie bij gebrek aan gedocumenteerde synchronisatie niet thread-safe zijn en extern moeten worden gecoördineerd. Vraag Q-de73bb65d6aab12c (open)

In de module core vult de functie verdere verwante bewerkingen aan: voor het synchroon inverteren van alle bits van een instantie is de parameterloze overloading flip() beschikbaar [SWS_CORE_01730], terwijl voor bit-referentieobjecten de methode ara::core::Bitset::reference::flip() ter beschikking staat [SWS_CORE_01712].

Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van de AUTOSAR Adaptive-release 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#69c6757d
Content hash
69c6757d
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

functie none [SWS_CORE_01746]

bool none () const noexcept;

As per corresponding usage in [bitset]

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

Gebruik

De memberfunctie none van de klasse ara::core::Bitset dient voor het opvragen van de bezettingstoestand van de bitreeks [SWS_CORE_01746]. De methode vereist het invoegen van de header ara/core/bitset.h en heeft de signatuur bool none () const noexcept; [SWS_CORE_01746]. De aanroep geschiedt synchroon en parameterloos op een bestaande instantie. De specificatie verwijst wat betreft gedrag naar het overeenkomstige gebruik in [bitset] [SWS_CORE_01746]; interpretatie: de methode levert vermoedelijk precies dan true terug wanneer geen enkel bit binnen de bitreeks gezet is (oftewel alle bits false zijn), anders false. Vraag Q-de8593251c7748d5 (open)

Foutafhandeling en exception-veiligheid

Voor none zijn noch foutcodes noch afzonderlijke fouttoestanden gedefinieerd. Volgens de specificatie is de functie gedeclareerd als noexcept en heeft deze de classificatie uitzonderingsveilig (exception safe) [SWS_CORE_01746]. In geval van fouten of tijdens de uitvoering treden zodoende geen C++-exceptions op.

Gelijktijdigheid en beperkingen

Aangezien none gedeclareerd is als const [SWS_CORE_01746], wijzigt de methode-aanroep de interne toestand van het object niet. Parallelle lezende aanroepen op hetzelfde Bitset-object zijn daarom vermoedelijk gelijktijdig niet-kritiek en re-entrant, mits er geen gelijktijdige schrijvende modificaties op dezelfde instantie plaatsvinden. Vraag Q-cf92e9abf57e9678 (open)

Deze gebruiksinstructie is automatisch gegenereerd door een AI-assistent en is gebaseerd op de vereisten van de specificatie.

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#24a644ff
Content hash
24a644ff
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

functie 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#b1fd3c5d
Content hash
b1fd3c5d
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

functie 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#6b9e2639
Content hash
6b9e2639
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

functie 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#51ce1a46
Content hash
51ce1a46
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

functie 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#ebb79f32
Content hash
ebb79f32
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

functie 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#ddc87444
Content hash
ddc87444
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

functie 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#0c0d5a4d
Content hash
0c0d5a4d
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

functie 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#aa323001
Content hash
aa323001
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

functie 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#96175c42
Content hash
96175c42
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

functie 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#8cebbe4d
Content hash
8cebbe4d
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

functie 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#8b51a72c
Content hash
8b51a72c
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

functie 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#1cabb4ff
Content hash
1cabb4ff
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

functie 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#37f82fb6
Content hash
37f82fb6
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

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

functie reset [SWS_CORE_01727]

Bitset< N > & reset () noexcept;

As per corresponding usage in [bitset]

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

De elementfunctie reset() stelt conform specificatie [SWS_CORE_01727] de toestand van een instantie van ara::core::Bitset opnieuw in. De functie wordt beschikbaar gesteld via het headerbestand #include "ara/core/bitset.h" en heeft de signatuur Bitset<N>& reset() noexcept;.

Gebruik en semantiek

De functie accepteert geen parameters en werkt synchroon op het aanroepende object. Door de gespecificeerde verwijzing naar het gebruikelijke gebruik in [bitset] stelt de aanroep vermoedelijk alle aanwezige bits opnieuw in op false (resp. 0) en retourneert deze een referentie naar de eigen bitset-instantie (*this), wat methodeketens mogelijk maakt. Vraag Q-89116316a65e0772 (open)

Foutafhandeling en uitzonderingsveiligheid

Conform [SWS_CORE_01727] is de functie gedeclareerd als noexcept en bezit deze de classificatie „exception safe”. Aangezien er in tegenstelling tot de geparametriseerde overload geen indexcontrole vereist is, treden er bij de parameterloze variant geen fouttoestanden of foutcodes op.

Interactie en afbakening

  • Binnen hetzelfde geldigheidsbereik ara::core::Bitset bestaat de overload reset(std::size_t pos) volgens [SWS_CORE_01728]. Deze stelt gericht één enkele bit opnieuw in, maar levert een Result<Bitset<N>&> op en meldt een IsoStdOutOfRangeViolation als pos ongeldig is.
  • Functies met dezelfde naam bestaan in de module core ook voor ara::core::Optional conform [SWS_CORE_01136] en ara::core::Optional<T&> conform [SWS_CORE_01165] uit #include "ara/core/optional.h", die de aanwezige waarde verwerpen en het retourtype void vertonen.

Deze tekst is gegenereerd door een AI en dient als oriëntatiehulp. Uitsluitend de specificaties van de AUTOSAR-standaard zijn bindend.

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

functie 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

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

De elementfunctie reset van de klasse ara::core::Bitset stelt een enkele bit op de opgegeven positie pos synchroon opnieuw in op de waarde 0 [SWS_CORE_01728]. De functie volgt het gedrag van std::bitset, maar vertoont twee wezenlijke afwijkingen: deze is gedeclareerd als noexcept en retourneert het resultaat in een Result<Bitset<N>&> om foutsituaties zonder C++-excepties weer te geven [SWS_CORE_01728].

Foutafhandeling

Indien de doorgegeven index pos met geen enkele geldige bitpositie binnen de bitset overeenkomt, wordt in plaats van std::out_of_range de schending IsoStdOutOfRangeViolation gegenereerd [SWS_CORE_01728]. Deze wordt in geval van een fout als fouttoestand beschikbaar gesteld in het geretourneerde Result-object, zodat de operatie ondanks een ongeldige parameterwaarde exceptieveilig blijft [SWS_CORE_01728].

Interactie en afbakening

In module core bestaat voor ara::core::Bitset ter aanvulling de parameterloze overload reset(), die alle bits van de container tegelijk wist en direct een referentie naar het object oplevert [SWS_CORE_01727]. Bovendien definiëren de verwante eisen [SWS_CORE_01136] en [SWS_CORE_01165] een methode met dezelfde naam voor ara::core::Optional, die aldaar de aanwezige waarde verwijdert.

Concurrency

Aangezien reset de interne toestand van de bitset wijzigt, is een gelijktijdige aanroep op dezelfde instantie zonder externe synchronisatie vermoedelijk niet thread-safe (interpretatie: overname van de gebruikelijke C++-containersemantiek). Vraag Q-e2e1c041eadedf0f (open)

Deze tekst is gegenereerd door een AI op basis van de specificatie 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_01728
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01728@rel:R25-11#fd0c2faf
Content hash
fd0c2faf
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

functie set [SWS_CORE_01725]

Bitset< N > & set () noexcept;

As per corresponding usage in [bitset]

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

De synchrone lidfunctie set() van de klasse ara::core::Bitset zet alle aanwezige bits van het object op de waarde true ([SWS_CORE_01725]). Qua gedrag komt zij overeen met de werking van std::bitset uit de ISO-C++-standaard en is beschikbaar via de header ara/core/bitset.h ([SWS_CORE_01725]). De methode-aanroep is parameterloos en retourneert een lvalue-referentie naar de gewijzigde bitset (Bitset<N>&) ([SWS_CORE_01725]), wat een directe ketening van verdere aanroepen op dezelfde instantie mogelijk maakt.

De operatie is gedeclareerd als noexcept en heeft de eigenschap exception safe ([SWS_CORE_01725]). Aangezien zij over alle bits itereert resp. de algehele toestand instelt, treden er in tegenstelling tot positiegebaseerde toegangen geen bereikfouten op. Over thread-safety doet de specificatie geen uitspraak; Interpretatie: aangezien de toestand van het object direct wordt gemuteerd, zijn gelijktijdige toegangen tot dezelfde Bitset-instantie zonder externe beveiliging vermoedelijk niet concurrency- resp. thread-safe. Vraag Q-f8c1b5721f668193 (open)

In de wisselwerking binnen de module core vult de functie de overladen variant set(std::size_t, bool) aan ([SWS_CORE_01726]). Terwijl de parameterloze versie gegarandeerd met succes het gehele veld instelt, wijzigt de geparametriseerde versie gericht een afzonderlijke bit, levert het type Result<Bitset<N>&> op en signaleert via een IsoStdOutOfRangeViolation wanneer een ongeldige positie-index wordt meegegeven ([SWS_CORE_01726]).

Deze gebruiksinstructie is gebaseerd op de AUTOSAR Adaptive-specificatie voor de release R25-11 en is geautomatiseerd opgesteld.

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

functie 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

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

De elementfunctie set van de klasse ara::core::Bitset wijzigt de bit op de opgegeven positie pos naar de waarde val conform [SWS_CORE_01726]. De functie is gedeclareerd in de header #include "ara/core/bitset.h" en werkt zowel synchroon als exception-safe.

Ten opzichte van het standaardgedrag van std::bitset vertoont de functie twee wezenlijke afwijkingen ([SWS_CORE_01726]):

  • De functie is gedeclareerd als noexcept en werpt geen C++-exceptions.
  • Wanneer pos niet overeenkomt met een geldige bitpositie, wordt IsoStdOutOfRangeViolation geactiveerd in plaats van std::out_of_range.

Als retourwaarde wordt een Result<Bitset<N>&> geleverd ([SWS_CORE_01726]). In geval van succes bevat de Result een referentie naar het gewijzigde bitset-object. Ligt pos buiten het geldige bereik, dan transporteert de Result de bijbehorende foutschending.

In tegenstelling tot de parameterloze variant set() ([SWS_CORE_01725]), die alle bits instelt en direct Bitset<N>& retourneert, vereist deze positiegebaseerde overbelasting de evaluatie van het Result-object voor de afhandeling van bereikfouten ([SWS_CORE_01726]).

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de AUTOSAR-specificatie 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#5a62f65d
Content hash
5a62f65d
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

functie 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#c5973c20
Content hash
c5973c20
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

functie 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

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

Gebruik

De synchrone memberfunctie test van de klasse ara::core::Bitset controleert de toestand van het bit op de meegegeven positie pos conform [SWS_CORE_01743]. Als aanroepparameter wordt de gewenste bitpositie pos van het type std::size_t doorgegeven. De functie levert synchroon een waarde van het type bool terug, waarbij true aangeeft dat het bit gezet is, en false dat het niet gezet is. Voor de integratie en het gebruik van de functie in de Core-module van het Adaptive-platform moet de header ara/core/bitset.h worden geïncludeerd [SWS_CORE_01743].

Foutafhandeling en afwijkingen

Het functionele gedrag volgt in principe de semantiek van std::bitset, maar vertoont twee wezenlijke systeemspecifieke afwijkingen [SWS_CORE_01743]:

  • De signatuur is gedeclareerd als noexcept en garandeert volledige uitzonderingsveiligheid (exception safe) [SWS_CORE_01743].
  • Komt de bitpositie pos niet overeen met een geldige bitpositie binnen het object, dan wordt in plaats van een uitzondering van het type std::out_of_range de schending IsoStdOutOfRangeViolation geactiveerd [SWS_CORE_01743]. De beschrijving daarvan is gebaseerd op die van std::out_of_range [SWS_CORE_01743].

Gelijktijdigheid en beperkingen

Aangezien de functie is gespecificeerd als const, wijzigt deze de instantie niet. Meervoudige gelijktijdige leestoegangen tot dezelfde bitset-instantie zijn daarom vermoedelijk bij normaal gebruik uitvoerbaar zonder dataconflikten (interpretatie). Vraag Q-585dbdfefac63391 (open) Vinden er gelijktijdig schrijvende modificaties op dezelfde instantie plaats, dan is vermoedelijk externe synchronisatie door de aanroeper vereist.

Deze tekst is gegenereerd door een AI op basis van de specificatie 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_01743
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01743@rel:R25-11#85d72884
Content hash
85d72884
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

functie 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#bc3c76ee
Content hash
bc3c76ee
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

functie 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]

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

De memberfunctie to_uint16t van de klasse ara::core::Bitset converteert de inhoud van de bitset naar een geheelgetallige waarde van het type std::uint16_t ([SWS_CORE_01737], [SWS_APT_00025]). Deze vormt een AUTOSAR-specifieke uitbreiding en is niet opgenomen in de ISO-C++-standaard ISO-14882 ([SWS_CORE_01737]). De synchrone aanroep wordt aangeboden via de header ara/core/bitset.h ([SWS_CORE_01737]).

Bij de gegenereerde retourwaarde komt het eerste bit van de bitset overeen met het minst significante bit (least significant bit) en het laatste bit met het meest significante bit (most significant bit) van het getal ([SWS_CORE_01737]). Aangezien de methode is gespecificeerd als constexpr, kan deze ook tijdens compile-time op constante instanties worden geëvalueerd ([SWS_CORE_01737]).

De bewerking is gespecificeerd als thread-safe en exception safe ([SWS_CORE_01737]). Indien de bitwaarde niet in het waardebereik van std::uint16_t kan worden weergegeven, is er sprake van een IsoStdOverflowErrorViolation ([SWS_CORE_01737]). Interpretatie: Vanwege de noexcept-declaratie wordt deze schending vermoedelijk niet via reguliere C++-exceptions gemeld, maar leidt deze via platformspecifieke mechanismen voor violations tot afhandeling. Vraag Q-785057e36fb7e434 (open)

Deze gebruiksinstructie is geautomatiseerd gegenereerd en is gebaseerd op de AUTOSAR-specificatie 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#45b14659
Content hash
45b14659
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

functie 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]

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

Gebruik en semantiek

De methode to_uint32t is een parameterloze, synchrone elementfunctie van de klasse ara::core::Bitset, die ter beschikking wordt gesteld via de header ara/core/bitset.h [SWS_CORE_01738]. Zij zet de bits van de bitset-instantie om in een niet-ondertekende 32-bits geheelgetalwaarde van het type std::uint32_t [SWS_CORE_01738]. De functie is niet opgenomen in ISO-14882, maar gedefinieerd als een AUTOSAR-specifieke alias voor ara::core::Bitset::to_ulong, die expliciet het datatype std::uint32_t uit [SWS_APT_00028] gebruikt [SWS_CORE_01738]. Bij de mapping van de bitreeks komt de eerste bit van de bitset overeen met de minst significante bit (least significant bit) van de retourwaarde en de laatste bit met de meest significante bit (most significant bit) [SWS_CORE_01738].

Foutafhandeling en randvoorwaarden

Voor foutsituaties definieert de specificatie de schending IsoStdOverflowErrorViolation, die optreedt wanneer de met de gezette bits overeenkomende geheelgetalwaarde niet kan worden weergegeven binnen het waardebereik van het retourtype [SWS_CORE_01738].

Gelijktijdigheid en uitvoeringscontext

De functie is gedeclareerd met constexpr en noexcept [SWS_CORE_01738]. Wat betreft de uitvoeringsveiligheid is zij gespecificeerd als thread-safe (thread-safe) en als exception-safe (exception safe) [SWS_CORE_01738].

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatie.

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#980b598e
Content hash
980b598e
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

functie 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]

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

Gebruik

De elementfunctie to_uint64t van de klasse ara::core::Bitset converteert de in de bitset opgenomen bits synchroon naar een geheelgetalwaarde van het type std::uint64_t ([SWS_CORE_01739]). De operatie is een AUTOSAR-specifieke uitbreiding en niet gedefinieerd in ISO-14882 ([SWS_CORE_01739]). Zij fungeert als alias voor de methode ara::core::Bitset::to_ullong, maar gebruikt daarbij verplicht en expliciet het type std::uint64_t conform [SWS_APT_00031] ([SWS_CORE_01739]). De declaratie wordt bereitgesteld via het headerbestand #include "ara/core/bitset.h" ([SWS_CORE_01739]).

Voor de bitsgewijze afvaardiging van de retourwaarde geldt dat de eerste bit van de bitset overeenkomt met de minst significante bit (least significant bit) van de gegenereerde waarde en de laatste bit wordt toegewezen aan de meest significante bit (most significant bit) ([SWS_CORE_01739]). Dankzij de kwalificatie als constexpr kan de evaluatie zowel tijdens runtime als tijdens compileertijd in constante expressies plaatsvinden ([SWS_CORE_01739]).

Foutafhandeling en gelijktijdigheid

Wat betreft de uitvoeringsveiligheid is de functie gedeclareerd met noexcept, geclassificeerd als exception-safe (exception safe) en onbeperkt aanroepbaar als thread-safe (thread-safe) ([SWS_CORE_01739]). Wanneer de met de bits overeenkomende geheelgetalwaarde niet in het doeltype kan worden weergegeven, doet zich de foutsituatie IsoStdOverflowErrorViolation voor ([SWS_CORE_01739]). De interface voldoet aan de bovenliggende eis [RS_AP_00130].

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

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

functie 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]

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

Gebruik

De memberfunctie to_uint8t van de klasse ara::core::Bitset converteert de opgeslagen bitset-inhoud synchroon naar een niet-ondertekende 8-bits geheelgetallige waarde van het type std::uint8_t conform [SWS_CORE_01736] en [SWS_APT_00022]. Het betreft een AUTOSAR-specifieke functie-uitbreiding die in de standaard ISO-14882 niet bestaat [SWS_CORE_01736]. De functie wordt beschikbaar gesteld via de header ara/core/bitset.h, is parameterloos en gedeclareerd als constexpr en noexcept [SWS_CORE_01736]. Het eerste bit van de bitreeks komt daarbij overeen met het minst significante bit (LSB) en het laatste bit met het meest significante bit (MSB) van de geretourneerde waarde [SWS_CORE_01736].

Foutafhandeling

Indien de met de bits in de bitset overeenkomende geheelgetallige waarde niet in het doeltype std::uint8_t kan worden weergegeven, treedt de schending IsoStdOverflowErrorViolation op [SWS_CORE_01736]. Ondanks de noexcept-declaratie is de functie wat betreft exception-veiligheid gespecificeerd als exception safe [SWS_CORE_01736].

Gelijktijdigheid en wisselwerking

Als constante memberfunctie is to_uint8t expliciet gedeclareerd als thread-safe [SWS_CORE_01736], zodat parallelle leestoegangen van meerdere threads tot dezelfde instantie veilig zijn. De representatie van het doeltype is gebaseerd op de bepaling uit [SWS_APT_00022].

Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van de specificatie van AUTOSAR Adaptive Release 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#321e3423
Content hash
321e3423
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

functie 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

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

De memberfunctie to_ullong van de klasse ara::core::Bitset zet de opgeslagen bitreeks synchroon om in een geheelgetallige waarde van het type unsigned long long [SWS_CORE_01735]. Deze is gedefinieerd in de header #include "ara/core/bitset.h" en ten opzichte van de ISO-standaard std::bitset gedeclareerd als constexpr en noexcept [SWS_CORE_01735].

Wat betreft foutafhandeling en uitzonderingsgedrag gelden de volgende bepalingen:

  • Overloopafhandeling: Als de door de gezette bits gerepresenteerde geheelgetallige waarde niet in het retourtype kan worden weergegeven, wordt in plaats van een std::overflow_error-exception de schending IsoStdOverflowErrorViolation geactiveerd [SWS_CORE_01735].
  • Uitzonderingsveiligheid: De functie is geclassificeerd als exception safe en werpt op grond van de noexcept-specificatie geen C++-uitzonderingen [SWS_CORE_01735].

In samenhang met andere interfaces biedt AUTOSAR Adaptive met to_uint64t een getypeerd alternatief dat fungeert als directe alias voor to_ullong, maar expliciet het type met vaste breedte std::uint64_t retourneert [SWS_CORE_01739]. Bij beide functies komt het eerste bit van de bitset overeen met het minst significante bit (LSB) en het laatste bit met het meest significante bit (MSB) van de resulterende getalswaarde [SWS_CORE_01739]. Aangezien to_ullong een constante memberfunctie is en het functionele equivalent als thread-safe is gespecificeerd, is een gelijktijdige lezende aanroep op dezelfde instantie vermoedelijk eveneens thread-safe [SWS_CORE_01739]. Vraag Q-075766fabc193ce8 (open)

Deze gebruiksinstructie is geautomatiseerd opgesteld en is gebaseerd op de specificatiestatus van 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#6ee78f33
Content hash
6ee78f33
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

functie 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

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

De memberfunctie ara::core::Bitset::to_ulong converteert de gezette bits van een Bitset-instantie synchroon naar een geheelgetallige waarde van het type unsigned long [SWS_CORE_01734]. De functie vereist het headerbestand ara/core/bitset.h en behoort tot de scope van de klasse ara::core::Bitset [SWS_CORE_01734]. Door de declaratie met de signatuur constexpr unsigned long to_ulong() const noexcept; kan de evaluatie zowel tijdens runtime als reeds tijdens compile-time in constante expressies plaatsvinden [SWS_CORE_01734].

Qua foutgedrag verschilt de functie wezenlijk van de ISO-standaard std::bitset: als de geheelgetallige waarde die met de bits overeenkomt niet in het retourtype unsigned long kan worden weergegeven, wordt in plaats van een uitzondering van het type std::overflow_error een IsoStdOverflowErrorViolation geactiveerd [SWS_CORE_01734]. Ongeacht deze schendingsvoorwaarde is de functie gedeclareerd als noexcept en geldt deze formeel als uitzonderingsveilig (exception safe) [SWS_CORE_01734].

In samenhang met andere conversiefuncties stelt AUTOSAR Adaptive met to_uint32t een directe tegenhanger beschikbaar, die fungeert als alias voor to_ulong, maar exact getypeerd een std::uint32_t retourneert [SWS_CORE_01738]. Wat betreft gelijktijdigheid is de methode bij parallelle leestoegang tot dezelfde bitset vermoedelijk thread-safe (interpretatie), aangezien deze is gedefinieerd als const en de corresponderende requirement to_uint32t uitdrukkelijk als thread-safe is aangeduid [SWS_CORE_01738]. Vraag Q-59f95b86801a697d (open)

Deze gebruiksinstructie is geautomatiseerd opgesteld op basis van de AUTOSAR-specificatie 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#378b31c8
Content hash
378b31c8
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

functie ~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#d5a10562
Content hash
d5a10562
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