DEENESPTFRRUARHIKOZHNL

class ara::core::Map

[SWS_CORE_01400]

template <typename Key, typename T, typename Compare = std::less<Key>, typename Allocator = {<fq-allocator>}> class Map {...};

Implementation of std::pmr::map container from [map]

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

User GuideAI-GENERATED

Serves for the ordered management of unique key-value pairs with configurable allocator support.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: ce48c351c6cf Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves for the ordered management of unique key-value pairs with configurable allocator support.

The associative key-value container ara::core::Map implements std::pmr::map and manages sorted entries based on unique keys using polymorphic allocators ([SWS_CORE_01404]). Applications use the container for structured insertion, search, and removal of data pairs as well as for efficient node transfer using move semantics. As an essential peculiarity, indexed access via at triggers an IsoStdOutOfRangeViolation instead of the standard exception in the case of missing keys ([SWS_CORE_01456]). While status queries are exception-safe, dynamic memory allocations during insertion require appropriate precautions against resource shortages.

Context

The template class ara::core::Map provides an ordered associative key-value container that conforms to the semantics of std::pmr::map from the C++ standard. Keys of type key_type ([SWS_CORE_01402]) are unique and sorted based on a predicate of type key_compare ([SWS_CORE_01405]). The data pairs are managed as value_type in the form of std::pair<const Key, T> ([SWS_CORE_01404]). The primary interaction partner is the applying software component of the Adaptive Platform, which can selectively integrate user-defined or polymorphic memory allocators via the configurable allocator_type ([SWS_CORE_01406]).

Lifecycle

The instantiation of ara::core::Map can take place via the default constructor ([SWS_CORE_01428]), with specification of allocators ([SWS_CORE_01431]), or with comparison objects ([SWS_CORE_01429]). In addition, constructors for iterator ranges ([SWS_CORE_01430], [SWS_CORE_01435]) and initializer lists ([SWS_CORE_01434], [SWS_CORE_01436]) are available. The copy constructor ([SWS_CORE_01424]) and copy assignment operator ([SWS_CORE_01425]) are specified as default, but are supplemented by allocator-specific overloads ([SWS_CORE_01432]).

For efficient resource transfer, move constructors exist ([SWS_CORE_01426], [SWS_CORE_01433]). The move assignment operator ([SWS_CORE_01427]) offers conditional exception safety, provided that std::allocator_traits<Allocator>::is_always_equal::value and std::is_nothrow_move_assignable<Compare>::value are satisfied. When destroying the container via the destructor ([SWS_CORE_01437]), all contained nodes are released. Swapping two instances via swap ([SWS_CORE_01484]) uses the AUTOSAR predicate ara::core::is_nothrow_swappable for protection instead of the standard library.

Usage Path

Regular use includes inserting, finding, reading, and clearing entries:

Typical sequence of container operations in ara::core::MapApplikationara::core::Maptry_emplace(k, v)std::pair<iterator, bool>find(k)iteratorat(k)mapped_type&erase(k)size_type

Sequence diagram: Typical flow of container operations in ara::core::Map from insertion to lookup to erasure. Sources: [SWS_CORE_01472], [SWS_CORE_01490], [SWS_CORE_01456], [SWS_CORE_01482].

Error Scenarios

A central deviation from the ISO C++ standard concerns the access method at ([SWS_CORE_01456], [SWS_CORE_01457]): If a requested key is not found in the container, the implementation does not throw an std::out_of_range exception, but triggers an IsoStdOutOfRangeViolation. Despite the signature with noexcept, the method signals this violation immediately; this is likely due to the platform-wide strategy of reporting errors in safety-relevant environments without classic C++ exceptions. Question Q-ffaee4bddebe250a (open)

Capacity queries such as empty ([SWS_CORE_01511]), size ([SWS_CORE_01452]), or get_allocator ([SWS_CORE_01439]) are fully exception-safe (noexcept). In contrast, allocation and insertion operations such as insert ([SWS_CORE_01460]), emplace ([SWS_CORE_01458]), or the default constructors ([SWS_CORE_01428]) are classified as not exception safe, since exhaustion of the configured memory can lead to errors.

This class guide is based on the AUTOSAR Adaptive Platform specification R25-11 for the core module and was generated automatically.

Member map

Class diagram

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

G nara__core__Map274 Map + Map() + operator=() + ~Map() + empty() + max_size() + size() + at() + operator[]() + begin() + cbegin() + cend() + crbegin() + crend() + end() + rbegin() + rend() … 19 weitere

Detail view

Select an entry in the outline.

Constructors and destructor

Map function 11

≙ [map]

Overloads Map 11
Map (const Map &x)=default; SWS_CORE_01424
Map (Map &&x)=default; SWS_CORE_01426
explicit Map (const Compare &comp, const Allocator &=Allocator()); SWS_CORE_01429
template <class InputIterator> Map (InputIterator first, InputIterator last, const Compare &comp=Compare(), const Allocator &=Allocator()); SWS_CORE_01430
explicit Map (const Allocator &); SWS_CORE_01431
Map (const Map &, const Allocator &); SWS_CORE_01432
Map (Map &&, const Allocator &); SWS_CORE_01433
template <class InputIterator> Map (InputIterator first, InputIterator last, const Allocator &a); SWS_CORE_01435
~Map function

≙ [map]

~Map ();

Methods

at function 2

except for the following deviations: 1. if (x is not found in the container) IsoStdOutOfRangeViolation is raised instead of std::out_of_range ≙ std::out_of_range

Overloads at 2
mapped_type & at (const key_type &x) noexcept; SWS_CORE_01456
const mapped_type & at (const key_type &x) const noexcept; SWS_CORE_01457
begin function 2

≙ [map]

Overloads begin 2
iterator begin () noexcept; SWS_CORE_01440
const_iterator begin () const noexcept; SWS_CORE_01441
cbegin function

≙ [map]

const_iterator cbegin () const noexcept;
cend function

≙ [map]

const_iterator cend () const noexcept;
clear function

≙ [map]

void clear () noexcept;
contains function 2

≙ [map]

Overloads contains 2
template <class K> bool contains (const K &x) const; SWS_CORE_01497
bool contains (const key_type &x) const; SWS_CORE_01510
count function 2

≙ [map]

Overloads count 2
size_type count (const key_type &x) const; SWS_CORE_01494
template <class K> size_type count (const K &x) const; SWS_CORE_01495
crbegin function

≙ [map]

const_reverse_iterator crbegin () const noexcept;
crend function

≙ [map]

const_reverse_iterator crend () const noexcept;
emplace function

≙ [map]

template <class... Args> std::pair< iterator, bool > emplace (Args &&... args);
emplace_hint function

≙ [map]

template <class... Args> iterator emplace_hint (const_iterator position, Args &&... args);
empty function

≙ [map]

[[nodiscard]] bool empty () const noexcept;
end function 2

≙ [map]

Overloads end 2
iterator end () noexcept; SWS_CORE_01442
const_iterator end () const noexcept; SWS_CORE_01443
equal_range function 4

≙ [map]

Overloads equal_range 4
std::pair< iterator, iterator > equal_range (const key_type &x); SWS_CORE_01506
template <class K> std::pair< iterator, iterator > equal_range (const K &x); SWS_CORE_01508
template <class K> std::pair< const_iterator, const_iterator > equal_range (const K &x) const; SWS_CORE_01509
erase function 4

≙ [map]

Overloads erase 4
extract function 2

≙ [map]

Overloads extract 2
find function 4

≙ [map]

Overloads find 4
const_iterator find (const key_type &x) const; SWS_CORE_01491
template <class K> iterator find (const K &x); SWS_CORE_01492
template <class K> const_iterator find (const K &x) const; SWS_CORE_01493
get_allocator function

≙ [map]

allocator_type get_allocator () const noexcept;
insert function 10

≙ [map]

Overloads insert 10
std::pair< iterator, bool > insert (const value_type &x); SWS_CORE_01460
template <class P> std::pair< iterator, bool > insert (P &&x); SWS_CORE_01462
iterator insert (const_iterator position, const value_type &x); SWS_CORE_01463
template <class P> iterator insert (const_iterator position, P &&); SWS_CORE_01465
template <class InputIterator> void insert (InputIterator first, InputIterator last); SWS_CORE_01466
insert_or_assign function 4

≙ [map]

Overloads insert_or_assign 4
template <class M> std::pair< iterator, bool > insert_or_assign (const key_type &k, M &&obj); SWS_CORE_01476
template <class M> std::pair< iterator, bool > insert_or_assign (key_type &&k, M &&obj); SWS_CORE_01477
template <class M> iterator insert_or_assign (const_iterator hint, const key_type &k, M &&obj); SWS_CORE_01478
template <class M> iterator insert_or_assign (const_iterator hint, key_type &&k, M &&obj); SWS_CORE_01479
key_comp function

≙ [map]

key_compare key_comp () const;
lower_bound function 4

≙ [map]

Overloads lower_bound 4
iterator lower_bound (const key_type &x); SWS_CORE_01498
const_iterator lower_bound (const key_type &x) const; SWS_CORE_01499
template <class K> iterator lower_bound (const K &x); SWS_CORE_01500
template <class K> const_iterator lower_bound (const K &x) const; SWS_CORE_01501
max_size function

≙ [map]

size_type max_size () const noexcept;
merge function 2

≙ [map]

Overloads merge 2
template <class C2> void merge (Map< Key, T, C2, Allocator > &source); SWS_CORE_01486
template <class C2> void merge (Map< Key, T, C2, Allocator > &&source); SWS_CORE_01487
rbegin function 2

≙ [map]

Overloads rbegin 2
reverse_iterator rbegin () noexcept; SWS_CORE_01444
const_reverse_iterator rbegin () const noexcept; SWS_CORE_01445
rend function 2

≙ [map]

Overloads rend 2
const_reverse_iterator rend () const noexcept; SWS_CORE_01447
size function

≙ [map]

size_type size () const noexcept;
swap function

except for the following deviations: 1. ara::core::is_nothrow_swappable shall be used in place of the std:: implementation ≙ [map]

void swap (Map &) noexcept(std::allocator_traits< Allocator >::is_ always_equal::value &&ara::core::is_nothrow_swappable< Compare >::value);
try_emplace function 4

≙ [map]

Overloads try_emplace 4
template <class... Args> std::pair< iterator, bool > try_emplace (const key_type &k, Args &&... args); SWS_CORE_01472
template <class... Args> std::pair< iterator, bool > try_emplace (key_type &&k, Args &&... args); SWS_CORE_01473
template <class... Args> iterator try_emplace (const_iterator hint, const key_type &k, Args &&... args); SWS_CORE_01474
template <class... Args> iterator try_emplace (const_iterator hint, key_type &&k, Args &&... args); SWS_CORE_01475
upper_bound function 4

≙ [map]

Overloads upper_bound 4
iterator upper_bound (const key_type &x); SWS_CORE_01502
const_iterator upper_bound (const key_type &x) const; SWS_CORE_01503
template <class K> iterator upper_bound (const K &x); SWS_CORE_01504
template <class K> const_iterator upper_bound (const K &x) const; SWS_CORE_01505
value_comp function

≙ [map]

value_compare value_comp () const;

Operators

operator= function 3

≙ [map]

Overloads = 3
Map & operator= (const Map &x)=default; SWS_CORE_01425
Map & operator= (Map &&x) noexcept(std::allocator_traits< Allocator >::is_always_equal::value &&std::is_nothrow_move_assignable< Compare >::value); SWS_CORE_01427
operator[] function 2

≙ [map]

Overloads [] 2
mapped_type & operator[] (const key_type &x); SWS_CORE_01454
mapped_type & operator[] (key_type &&x); SWS_CORE_01455

Type aliases

allocator_type type alias

≙ [map]

using allocator_type = Allocator;
const_iterator type alias

Implementation {<const-iterator-type>} shall be an implementation-defined type ≙ [map]

using const_iterator = {<const-iterator-type>};
const_pointer type alias

≙ [map]

using const_pointer = typename std::allocator_ traits<Allocator>::const_pointer;
const_reference type alias

≙ [map]

using const_reference = const value_type&;

≙ [map]

using const_reverse_iterator = std::reverse_iterator<const_iterator>;
difference_type type alias

Implementation {<difference-type>} shall be an implementation-defined type ≙ [map]

using difference_type = {<difference-type>};

Implementation {<insert-return-type>} shall be an implementation-defined type ≙ [map]

using insert_return_type = {<insert-return-type>}<iterator, node_ type>;
iterator type alias

Implementation {<iterator-type>} shall be an implementation-defined type ≙ [map]

using iterator = {<iterator-type>};
key_compare type alias

≙ [map]

using key_compare = Compare;
key_type type alias

≙ [map]

using key_type = Key;
mapped_type type alias

≙ [map]

using mapped_type = T;
node_type type alias

Implementation {<node-type>} shall be an implementation-defined type ≙ [map]

using node_type = {<node-type>};
pointer type alias

≙ [map]

using pointer = typename std::allocator_traits<Allocator>::pointer;
reference type alias

≙ [map]

reverse_iterator type alias

≙ [map]

using reverse_iterator = std::reverse_iterator<iterator>;
size_type type alias

Implementation {<size-type>} shall be an implementation-defined type ≙ [map]

using size_type = {<size-type>};
value_type type alias

≙ [map]

using value_type = std::pair<const Key, T>;

Embedded types

Method documentation

function Map [SWS_CORE_01424] Upstream: RS_AP_00145

Map (const Map &x)=default;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map

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

Record
AUTOSAR/AP/record/SWS_CORE_01424
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01424@rel:R25-11#8787deef
Content hash
8787deef
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01424
Status: valid/unmigrated Version: rel:R25-11#8787deef 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_01424@rel:R25-11#8787deef
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

function Map [SWS_CORE_01426] Upstream: RS_AP_00145

Map (Map &&x)=default;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map

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

Record
AUTOSAR/AP/record/SWS_CORE_01426
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01426@rel:R25-11#689e534d
Content hash
689e534d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01426
Status: valid/unmigrated Version: rel:R25-11#689e534d 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_01426@rel:R25-11#689e534d
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

function Map [SWS_CORE_01428]

Map ();

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01428
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01428@rel:R25-11#43f18165
Content hash
43f18165
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01428
Status: valid/unmigrated Version: rel:R25-11#43f18165 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_01428@rel:R25-11#43f18165
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

function Map [SWS_CORE_01429]

explicit Map (const Compare &comp, const Allocator &=Allocator());

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01429
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01429@rel:R25-11#5cbdb732
Content hash
5cbdb732
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01429
Status: valid/unmigrated Version: rel:R25-11#5cbdb732 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_01429@rel:R25-11#5cbdb732
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

function Map [SWS_CORE_01430]

template <class InputIterator> Map (InputIterator first, InputIterator last, const Compare &comp=Compare(), const Allocator &=Allocator());

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01430
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01430@rel:R25-11#f9ad5986
Content hash
f9ad5986
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01430
Status: valid/unmigrated Version: rel:R25-11#f9ad5986 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_01430@rel:R25-11#f9ad5986
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

function Map [SWS_CORE_01431]

explicit Map (const Allocator &);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01431
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01431@rel:R25-11#64103b3a
Content hash
64103b3a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01431
Status: valid/unmigrated Version: rel:R25-11#64103b3a 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_01431@rel:R25-11#64103b3a
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

function Map [SWS_CORE_01432]

Map (const Map &, const Allocator &);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01432
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01432@rel:R25-11#98ccac5a
Content hash
98ccac5a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01432
Status: valid/unmigrated Version: rel:R25-11#98ccac5a 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_01432@rel:R25-11#98ccac5a
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

function Map [SWS_CORE_01433]

Map (Map &&, const Allocator &);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01433
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01433@rel:R25-11#238610da
Content hash
238610da
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01433
Status: valid/unmigrated Version: rel:R25-11#238610da 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_01433@rel:R25-11#238610da
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

function Map [SWS_CORE_01434]

Map (std::initializer_list< value_type >, const Compare &=Compare(), const Allocator &=Allocator());

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01434
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01434@rel:R25-11#f674e4cb
Content hash
f674e4cb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01434
Status: valid/unmigrated Version: rel:R25-11#f674e4cb 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_01434@rel:R25-11#f674e4cb
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

function Map [SWS_CORE_01435]

template <class InputIterator> Map (InputIterator first, InputIterator last, const Allocator &a);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01435
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01435@rel:R25-11#c6b1c14d
Content hash
c6b1c14d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01435
Status: valid/unmigrated Version: rel:R25-11#c6b1c14d 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_01435@rel:R25-11#c6b1c14d
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

function Map [SWS_CORE_01436]

Map (std::initializer_list< value_type > il, const Allocator &a);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01436
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01436@rel:R25-11#df080f37
Content hash
df080f37
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01436
Status: valid/unmigrated Version: rel:R25-11#df080f37 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_01436@rel:R25-11#df080f37
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

function at [SWS_CORE_01456]

mapped_type & at (const key_type &x) noexcept;

As per corresponding usage in [map] except for the following deviations: 1. if (x is not found in the container) IsoStdOutOfRangeViolation is raised instead of std::out_of_range

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 91afb1d880dc Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The synchronous element access function at of class ara::core::Map ([SWS_CORE_01456]) serves for controlled retrieval of a value for an existing key. It is provided via header ara/core/map.h. As input parameter, it accepts a key reference const key_type &x and returns a modifiable reference mapped_type & to the associated value ([SWS_CORE_01456]). The semantics fundamentally correspond to the customary usage of std::map; for const instances, separate overload [SWS_CORE_01457] is available.

Error Handling and Boundary Conditions

In case of error, the function deliberately deviates from standard ISO behavior: if the specified element x is not present in the container, a IsoStdOutOfRangeViolation is triggered instead of a classic C++ exception of type std::out_of_range ([SWS_CORE_01456]). The signature is explicitly declared as noexcept and classified as exception safe (exception safe) ([SWS_CORE_01456]).

Interaction

The concept of indicating out-of-range errors via IsoStdOutOfRangeViolation is implemented uniformly module-wide:

This usage note was automatically generated based on specification R25-11.

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
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_01456
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01456@rel:R25-11#ed6d6de8
Content hash
ed6d6de8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01456
Status: valid/unmigrated Version: rel:R25-11#ed6d6de8 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_01456@rel:R25-11#ed6d6de8
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

function at [SWS_CORE_01457]

const mapped_type & at (const key_type &x) const noexcept;

As per corresponding usage in [map] except for the following deviations: 1. if (x is not found in the container) IsoStdOutOfRangeViolation is raised instead of std::out_of_range

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 63bb4d175e4a Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The member function at according to [SWS_CORE_01457] enables synchronous, read-only access to an element within an instance of ara::core::Map via header #include "ara/core/map.h". As a parameter, the searched key x is passed as const key_type &. Upon successful lookup, the method returns a const reference to the associated value (const mapped_type &).

Error Handling and Exception Behavior

The behavior basically corresponds to the standard behavior of std::map::at, but exhibits a specific deviation: if the key x is not found in the container, a IsoStdOutOfRangeViolation is thrown instead of std::out_of_range according to [SWS_CORE_01457]. Since the function is specified with noexcept, this violation does not lead to a regular C++ exception; presumably, this entails a controlled process termination via the error handling mechanisms as can be registered in the context of [SWS_CORE_00054]. Question Q-d7dd2c332f88ed14 (open)

Concurrency and Interaction

As a const method, the call qualifies for concurrent read access, provided that no concurrent modifying accesses to the same map instance take place. In addition to this const interface, a non-const overload exists with [SWS_CORE_01456], which returns a modifiable reference. The same strategy for signaling range violations using IsoStdOutOfRangeViolation is consistently implemented in other adaptive core containers as well, for example with ara::core::Array ([SWS_CORE_01274]) and ara::core::Vector ([SWS_CORE_01354]).

This text was generated by an AI curation assistant based on AUTOSAR Release R25-11.

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
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_01457
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01457@rel:R25-11#1e757950
Content hash
1e757950
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01457
Status: valid/unmigrated Version: rel:R25-11#1e757950 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_01457@rel:R25-11#1e757950
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

function begin [SWS_CORE_01440]

iterator begin () noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01440
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01440@rel:R25-11#3494440d
Content hash
3494440d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01440
Status: valid/unmigrated Version: rel:R25-11#3494440d 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_01440@rel:R25-11#3494440d
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

function begin [SWS_CORE_01441]

const_iterator begin () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01441
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01441@rel:R25-11#ec35957f
Content hash
ec35957f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01441
Status: valid/unmigrated Version: rel:R25-11#ec35957f 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_01441@rel:R25-11#ec35957f
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

function cbegin [SWS_CORE_01448]

const_iterator cbegin () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01448
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01448@rel:R25-11#62c2966a
Content hash
62c2966a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01448
Status: valid/unmigrated Version: rel:R25-11#62c2966a 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_01448@rel:R25-11#62c2966a
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

function cend [SWS_CORE_01449]

const_iterator cend () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01449
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01449@rel:R25-11#de5e885b
Content hash
de5e885b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01449
Status: valid/unmigrated Version: rel:R25-11#de5e885b 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_01449@rel:R25-11#de5e885b
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

function clear [SWS_CORE_01485]

void clear () noexcept;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: caea3d46193b Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function clear of class ara::core::Map serves to completely clear the container content according to the specification in [SWS_CORE_01485]. The function requires including header file #include "ara/core/map.h". Call semantics and behavior follow the corresponding usage of the ISO C++ standard for associative standard maps ([map]).

Regarding interface and error handling, the function exhibits the following properties:

  • Parameters and return value: The operation has the signature void clear () noexcept;, takes no parameters, and returns no value [SWS_CORE_01485].
  • Exception safety: The function is explicitly declared as noexcept and specified as exception safe [SWS_CORE_01485]. It thus throws no C++ exceptions in the event of an error.
  • Synchronous execution: The call is executed synchronously on the instance; after returning, the container is likely to be empty (size 0). Question Q-1d0cf2a1a33d818e (open)

In module core, clearing standard containers follows a uniform paradigm. Analogous clear functions with identical signature and exception safety are found, for example, for sequential containers in ara::core::Vector according to [SWS_CORE_01375] (ara/core/vector.h) and for strings in ara::core::BasicString according to [SWS_CORE_03057] (ara/core/string.h). Developers can rely across containers on the familiar standard C++ semantics and guaranteed freedom from exceptions.

This usage note was generated automatically based on the AUTOSAR specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01485
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01485@rel:R25-11#3cc454b0
Content hash
3cc454b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01485
Status: valid/unmigrated Version: rel:R25-11#3cc454b0 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_01485@rel:R25-11#3cc454b0
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

function contains [SWS_CORE_01497]

template <class K> bool contains (const K &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: ca604ba15c6f Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template method contains of class ara::core::Map serves to synchronously check whether a searched key exists in an associative container [SWS_CORE_01497]. It is provided via the header #include "ara/core/map.h" and is called as a constant member function (const) on an instance of ara::core::Map [SWS_CORE_01497]. As a call parameter, it accepts a constant reference const K &x to the key to be searched and returns a return value of type bool [SWS_CORE_01497].

Regarding its semantics, the specification refers to the corresponding usage in [map] [SWS_CORE_01497]. This is likely to be interpreted as adopting the behavior of std::map::contains, according to which the method returns true if and only if an equivalent key is contained in the map, and false otherwise. Question Q-664d5a3d099db549 (open)

Regarding robustness and error handling, the function is explicitly classified as not exception safe [SWS_CORE_01497]. Specific AUTOSAR error codes or notifications to DET or DEM do not exist for this operation. Callers must take into account that during execution, presumably triggered by key comparisons or conversions of type K, exceptions can be thrown and propagated outward. Question (open)

Since contains, as a reading const operation, does not modify the state of the map, concurrent read accesses to the same instance are generally uncritical, whereas parallel write modifications to the container are likely to require external synchronization. Question Q-f3ca0e3d094f8f0a (open)

This text was generated by an AI and serves technical orientation.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01497
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01497@rel:R25-11#e0c568c8
Content hash
e0c568c8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01497
Status: valid/unmigrated Version: rel:R25-11#e0c568c8 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_01497@rel:R25-11#e0c568c8
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

function contains [SWS_CORE_01510]

bool contains (const key_type &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: cbd6e7493a69 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Semantics

The member function contains belongs to the scope of class ara::core::Map and is provided via header file ara/core/map.h [SWS_CORE_01510]. The function has the signature bool contains (const key_type &x) const; and is executed synchronously. It serves to check whether an element with the key x is present in the container. The specification refers to the corresponding behavior in [map], which presumably means the semantics of the C++ standard container std::map::contains, which returns true if the key is present and false otherwise. Question Q-fea394bd408bf925 (open)

Error Handling and Exception Safety

The behavior of contains is explicitly classified in the specification as not exception safe [SWS_CORE_01510]. Specific error codes, error domains, and DET or DEM notifications are not defined in the scope of the specification. Callers must therefore take into account that no exception safety guarantees are granted during the search and that occurring exceptions must be handled.

Concurrency and Limitations

The specification makes no explicit statement regarding thread safety in [SWS_CORE_01510]. Because it is a const member function (const), the container state is not modified. Interpretation: Parallel read accesses are likely permissible, whereas concurrent write modifications to the same instance require external synchronization. Question Q-7d8ce1efc81ec781 (open)

Interaction in module core

In comparison to other state-checking functions of module core \u2014 such as HasValue [SWS_CORE_00751] or CheckError [SWS_CORE_00765] in ara::core::Result, which are defined as exception safe and noexcept \u2014 contains in ara::core::Map provides no noexcept guarantee and is declared as not exception-safe [SWS_CORE_01510].

This usage note was automatically generated based on AUTOSAR R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01510
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01510@rel:R25-11#eee2ea6e
Content hash
eee2ea6e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01510
Status: valid/unmigrated Version: rel:R25-11#eee2ea6e 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_01510@rel:R25-11#eee2ea6e
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

function count [SWS_CORE_01494]

size_type count (const key_type &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 2a35e539f92e Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The synchronous member function count of class ara::core::Map determines, based on the passed key x of type const key_type&, how often this key occurs in the container and returns the result as size_type [SWS_CORE_01494]. It is declared via header #include "ara/core/map.h" [SWS_CORE_01494]. Interpretation: Corresponding to the reference to the standard behavior in [map], the return value is likely to be either 0 or 1 in the case of unique keys. Question Q-a713cfc1019b40d0 (open)

Regarding error handling, the function is expressly classified as “not exception safe” according to the specification [SWS_CORE_01494]. No specific error codes or DET/DEM messages are defined; if the key comparison operation throws an exception, it is presumably propagated directly to the caller. Question (open)

Regarding concurrency and limitations, this is a const operation (const) [SWS_CORE_01494]. Interpretation: Concurrent read accesses to the same instance of ara::core::Map are likely to be possible without data races, whereas simultaneous modifying operations must be secured by external synchronization. Question (open)

In interplay with related requirements, a template overload template <class K> size_type count (const K &x) const within ara::core::Map exists with [SWS_CORE_01495]. This enables heterogeneous search queries with compatible comparison types K without having to mandatorily construct a temporary object of type key_type beforehand, but is subject to the same classification regarding exception safety [SWS_CORE_01495].

This usage note is based on the specification AUTOSAR Adaptive R25-11 and was created automatically.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01494
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01494@rel:R25-11#e7abcaa1
Content hash
e7abcaa1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01494
Status: valid/unmigrated Version: rel:R25-11#e7abcaa1 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_01494@rel:R25-11#e7abcaa1
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

function count [SWS_CORE_01495]

template <class K> size_type count (const K &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: d72b87981018 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function count of class ara::core::Map synchronously checks for the occurrence of elements based on a key and determines their count [SWS_CORE_01495]. The function is declared in header ara/core/map.h and returns the number of found elements as size_type [SWS_CORE_01495]. According to the specified reference to usage in [map], for unique keys the call returns the value 1 if a matching element exists, and 0 otherwise [SWS_CORE_01495].

In direct interaction with overload count(const key_type&) [SWS_CORE_01494], this variant allows passing any compatible key type const K& [SWS_CORE_01495]. Interpretation: The templating is likely designed for heterogeneous lookup operations in order to perform comparisons without prior conversion into a temporary key_type object [SWS_CORE_01495]. Question Q-e2572768e5600da7 (open) As a result, unnecessary allocations and conversion costs during search queries can be avoided.

Regarding exception safety, the method is declared as not exception safe (not exception safe) [SWS_CORE_01495], analogously to the related overload [SWS_CORE_01494]. Specific error channels such as DET or DEM do not exist for this container operation [SWS_CORE_01495]; any exceptions of the underlying comparison operator propagate to the caller. Because the method is const-qualified, it does not modify the container [SWS_CORE_01495]; concurrent read accesses are safe, but competing write accesses require external synchronization.

This usage note was generated by an AI based on the specification of AUTOSAR Adaptive release R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01495
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01495@rel:R25-11#f1a0bc92
Content hash
f1a0bc92
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01495
Status: valid/unmigrated Version: rel:R25-11#f1a0bc92 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_01495@rel:R25-11#f1a0bc92
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

function crbegin [SWS_CORE_01450]

const_reverse_iterator crbegin () const noexcept;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: e5e3687c78cf Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The member function crbegin of class ara::core::Map is provided via header file #include "ara/core/map.h" [SWS_CORE_01450]. It takes no parameters and synchronously returns a const_reverse_iterator to the first element of the reverse sequence [SWS_CORE_01450]. The functional semantics follow the specification statement “As per corresponding usage in [map]” [SWS_CORE_01450]; this presumably corresponds to the semantics of std::map::crbegin from the C++ standard. Question Q-0ad5de7dada37aa8 (open)

Error Handling and Exception Safety

Specific error codes, DET, or DEM messages are not provided for this call. According to the specification, the function is declared with noexcept and classified as exception safe (“exception safe”) [SWS_CORE_01450], so that no exceptions occur during execution.

Concurrency and Limitations

As a const-qualified method, crbegin does not modify the ara::core::Map object [SWS_CORE_01450]. The resulting iterator only permits read access to the elements contained in the container.

Interaction

The iteration concept is harmonized across containers in AUTOSAR Adaptive Core:

This usage note was generated automatically based on the AUTOSAR specification R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01450
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01450@rel:R25-11#91049748
Content hash
91049748
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01450
Status: valid/unmigrated Version: rel:R25-11#91049748 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_01450@rel:R25-11#91049748
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

function crend [SWS_CORE_01451]

const_reverse_iterator crend () const noexcept;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b430dfd1877e Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The method crend of the template class ara::core::Map ([SWS_CORE_01451]) is available via header ara/core/map.h. It synchronously returns a constant reverse iterator (const_reverse_iterator) that, according to the standard behavior of std::map, marks the reaching of the end of a reverse iteration over the elements.

Error Handling and Exception Safety

The function has the specification noexcept and is classified as “exception safe” ([SWS_CORE_01451]). The call throws no exceptions and requires no checking of error codes.

Concurrency and Constraints

As a const-qualified method, crend does not modify the underlying map instance. Concurrent read accesses across multiple threads should therefore be safe as long as the instance is not concurrently modified by writing (interpretation). Question Q-5593deafcef41be3 (open)

Interaction

The signature and semantics fit into the uniform iterator interfaces of the ara::core library. Analogous crend functions exist for:

This text was created by an AI based on AUTOSAR specifications.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01451
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01451@rel:R25-11#12a4d99a
Content hash
12a4d99a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01451
Status: valid/unmigrated Version: rel:R25-11#12a4d99a 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_01451@rel:R25-11#12a4d99a
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

function emplace [SWS_CORE_01458]

template <class... Args> std::pair< iterator, bool > emplace (Args &&...         args);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: f4b86ded99ae Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage of emplace in ara::core::Map

The template member function emplace of class ara::core::Map serves to directly construct and insert a new key-value pair into the associative container [SWS_CORE_01458]. The function is defined in header #include "ara/core/map.h" and receives constructor arguments via parameter pack Args&&... args [SWS_CORE_01458]. As a result, the synchronous call returns a std::pair<iterator, bool> [SWS_CORE_01458]. Interpretation: The reference to [map] likely means that the behavior follows the C++ standard container std::map, such that the iterator refers to the element and the boolean value indicates whether the entry was newly inserted. Question Q-fa496892c1e5e15d (open)

Regarding error handling and robustness, emplace is expressly classified in the specification as not exception safe [SWS_CORE_01458]. If memory allocation or object construction fails, the implementation does not guarantee container consistency. Specific AUTOSAR error codes or messages to DET or DEM are not provided for this fundamental interface.

In module core, analogous emplace operations exist for other data types, which however possess different guarantees: While ara::core::Vector::emplace is also specified as not exception safe [SWS_CORE_01366], the implementations in ara::core::Optional [SWS_CORE_01119] and ara::core::Variant [SWS_CORE_01661] offer conditional exception safety (conditionally exception safe).

This text was generated by an AI based on the AUTOSAR specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01458
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01458@rel:R25-11#211a56e5
Content hash
211a56e5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01458
Status: valid/unmigrated Version: rel:R25-11#211a56e5 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_01458@rel:R25-11#211a56e5
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

function emplace_hint [SWS_CORE_01459]

template <class... Args> iterator emplace_hint (const_iterator position, Args &&...        args);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 15434ae97e30 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The template member function emplace_hint of the container class ara::core::Map serves to insert a new element using a suggested position as a search hint ([SWS_CORE_01459]). It is provided via the header ara/core/map.h and accepts the iterator position as well as a parameter pack args for forwarding ([SWS_CORE_01459]). The functionality corresponds to the usage in [map] ([SWS_CORE_01459]). Presumably, the passed arguments are used directly for the in-place construction of the entry, whereby accelerated insertion should be achieved if appropriately positioned. Question Q-564dd9bab5c0293f (open)

Error Handling and Exception Safety

Regarding fault tolerance, the operation is explicitly classified as not exception safe ([SWS_CORE_01459]). If an error occurs during memory allocation or the construction of the key-value pair, no guarantees regarding the container state are likely to hold. Question (open) Specific error codes or diagnostic messages such as DET or DEM are not defined for this interface ([SWS_CORE_01459]).

Concurrency and Limitations

The specification makes no statement regarding concurrency and call contexts ([SWS_CORE_01459]). Interpretation: As a state-modifying operation on ara::core::Map, emplace_hint requires external synchronization upon concurrent access by multiple threads to prevent data inconsistencies. Question Q-04b3ab58544ceba4 (open)

This note was generated by an AI; technical assessment is the user's own responsibility.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01459
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01459@rel:R25-11#a8ee3139
Content hash
a8ee3139
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01459
Status: valid/unmigrated Version: rel:R25-11#a8ee3139 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_01459@rel:R25-11#a8ee3139
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

function empty [SWS_CORE_01511]

[[nodiscard]] bool empty () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01511
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01511@rel:R25-11#fdf72c41
Content hash
fdf72c41
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01511
Status: valid/unmigrated Version: rel:R25-11#fdf72c41 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_01511@rel:R25-11#fdf72c41
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

function end [SWS_CORE_01442]

iterator end () noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01442
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01442@rel:R25-11#e8b974b2
Content hash
e8b974b2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01442
Status: valid/unmigrated Version: rel:R25-11#e8b974b2 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_01442@rel:R25-11#e8b974b2
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

function end [SWS_CORE_01443]

const_iterator end () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01443
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01443@rel:R25-11#bf006bb3
Content hash
bf006bb3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01443
Status: valid/unmigrated Version: rel:R25-11#bf006bb3 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_01443@rel:R25-11#bf006bb3
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

function equal_range [SWS_CORE_01506]

std::pair< iterator, iterator > equal_range (const key_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: f0055ff4279d Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The synchronous member function equal_range of class ara::core::Map is provided via header #include "ara/core/map.h" [SWS_CORE_01506]. It accepts a key x of type const key_type & and returns a pair of mutable iterators (std::pair<iterator, iterator>) that delimits the range of all matching entries [SWS_CORE_01506]. The behavior follows the usual semantics in [map] [SWS_CORE_01506]; since Map typically possesses unique keys, the resulting range is likely to comprise at most one element (interpretation). Question Q-d26df1f3ac3b6232 (open)

Error Handling and Exception Safety

The specification explicitly classifies the function as not exception safe [SWS_CORE_01506]. Specific error codes, return values for error signaling, or reports to DET or DEM are not defined. If the searched key is not found, both iterators of the pair are likely to be identical and point to the potential insertion position (interpretation according to [map]). Question (open)

Concurrency and Limitations

The operation is non-const and returns non-const iterators [SWS_CORE_01506]. Since no synchronization mechanisms are documented, concurrent read or write accesses to the same instance of ara::core::Map are presumably not thread-safe (interpretation) and require external synchronization. Question Q-3fb76368d9de336f (open)

Interaction

For read accesses to const instances, the overload with const_iterator pairs is available [SWS_CORE_01507]. In addition, template variants exist for heterogeneous lookup operations with an arbitrary key type K, both for non-const calls [SWS_CORE_01508] and for const calls [SWS_CORE_01509].

This usage note was generated automatically by an AI based on the specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01506
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01506@rel:R25-11#b5793b80
Content hash
b5793b80
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01506
Status: valid/unmigrated Version: rel:R25-11#b5793b80 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_01506@rel:R25-11#b5793b80
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

function equal_range [SWS_CORE_01507]

std::pair< const_iterator, const_iterator > equal_range (const key_type &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5ab6c1e53fdd Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The member function equal_range of class ara::core::Map determines the range of all entries matching a specified key on a const instance [SWS_CORE_01507]. It takes the parameter const key_type &x and returns a std::pair<const_iterator, const_iterator> that represents the bounds of the range [SWS_CORE_01507]. The function is provided via the header file ara/core/map.h and executed synchronously [SWS_CORE_01507]. The semantics correspond to the specification of [map] [SWS_CORE_01507]; accordingly, for a map with unique keys, the returned range is likely to cover a span of at most one entry. Question Q-f2bdc3bf2c17948e (open)

Error Handling and Boundary Conditions

With regard to error and exception behavior, the method is specified as not exception safe (“not exception safe”) [SWS_CORE_01507]. No specific error codes, DET messages, or DEM events are defined. Because the method is declared as const, it does not modify the state of the calling object.

Interaction

The operation is embedded in a series of related overloads within ara::core::Map:

  • For non-const instances, [SWS_CORE_01506] offers the same search, but returns modifiable iterators.
  • Via the template functions [SWS_CORE_01508] and [SWS_CORE_01509], the search can also be performed with compatible keys of type K for mutable as well as const maps.

This usage note was created automatically. It is based exclusively on the specification data of AUTOSAR Adaptive Release R25-11.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01507
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01507@rel:R25-11#17637a10
Content hash
17637a10
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01507
Status: valid/unmigrated Version: rel:R25-11#17637a10 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_01507@rel:R25-11#17637a10
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

function equal_range [SWS_CORE_01508]

template <class K> std::pair< iterator, iterator > equal_range (const K &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b2fa7c200283 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Semantics

The template member function equal_range of class ara::core::Map ([SWS_CORE_01508]) is provided via header ara/core/map.h. It serves to find the range of all elements whose key matches the passed value. The behavior follows the corresponding usage in [map] ([SWS_CORE_01508]). The synchronous call takes a key parameter x of generic type const K& and returns a std::pair<iterator, iterator> ([SWS_CORE_01508]) as return value. Interpretation: Through the generic parameter type K, the function is likely to support heterogeneous lookup, so that comparisons are possible without prior conversion to key_type. Question Q-19f39bf5b68f9a3c (open)

Error Handling and Boundary Conditions

According to the specification, the function is classified as not exception safe (not exception safe) ([SWS_CORE_01508]). Specific error codes, return values for error indication, or messages to DET or DEM are not provided. Because the function is not qualified as const, it returns modifiable iterators that permit write access to the contained values.

Interaction

The member function is part of a group of related equal_range overloads within ara::core::Map:

  • [SWS_CORE_01506]: Non-const variant for direct keys of type const key_type&.
  • [SWS_CORE_01507]: Const variant for direct keys of type const key_type&, which returns const_iterator.
  • [SWS_CORE_01509]: Const template overload for generic keys of type const K&.

This text was generated by an AI and serves as guidance in the AUTOSAR standard.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01508
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01508@rel:R25-11#9826176d
Content hash
9826176d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01508
Status: valid/unmigrated Version: rel:R25-11#9826176d 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_01508@rel:R25-11#9826176d
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

function equal_range [SWS_CORE_01509]

template <class K> std::pair< const_iterator, const_iterator > equal_range (const K &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b9ab036007bb Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The template member function equal_range of class ara::core::Map from header ara/core/map.h determines the range of elements that match a passed search key x of type K [SWS_CORE_01509]. As a const method, it returns a value pair of const iterators std::pair<const_iterator, const_iterator> and does not modify the underlying container [SWS_CORE_01509]. According to the specification, the semantics follow the corresponding usage in [map] [SWS_CORE_01509]. Interpretation: The template parameter K is likely to allow a heterogeneous search for keys, so that no temporary object of the key type needs to be constructed. Question Q-7f7a93cef3cf7d8f (open)

Error Handling and Exception Safety

Regarding exception safety, the function is explicitly classified as not exception safe (“not exception safe”) [SWS_CORE_01509]. Specific error codes or feedback to diagnostic or error interfaces (such as DET or DEM) are not provided in the specification scope for this function [SWS_CORE_01509].

Interplay and overloads

The function is directly associated with the other variants of equal_range in ara::core::Map:

This text was generated by an AI based on the specification data.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01509
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01509@rel:R25-11#c36fae35
Content hash
c36fae35
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01509
Status: valid/unmigrated Version: rel:R25-11#c36fae35 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_01509@rel:R25-11#c36fae35
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

function erase [SWS_CORE_01480]

iterator erase (iterator position);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 259948ff74a7 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The function erase of class ara::core::Map synchronously removes that element from the container that is referenced by the passed parameter position [SWS_CORE_01480]. The definition is included via header <ara/core/map.h> [SWS_CORE_01480]. As a return value, the function returns an iterator to the element of the map immediately following the removed element [SWS_CORE_01480]. The semantics follow the specification according to the corresponding usage in [map] [SWS_CORE_01480].

Regarding error handling, the operation is classified as not exception safe (not exception safe) [SWS_CORE_01480]. Specific error codes, fallback channels, or error notifications via DET or DEM are not specified for this call [SWS_CORE_01480]. Since the behavior is oriented towards [map], the passed iterator is likely to be invalidated by the erasing process, while iterators to remaining elements presumably remain intact [SWS_CORE_01480]. Passing an invalid or non-dereferenceable iterator presumably leads to undefined behavior due to lack of validation (Interpretation). Question Q-1a4a3eae317fc52e (open)

In interaction within ara::core::Map, alternative overloads exist: In addition to erasure via a mutable iterator, an overload for const_iterator is available [SWS_CORE_01481]. Likewise, elements can be removed key-based via key_type [SWS_CORE_01482] or as an entire iterator range [SWS_CORE_01483].

This usage note was created automatically based on the AUTOSAR specification for R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01480
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01480@rel:R25-11#146c1974
Content hash
146c1974
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01480
Status: valid/unmigrated Version: rel:R25-11#146c1974 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_01480@rel:R25-11#146c1974
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

function erase [SWS_CORE_01481]

iterator erase (const_iterator position);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 6e1e13cf1691 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function erase of class ara::core::Map serves for synchronous erasure of a single element at the position specified by iterator position [SWS_CORE_01481]. Declaration is done via header file ara/core/map.h [SWS_CORE_01481]. The behavior corresponds to the definition in [map], with the function returning a iterator to the succeeding element of the map [SWS_CORE_01481].

Regarding exception handling, the function is specified as “not exception safe” [SWS_CORE_01481]. Specific error codes, violations, or error messages are not defined for this operation [SWS_CORE_01481]. Interpretation: Passing an invalid or non-dereferenceable iterator as position should lead to undefined behavior, as the specification does not provide for error checks. Question Q-9a3242ae4773cc0b (open)

In interaction with the container interface of ara::core::Map, further overloads are available:

Corresponding overloads for single const_iterator positions are analogously defined for other containers such as ara::core::Vector [SWS_CORE_01372] or ara::core::BasicString [SWS_CORE_03103].

This text was generated by an AI based on the AUTOSAR specification R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01481
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01481@rel:R25-11#7a2ac2f2
Content hash
7a2ac2f2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01481
Status: valid/unmigrated Version: rel:R25-11#7a2ac2f2 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_01481@rel:R25-11#7a2ac2f2
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

function erase [SWS_CORE_01482]

size_type erase (const key_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 984e0b35e963 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The synchronous member function erase of class ara::core::Map serves to remove entries via a specified key x of type const key_type& ([SWS_CORE_01482]). The interface is included via header ara/core/map.h. The functional behavior is defined as equivalent to usage in [map] ([SWS_CORE_01482]). Interpretation: According to this C++ standard reference, the return value of type size_type should indicate the number of elements successfully erased from the container. Question Q-03637eb7e5efe502 (open)

Error Handling and Boundary Conditions

In the specification, the function is classified as not exception safe ([SWS_CORE_01482]). Specific return codes for error situations or reporting paths via DET or DEM are not defined for this container call. Interpretation: Due to the lack of exception safety, no guarantees regarding the state of the container should apply in the event of an error, which is why the caller should ensure consistent data and valid call parameters before execution. Question (open)

Interaction

The method forms the key-based counterpart to the iterator-based erase operations of ara::core::Map, which clean up individual positions ([SWS_CORE_01480], [SWS_CORE_01481]) or closed iterator ranges ([SWS_CORE_01483]). The pattern of standardized erase functions is found across containers in ara::core, such as for ara::core::Vector ([SWS_CORE_01372]) or for ara::core::BasicString ([SWS_CORE_03102]).

This usage note was generated automatically based on the specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01482
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01482@rel:R25-11#d837721c
Content hash
d837721c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01482
Status: valid/unmigrated Version: rel:R25-11#d837721c 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_01482@rel:R25-11#d837721c
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

function erase [SWS_CORE_01483]

iterator erase (const_iterator first, const_iterator last);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: ed07a80cc467 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The member function erase of container ara::core::Map serves to remove a range of values delimited by two iterators [SWS_CORE_01483]. It is defined in header #include "ara/core/map.h" and has signature iterator erase (const_iterator first, const_iterator last); [SWS_CORE_01483]. Functionally, the behavior follows standard semantics in [map] [SWS_CORE_01483]. As a return value, it provides an iterator to the element immediately following the removed range, or the end of the container [SWS_CORE_01483].

Error Handling and Restrictions

The operation is explicitly classified in the specification as not exception safe [SWS_CORE_01483]. Specific AUTOSAR error codes or messages to DET or DEM are not defined for this function. The caller will therefore likely need to ensure on their own responsibility that first and last reference a valid, well-formed range within the same instance, as no separate checks are provided (interpretation). Question Q-69e88ecc6f04bb64 (open)

Interaction

Within ara::core::Map, this range erase complements the overloads for removing single elements using iterator [SWS_CORE_01480], using const_iterator [SWS_CORE_01481], and by key key_type [SWS_CORE_01482]. Similar erase interfaces for iterator ranges can also be found in other containers of the Adaptive Core Library, namely in ara::core::Vector [SWS_CORE_01373] and ara::core::BasicString [SWS_CORE_03104].

This usage note was generated by an AI based on the AUTOSAR specification R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01483
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01483@rel:R25-11#10bf5427
Content hash
10bf5427
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01483
Status: valid/unmigrated Version: rel:R25-11#10bf5427 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_01483@rel:R25-11#10bf5427
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

function extract [SWS_CORE_01470]

node_type extract (const_iterator position);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 8c6034c84048 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function extract of class ara::core::Map extracts the element at the position designated by iterator position and returns a node of type node_type [SWS_CORE_01470]. The declaration and semantics follow the corresponding usage in [map], whereby the node is extracted directly from the associative container. The function is provided via header ara/core/map.h.

Usage and Behavior

The call takes place synchronously on an instance of ara::core::Map. Passed as parameter is a const_iterator position, which, interpretation: must refer to a valid, dereferenceable element within the called map. Due to the extraction, the element is removed from the container, while the returned node_type object assumes ownership of the node.

Error Handling and Exception Safety

Regarding exception handling, the function is explicitly classified as not exception safe according to the specification [SWS_CORE_01470]. If an exception occurs during execution, the operation guarantees no deterministic container guarantees, which is why calling code should provide appropriate safeguards.

Interaction and Alternatives

As an overload, alongside position-based extraction, the key-based variant extract(const key_type &x) is also available [SWS_CORE_01471]. The latter allows extracting an entry directly based on its key value, without having to determine an iterator manually beforehand.

This text was generated by an AI and serves as orienting documentation.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01470
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01470@rel:R25-11#bcdc040d
Content hash
bcdc040d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01470
Status: valid/unmigrated Version: rel:R25-11#bcdc040d 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_01470@rel:R25-11#bcdc040d
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

function extract [SWS_CORE_01471]

node_type extract (const key_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 2e670fb63484 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The synchronous member function extract is defined in header file #include "ara/core/map.h" within class ara::core::Map [SWS_CORE_01471]. It accepts a constant key reference const key_type &x as a parameter and returns the found element as node_type [SWS_CORE_01471]. The functional semantics refer to the corresponding usage in [map] [SWS_CORE_01471]; this likely corresponds to the C++ standard according to which the node is extracted directly from the container without having to copy key or value. Question (open)

Error Handling and Restrictions

The function is explicitly classified as \u201cnot exception safe\u201d in the specification [SWS_CORE_01471]. Specific error codes, error classes, or DET or DEM notifications are not defined in the payload. In the event of an error, there are therefore likely no guarantees regarding the preservation or consistency of the container state, which is why calling code should provide appropriate protective measures. Question (open)

Interaction

The specification element directly relates to the overload node_type extract(const_iterator position) [SWS_CORE_01470]. While the present function identifies and extracts an element via the search key [SWS_CORE_01471], the related variant enables targeted extraction via an already known iterator position [SWS_CORE_01470]. Both interfaces belong to the scope of ara::core::Map and share the same property of lacking exception safety [SWS_CORE_01470] [SWS_CORE_01471].

This usage note was generated automatically and is based exclusively on the specification requirements from AUTOSAR Adaptive R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01471
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01471@rel:R25-11#89950052
Content hash
89950052
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01471
Status: valid/unmigrated Version: rel:R25-11#89950052 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_01471@rel:R25-11#89950052
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

function find [SWS_CORE_01490]

iterator find (const key_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: a5eb50f4008c Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The member function find of class ara::core::Map is used to find an element synchronously using its key [SWS_CORE_01490]. The function is declared in header file ara/core/map.h. It takes a reference to the sought key (const key_type &x) and returns a mutable iterator to the found key-value pair; if no matching entry is found, the return corresponds to the end iterator of the map [SWS_CORE_01490].

Error Handling and Exception Safety

According to the specification, this function is classified as not exception safe [SWS_CORE_01490]. Error notifications via DET or DEM are not specified for this basic container service. If operational errors occur during comparison, exceptions of the underlying comparison operator can be propagated.

Concurrency and Interaction

Since this is a non-const member function that returns a writable iterator, concurrent access without synchronization is presumably not thread-safe. Question Q-0f9f56b506cfd318 (open) For purely read access to const instances of ara::core::Map, the overload with const_iterator is available [SWS_CORE_01491]. In addition, templated overloads support transparent lookup with compatible comparison types K, both modifying [SWS_CORE_01492] and const [SWS_CORE_01493]. In contrast to the character-based find functions in ara::core::StringView [SWS_CORE_02157] or ara::core::BasicString [SWS_CORE_03315], which return indices of type size_type and are partly noexcept, this function operates container-based via iterators.

This usage note was created automatically.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01490
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01490@rel:R25-11#e634daf0
Content hash
e634daf0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01490
Status: valid/unmigrated Version: rel:R25-11#e634daf0 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_01490@rel:R25-11#e634daf0
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

function find [SWS_CORE_01491]

const_iterator find (const key_type &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: f998f2d3213c Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The const member function find of class ara::core::Map serves to synchronously find an entry by its key [SWS_CORE_01491]. Header #include "ara/core/map.h" must be included for the call. The function expects a reference to the searched key const key_type &x as a parameter. The behavior corresponds to the specification of [map] in the C++ standard, so that upon a successful search a const_iterator to the element is returned, and otherwise end() is presumably returned [SWS_CORE_01491]. Question Q-dca69a1ec5423a8b (open)

Regarding error handling, the function is declared as not exception safe [SWS_CORE_01491]. Since the search operation is based on comparing keys, exceptions that occur are likely to result primarily from the user-defined comparison operation. No DET or DEM error messages are defined for this elementary container. Since this is a read-only operation on a const instance, concurrent access by multiple threads to the same object can be parallelized according to standard C++ container semantics, as long as no simultaneous modifications take place (interpretation). Question Q-a8ec748711885418 (open)

In interplay with other interfaces, the method complements the non-const variant [SWS_CORE_01490], which returns a modifiable iterator. For heterogeneous search operations without type conversion, template overloads for modifiable [SWS_CORE_01492] as well as constant instances [SWS_CORE_01493] are also available in ara::core::Map. Search functions of the same name also exist in the Core module for string classes such as ara::core::BasicString [SWS_CORE_03407] and ara::core::StringView [SWS_CORE_02157].

This text was created by an AI and is based on the specification of AUTOSAR Adaptive R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01491
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01491@rel:R25-11#fbef5fa9
Content hash
fbef5fa9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01491
Status: valid/unmigrated Version: rel:R25-11#fbef5fa9 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_01491@rel:R25-11#fbef5fa9
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

function find [SWS_CORE_01492]

template <class K> iterator find (const K &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5765b86e923f Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function find according to [SWS_CORE_01492] serves to synchronously find an element within an instance of ara::core::Map via header file ara/core/map.h. It accepts a reference parameter const K &x and returns a mutable iterator to the found key-value pair or the container's end iterator. The specification refers to the behavior of [map]; the generic parameter form is likely to be interpreted here as a heterogeneous key search in order to compare search keys of differing types without prior conversion. Question Q-425357890b9ea3fe (open)

Regarding error handling and exception safety, the function is explicitly classified as not exception safe ([SWS_CORE_01492]). Specific error codes, return values for error states, or DET/DEM messages are not defined in the payload. If an exception occurs during comparison or internal traversal, the call offers no exception guarantee.

In the interplay within ara::core::Map, the function forms the non-const counterpart to the const heterogeneous search [SWS_CORE_01493] as well as to the non-generic overloads [SWS_CORE_01490] and [SWS_CORE_01491], each of which is tied firmly to const key_type &x. It differs fundamentally from the identically named search functions of other containers, such as ara::core::StringView ([SWS_CORE_02157]) or ara::core::BasicString ([SWS_CORE_03315]), which perform string-based position searches and are partially declared as noexcept.

This text was generated by an AI based on the AUTOSAR R25-11 specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01492
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01492@rel:R25-11#d3a9323b
Content hash
d3a9323b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01492
Status: valid/unmigrated Version: rel:R25-11#d3a9323b 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_01492@rel:R25-11#d3a9323b
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

function find [SWS_CORE_01493]

template <class K> const_iterator find (const K &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: d1db50972285 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The template member function find in namespace ara::core::Map serves for the read-only search for elements by a key x of type K [SWS_CORE_01493]. The function is defined in header #include "ara/core/map.h" and is called synchronously on a const instance [SWS_CORE_01493]. It returns a const_iterator to the found element; interpretation: In the case of a non-existent key, the returned iterator is likely to correspond to the end iterator of the map, since according to the specification the semantics follow the behavior of [map] [SWS_CORE_01493]. Question Q-3fa354022f0bca9b (open)

Error Handling and Boundary Conditions

Regarding fault tolerance, the function is explicitly classified as not exception safe [SWS_CORE_01493]. Specific error codes, return values for error indication, or messages to DET or DEM are not defined in the specification. Callers must note that if exceptions occur during the search or comparison process, no exception safety guarantees are provided [SWS_CORE_01493].

Interaction

Within ara::core::Map, this overload completes the search operations:

  • It complements the non-const template variant iterator find(const K &x) [SWS_CORE_01492].
  • It forms the generic counterpart to the overloads with fixed const key_type &x, which are declared as non-const [SWS_CORE_01490] and const [SWS_CORE_01491].

It thus differs from the operations of the same name in ara::core::StringView (e.g. [SWS_CORE_02157]) and ara::core::BasicString (e.g. [SWS_CORE_03315]), which operate on strings, return positions of type size_type, and are declared as exception safe.

This usage note was generated by an AI based on AUTOSAR specification R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01493
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01493@rel:R25-11#a24cb137
Content hash
a24cb137
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01493
Status: valid/unmigrated Version: rel:R25-11#a24cb137 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_01493@rel:R25-11#a24cb137
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

function get_allocator [SWS_CORE_01439]

allocator_type get_allocator () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01439
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01439@rel:R25-11#6235863a
Content hash
6235863a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01439
Status: valid/unmigrated Version: rel:R25-11#6235863a 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_01439@rel:R25-11#6235863a
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

function insert [SWS_CORE_01460]

std::pair< iterator, bool > insert (const value_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: f9d1b30a5cc8 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function insert in the context of ara::core::Map serves to synchronously add a value element by copy via the parameter const value_type &x ([SWS_CORE_01460]). The operation is included via the header file ara/core/map.h. The return type std::pair<iterator, bool> follows the specification “As per corresponding usage in [map]”: Interpretation: Here, the iterator likely refers to the newly inserted or already existing element, while the boolean flag indicates successful new insertion. Question Q-b059c1d0f4dd6665 (open)

Error handling

No specific AUTOSAR error codes such as DET or DEM messages are provided in the specification. The function is explicitly declared as not exception safe (“not exception safe”) ([SWS_CORE_01460]). If an internal memory allocation or copying of the element fails, the container provides no exception or rollback guarantees; such an error would presumably lead to termination or an undefined state. Question Q-cbe74b301167bcc4 (open)

Concurrency and Limitations

The call occurs synchronously in the thread of the caller. The container operations do not have integrated synchronization, which is why the function is not reentrant with respect to the same instance. Concurrent read or write accesses must be protected by the caller.

Interaction

Complementary overloads of insert exist for ara::core::Map:

Analogous insert operations are found with adapted signatures in other Core classes such as ara::core::Vector ([SWS_CORE_01367]) and ara::core::BasicString ([SWS_CORE_03093]).

This text was generated by an AI based on the AUTOSAR Adaptive R25-11 specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01460
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01460@rel:R25-11#aac1ac6b
Content hash
aac1ac6b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01460
Status: valid/unmigrated Version: rel:R25-11#aac1ac6b 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_01460@rel:R25-11#aac1ac6b
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

function insert [SWS_CORE_01461]

std::pair< iterator, bool > insert (value_type &&x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 1bd234fe3449 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function insert of ara::core::Map synchronously inserts an element into the associative container via move semantics using an rvalue reference (value_type &&x) ([SWS_CORE_01461]). Declaration is provided via header file #include "ara/core/map.h" ([SWS_CORE_01461]). According to the specification, functional behavior complies with the corresponding usage in [map] of the C++ standard ([SWS_CORE_01461]). The function returns a std::pair<iterator, bool>; interpretation: here, the boolean value is likely to indicate whether the element was newly inserted, while the iterator points to the element in the container ([SWS_CORE_01461]). Question Q-e1901e26d8be3470 (open)

Regarding error handling and exception safety, the function is explicitly classified in the specification as not exception safe ([SWS_CORE_01461]). Specific error codes or AUTOSAR error messages like DET or DEM are not specified for this call.

In the interaction within ara::core::Map, this overload represents the rvalue-based counterpart to the copy variant insert(const value_type &) ([SWS_CORE_01460]) and the generic template version insert(P &&) ([SWS_CORE_01462]). For insertions with a position hint, overloads with a hint iterator such as insert(const_iterator, value_type &&) ([SWS_CORE_01464]) and for node handles via insert(node_type &&) ([SWS_CORE_01468]) using insert_return_type ([SWS_CORE_01418]) are also available.

This text was generated by an AI and serves as guidance. The referenced AUTOSAR specifications are authoritative.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01461
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01461@rel:R25-11#c13ca6a2
Content hash
c13ca6a2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01461
Status: valid/unmigrated Version: rel:R25-11#c13ca6a2 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_01461@rel:R25-11#c13ca6a2
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

function insert [SWS_CORE_01462]

template <class P> std::pair< iterator, bool > insert (P &&x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: d65cbbe7720d Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Template member function insert of class ara::core::Map serves to synchronously insert a compatible key-value pair via a forwarding reference P&& x into the associative container instance [SWS_CORE_01462]. It is included via header #include "ara/core/map.h" and references the semantics of [map] [SWS_CORE_01462] for its behavior. As return value, it delivers a std::pair<iterator, bool> [SWS_CORE_01462]. Interpretation: The boolean return value is expected to signal whether a new entry was created, while the iterator points to the newly inserted or already existing element. Question Q-64d2947d60792374 (open)

Regarding error handling, the function is expressly categorized in the specification as not exception safe (not exception safe) [SWS_CORE_01462]. Specific error codes, error messages, or interfaces to diagnostic and error memories such as DET or DEM are not specified for this call.

Regarding concurrency and constraints, the call modifies the state of the map; therefore, concurrent access to the same instance is presumably not reentrant and requires external protection against data races. Question (open) Execution takes place synchronously in the context of the calling thread.

In interplay within ara::core::Map, this generic function complements the direct overloads for const value_type& [SWS_CORE_01460] and value_type&& [SWS_CORE_01461]. In addition, position-based insert operations with iterator hint [SWS_CORE_01465], range operations [SWS_CORE_01466], and the insertion of node handles via insert_return_type [SWS_CORE_01418] [SWS_CORE_01468] exist.

This text was generated by an AI system based on the AUTOSAR R25-11 specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01462
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01462@rel:R25-11#cb1f8ac0
Content hash
cb1f8ac0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01462
Status: valid/unmigrated Version: rel:R25-11#cb1f8ac0 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_01462@rel:R25-11#cb1f8ac0
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

function insert [SWS_CORE_01463]

iterator insert (const_iterator position, const value_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 10e3558d4625 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

Synchronous member function insert of ara::core::Map inserts an element by copy via const reference x of type value_type into the associative container [SWS_CORE_01463]. Parameter position presumably serves as a position hint (hint) to find the insertion position within the ordered structure more efficiently, as suggested by the reference to [map]. Question Q-f1b4433fa5e3b659 (open) As return value, the function provides a iterator pointing to the newly inserted element or to the element already present with the same key.

Restrictions and Error Handling

Exception safety is explicitly not specified for the operation (not exception safe) [SWS_CORE_01463]. If, for example, internal memory allocation or creation of the key-value pair fails, no guarantees regarding restoration of a consistent state are expected to take effect. Question (open) Specific error codes, return values for error states, or mechanisms such as DET and DEM are not provided in the specification.

Interaction

The method is part of the overload family for insertion operations in ara::core::Map. Besides this copy variant with hint, rvalue-based overloads with [SWS_CORE_01464], generic variants [SWS_CORE_01465], and hint insertions for node handles [SWS_CORE_01469] are available. If no position hint is passed, insert signals insertion success via a std::pair<iterator, bool> [SWS_CORE_01460], [SWS_CORE_01461], [SWS_CORE_01462], or returns type insert_return_type [SWS_CORE_01418] for node moves [SWS_CORE_01468].

This usage note was generated automatically based on the specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01463
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01463@rel:R25-11#04f41a2f
Content hash
04f41a2f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01463
Status: valid/unmigrated Version: rel:R25-11#04f41a2f 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_01463@rel:R25-11#04f41a2f
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

function insert [SWS_CORE_01464]

iterator insert (const_iterator position, value_type &&x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 0f98eb24a131 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

Member function insert of ara::core::Map ([SWS_CORE_01464]) inserts an rvalue element synchronously into the map. The call is made via header #include "ara/core/map.h". The interface accepts a position iterator position of type const_iterator as well as the element x to be taken over via move semantics (value_type &&). As return value, it delivers a iterator pointing to the inserted element or the element already present in the container with an equivalent key. Interpretation: Parameter position is expected to serve as an insertion hint that, according to the semantics of [map], can reduce the search effort in the tree when optimally placed. Question Q-6faf9101bbca6d5e (open)

Error Handling and Concurrency

The specification explicitly identifies the function as "not exception safe" ([SWS_CORE_01464]). Specific error codes, return statuses for error notification, or DET/DEM reports do not exist. If a memory allocation or moving of the object data fails, the implementation presumably offers no assurance of a consistent state. Question Q-797dfdce12b34657 (open) Concurrent calls on the same instance are not protected; concurrent access requires external synchronization by the caller.

Interaction

Within ara::core::Map, the function complements the lvalue overload with position [SWS_CORE_01463] as well as generic forwarding [SWS_CORE_01465]. While the hintless overloads [SWS_CORE_01460] and [SWS_CORE_01461] return a std::pair<iterator, bool> to provide information about the actual insertion process, this function returns only the iterator. For node-based moves, [SWS_CORE_01469] also provides a hint variant for node_type &&.

This text was generated by an AI and serves as guidance. The AUTOSAR specification is authoritative.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01464
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01464@rel:R25-11#0595f07d
Content hash
0595f07d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01464
Status: valid/unmigrated Version: rel:R25-11#0595f07d 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_01464@rel:R25-11#0595f07d
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

function insert [SWS_CORE_01465]

template <class P> iterator insert (const_iterator position, P &&);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 3bbe432cb8f3 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function insert of container ara::core::Map inserts an element synchronously using a position hint [SWS_CORE_01465]. The function is defined in header file #include "ara/core/map.h" and takes a position iterator position of type const_iterator as well as a universal reference parameter P && [SWS_CORE_01465]. As return value, it returns a iterator [SWS_CORE_01465].

Regarding the exact behavior, the specification refers to the corresponding usage in [map] [SWS_CORE_01465]. Interpretation: The parameter position should serve as a search hint that accelerates the insertion operation if placed correctly, while the passed value is perfectly forwarded by means of P &&. Question Q-254fa0867877b25d (open) Interpretation: A new element should only be inserted if no element with an equivalent key already exists; the returned iterator presumably points to the newly inserted or already existing key-value pair. Question Q-43e2e61dfbd343c5 (open)

Regarding error handling and robustness, the function is explicitly classified in the specification as “not exception safe” [SWS_CORE_01465]. Specific error codes, AUTOSAR return values via ara::core::Result, or mechanisms such as DET/DEM are not provided for this operation.

Within ara::core::Map, this function complements related insert operations, including the overload for generic types without position hint [SWS_CORE_01462], overloads with hint for value_type [SWS_CORE_01463], [SWS_CORE_01464], and the reinsertion of node structures by means of node_type [SWS_CORE_01469].

This text was generated by an AI and serves as guidance. Only the specification is binding.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01465
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01465@rel:R25-11#90947847
Content hash
90947847
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01465
Status: valid/unmigrated Version: rel:R25-11#90947847 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_01465@rel:R25-11#90947847
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

function insert [SWS_CORE_01466]

template <class InputIterator> void insert (InputIterator first, InputIterator last);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 48d672a0bda9 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template function insert of class ara::core::Map inserts a sequence of elements from the range specified by the input iterators [first, last) into the container [SWS_CORE_01466]. According to the specification, the behavior corresponds to standard usage in std::map, where the operation executes synchronously and returns no value (void) [SWS_CORE_01466]. The function is provided via header <ara/core/map.h> [SWS_CORE_01466].

Regarding error handling, range insertion is explicitly classified as not exception safe [SWS_CORE_01466]. Specific error codes or error hooks such as DET or DEM messages are not provided within the scope of the specification. Interpretation: If errors or exceptions occur during the insertion of elements, the state of the container should remain inconsistent and no rollback of already inserted elements presumably takes place. Question Q-d91e12b19fd8af97 (open)

In interaction with other interfaces of ara::core::Map, this function serves for range population. It complements the overloads for inserting individual values via copy or move semantics ([SWS_CORE_01460], [SWS_CORE_01461]) as well as inserting fixed sets of values via std::initializer_list [SWS_CORE_01467] or node handles [SWS_CORE_01468].

This text was generated by an AI based on the AUTOSAR specification R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01466
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01466@rel:R25-11#fe3ecb74
Content hash
fe3ecb74
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01466
Status: valid/unmigrated Version: rel:R25-11#fe3ecb74 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_01466@rel:R25-11#fe3ecb74
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

function insert [SWS_CORE_01467]

void insert (std::initializer_list< value_type >);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 31f05b5b99ab Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function insert of class ara::core::Map ([SWS_CORE_01467], header file ara/core/map.h) enables the synchronous insertion of multiple elements via a std::initializer_list<value_type>. The function has no return value (void). According to the specification, the behavior follows the corresponding usage in [map] ([SWS_CORE_01467]); Interpretation: Key-value pairs whose keys already exist in the map are likely to remain unchanged and not be overwritten. Question Q-ef2b6d4ccb3b7b94 (open)

Neither specific error codes nor notifications to DET or DEM are defined for this call. Regarding exception handling, the operation is expressly declared as not exception safe ([SWS_CORE_01467]). If an error occurs during the insertion process, such as a failed memory allocation, the function presumably provides no rollback guarantee for already inserted elements. Question (open) Furthermore, reentrancy commitments are absent; concurrent accesses to the same instance must be synchronized externally by the caller.

In the interaction of the interfaces of ara::core::Map, this function complements the iterator-based range overload insert(InputIterator, InputIterator) ([SWS_CORE_01466]) as well as single-value insertions with boolean success feedback ([SWS_CORE_01460], [SWS_CORE_01461], [SWS_CORE_01462]), positional hints ([SWS_CORE_01463], [SWS_CORE_01464], [SWS_CORE_01465]), and node handles ([SWS_CORE_01468], [SWS_CORE_01469]). In ara::core::Vector, a comparable overload for initializer lists exists with [SWS_CORE_01371].

This usage note was generated by an AI based on the specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01467
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01467@rel:R25-11#6248d436
Content hash
6248d436
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01467
Status: valid/unmigrated Version: rel:R25-11#6248d436 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_01467@rel:R25-11#6248d436
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

function insert [SWS_CORE_01468]

insert_return_type insert (node_type &&nh);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 4ddf4ab42296 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function insert of ara::core::Map serves to insert an existing node handle (node_type &&nh) into the associative container [SWS_CORE_01468]. The return type is insert_return_type, which is specified according to [SWS_CORE_01418] as an implementation-defined type via iterator and node type ({<insert-return-type>}<iterator, node_type>). The call is synchronous and is provided via the header file #include "ara/core/map.h" [SWS_CORE_01468].

Regarding error behavior, the function is classified as not exception safe [SWS_CORE_01468]. Specific error codes via ara::core::Result or DET/DEM messages are not defined in the specification. Due to the normative reference to the standard behavior in [map], the operation is likely not to insert the passed node in the event of a key conflict, but rather to reflect its state in the returned insert_return_type. Question Q-622aed02304a6171 (open)

In interaction with other interfaces of ara::core::Map, this overload represents a resource-saving node adoption: Alternatively, a node can be inserted with a search hint via insert(const_iterator hint, node_type &&nh) [SWS_CORE_01469]. For regular value pairs, overloads via copy or move of value_type returning a std::pair<iterator, bool> are available [SWS_CORE_01460] [SWS_CORE_01461], as well as overloads for iterator ranges [SWS_CORE_01466] and initializer lists [SWS_CORE_01467]. In the absence of explicit synchronization guarantees in the requirements, a concurrent call on the same container instance is likely not thread-safe. Question Q-dde064827fee794e (open)

This text was generated by an AI based on the AUTOSAR specification R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01468
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01468@rel:R25-11#0710c6e4
Content hash
0710c6e4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01468
Status: valid/unmigrated Version: rel:R25-11#0710c6e4 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_01468@rel:R25-11#0710c6e4
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

function insert [SWS_CORE_01469]

iterator insert (const_iterator hint, node_type &&nh);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: adde5576a682 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The synchronous member function insert from header ara/core/map.h is used to insert an existing node handle into an instance of ara::core::Map using a position hint ([SWS_CORE_01469]). The function accepts a const_iterator hint as a suggestion for the insertion position as well as an rvalue handle nh of type node_type&& and returns a iterator to the element ([SWS_CORE_01469]). The behavior corresponds to the specification of std::map ([SWS_CORE_01469]).

Error Handling and Exception Behavior

The operation is explicitly classified as not exception safe (not exception safe) ([SWS_CORE_01469]). Specific error codes, DET/DEM messages, or return values for error indication are not defined in the payload. In the event of an error or allocation problems, the state of the container and node is likely to remain Interpretation: potentially inconsistent. Question Q-53197a46eb47a8a3 (open)

Concurrency and Limitations

The call is synchronous. Synchronization mechanisms are not specified, which is why concurrent access by multiple execution contexts to the same map instance is presumably not thread-safe. Question Q-cac4953e342ae0cc (open) Due to the rvalue semantics, the passed node is transferred into the data structure upon successful insertion.

Interaction

The function complements the node-based insertion operations of ara::core::Map: In contrast to the overload without position specification ([SWS_CORE_01468]), which returns a insert_return_type ([SWS_CORE_01418]), this variant directly returns a iterator ([SWS_CORE_01469]). Further overloads allow the insertion of value pairs with a position specification ([SWS_CORE_01463], [SWS_CORE_01464], [SWS_CORE_01465]) or without a position specification ([SWS_CORE_01460], [SWS_CORE_01461], [SWS_CORE_01462]).

This usage note was created automatically based on specification data of AUTOSAR Adaptive R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01469
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01469@rel:R25-11#a4f0e284
Content hash
a4f0e284
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01469
Status: valid/unmigrated Version: rel:R25-11#a4f0e284 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_01469@rel:R25-11#a4f0e284
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

function insert_or_assign [SWS_CORE_01476]

template <class M> std::pair< iterator, bool > insert_or_assign (const key_type &k, M &&obj);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 8d4d3b6e6825 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function insert_or_assign of container ara::core::Map from the header file #include "ara/core/map.h" inserts a key-value pair or assigns a new value to the existing key [SWS_CORE_01476]. The behavior complies with the corresponding usage in [map] [SWS_CORE_01476].

The function takes the key as a const reference const key_type &k as well as the object to be assigned as a forwarding reference M &&obj and returns a std::pair<iterator, bool> [SWS_CORE_01476]. Interpretation: The resulting pair is likely to refer to the inserted or updated element and indicate via the boolean value whether an insertion actually took place [SWS_CORE_01476]. Question Q-17b43f544456e9b9 (open)

Regarding error handling and robustness, the function is specified as not exception safe (not exception safe) [SWS_CORE_01476]. In the event of an error or if exceptions occur during assignment or allocation, the container thus does not guarantee a consistent state.

In interaction with other interfaces, ara::core::Map provides alternative overloads:

This text was generated by an AI based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01476
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01476@rel:R25-11#f581c018
Content hash
f581c018
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01476
Status: valid/unmigrated Version: rel:R25-11#f581c018 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_01476@rel:R25-11#f581c018
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

function insert_or_assign [SWS_CORE_01477]

template <class M> std::pair< iterator, bool > insert_or_assign (key_type &&k, M &&obj);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 00dcd83e6323 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The template member function insert_or_assign belongs to class ara::core::Map and is provided via header file ara/core/map.h [SWS_CORE_01477]. It accepts the key k as an rvalue reference (key_type&&) and moves it if necessary. The assigned value obj is passed as a universal reference (M&&). The behavior corresponds to standard map semantics: If the key is already present, the associated value is updated; otherwise, a new key-value pair is inserted. As a return value, the synchronous function returns a std::pair<iterator, bool> containing an iterator to the element as well as a flag indicating whether an actual new insertion occurred [SWS_CORE_01477].

Error Handling and Concurrency

In the specification, the function is expressly classified as not exception safe [SWS_CORE_01477]. Neither specific error codes nor notifications to DET or DEM are defined. If a memory allocation or a value assignment fails, the internal state of the map is likely to potentially remain inconsistent. Question Q-d83935079d35c393 (open) Likewise, concurrent accesses by multiple threads to the same container instance without external synchronization are likely not thread-safe.

Interaction

The operation is part of a family of overloads in ara::core::Map:

  • If the key must be preserved as a reference, the overload with const key_type& according to [SWS_CORE_01476] is available.
  • For targeted insertions with a position hint (const_iterator hint), the variants [SWS_CORE_01478] (constant key) and [SWS_CORE_01479] (rvalue key) offer hint-based calls that directly return a iterator.

This usage note was generated automatically and is based on the specification status of AUTOSAR Adaptive Release R25-11.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01477
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01477@rel:R25-11#98e57092
Content hash
98e57092
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01477
Status: valid/unmigrated Version: rel:R25-11#98e57092 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_01477@rel:R25-11#98e57092
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

function insert_or_assign [SWS_CORE_01478]

template <class M> iterator insert_or_assign (const_iterator hint, const key_type &k, M &&obj);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: fd478ab4b2f0 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function insert_or_assign of class ara::core::Map synchronously inserts an element with the constant key k and the value obj or updates an existing mapping [SWS_CORE_01478]. The signature accepts as parameters a position hint const_iterator hint, the key const key_type &k, and the object to be forwarded M &&obj, and returns a iterator to the inserted or updated element [SWS_CORE_01478]. The behavior is specified as “As per corresponding usage in [map]”; the iterator hint is likely to serve as an optimization hint for the insertion position [SWS_CORE_01478]. Question Q-2235ec8422bdfcfe (open)

Error Handling and Boundary Conditions

For this function, exception safety is explicitly defined as “not exception safe” [SWS_CORE_01478]. Specific error codes or mechanisms such as DET or DEM are not provided for in the specification. If an exception occurs during assignment or memory allocation, the data structure is therefore likely not to remain in any guaranteed consistent state. Question (open)

Interaction

The operation is defined in header <ara/core/map.h> for ara::core::Map [SWS_CORE_01478] and is accompanied by related overloads:

  • [SWS_CORE_01476] accepts const key_type &k without a position hint and returns std::pair<iterator, bool>.
  • [SWS_CORE_01477] accepts key_type &&k via move semantics without a position hint and returns std::pair<iterator, bool>.
  • [SWS_CORE_01479] likewise accepts a const_iterator hint, but binds the key as an rvalue key_type &&k and returns a iterator.

This text was created by an AI and serves as guidance. The official AUTOSAR specifications are authoritative.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01478
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01478@rel:R25-11#912b7dc4
Content hash
912b7dc4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01478
Status: valid/unmigrated Version: rel:R25-11#912b7dc4 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_01478@rel:R25-11#912b7dc4
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

function insert_or_assign [SWS_CORE_01479]

template <class M> iterator insert_or_assign (const_iterator hint, key_type &&k, M &&obj);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: c7ad8663d478 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function insert_or_assign of class ara::core::Map ([SWS_CORE_01479]) serves to insert a key-value pair or update an existing entry. Access is provided via header file #include "ara/core/map.h" [SWS_CORE_01479].

The overload accepts three parameters [SWS_CORE_01479]:

  • hint (const_iterator): Interpretation: According to the specification “As per corresponding usage in [map]”, this iterator is likely to serve as a position hint to speed up the insertion process. Question Q-b6ee528ffbf8cb5a (open)
  • k (key_type&&): The key to be moved.
  • obj (M&&): The value to be assigned as a universal reference.

As a return value, the function returns a iterator to the inserted or updated element [SWS_CORE_01479]. In contrast to the overloads without a search hint [SWS_CORE_01476], [SWS_CORE_01477], which return a std::pair<iterator, bool>, no boolean status is transmitted here.

The specification expressly declares the operation as not exception safe [SWS_CORE_01479]. Specific AUTOSAR error codes, DET, or DEM messages are not defined in the payload. Due to the lack of synchronization guarantees, the function is likely not thread-safe against concurrent accesses. Question Q-330cd0cd383f595c (open) Together with the variant for constant lvalue keys [SWS_CORE_01478], it completes the container's hint-based insertion operations.

This usage note was generated automatically based on the AUTOSAR specification R25-11.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01479
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01479@rel:R25-11#42b2efd6
Content hash
42b2efd6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01479
Status: valid/unmigrated Version: rel:R25-11#42b2efd6 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_01479@rel:R25-11#42b2efd6
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

function key_comp [SWS_CORE_01488]

key_compare key_comp () const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: a7e702feb7ba Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function key_comp() of class ara::core::Map provides the internal comparison object for keys ([SWS_CORE_01488]). It is included via the header #include "ara/core/map.h" and follows the usual semantics of the C++ standard container std::map ([SWS_CORE_01488]).

use

The method has the signature key_compare key_comp () const; ([SWS_CORE_01488]). The call is executed synchronously on an instance of ara::core::Map and requires no parameters ([SWS_CORE_01488]). As a return value, the function returns a function object of type key_compare, which is used for ordering and comparing the keys in the container ([SWS_CORE_01488]).

Error Handling and Exception Safety

Regarding exception safety, the function is explicitly classified as not exception safe ([SWS_CORE_01488]). Specific error codes, return values for error indication, or DET or DEM notifications are not provided in the specification ([SWS_CORE_01488]). Interpretation: The classification as not exception-safe is likely due to the fact that an exception may be thrown when copying the comparison object during return. Question Q-94a69840cc109129 (open)

Concurrency and Limitations

As a const-qualified method, key_comp() does not modify the state of the calling ara::core::Map object ([SWS_CORE_01488]). Interpretation: Parallel read calls on the same instance should be executable concurrently without additional synchronization, provided that no concurrent modifying accesses take place. Question Q-edc374b131543e96 (open)

This text was generated by an AI based on the AUTOSAR R25-11 specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01488
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01488@rel:R25-11#d519dd6c
Content hash
d519dd6c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01488
Status: valid/unmigrated Version: rel:R25-11#d519dd6c 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_01488@rel:R25-11#d519dd6c
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

function lower_bound [SWS_CORE_01498]

iterator lower_bound (const key_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: aa9bbd8219b1 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The member function lower_bound of class ara::core::Map from header ara/core/map.h looks up the first entry whose key is not less than the passed argument x [SWS_CORE_01498]. The call is performed synchronously on a non-const instance and returns a mutable iterator to the found element or the end of the container. The functional behavior follows the corresponding semantics of [map] [SWS_CORE_01498].

Error Handling and Exception Safety

According to the specification, the function is classified as not exception safe (not exception safe) [SWS_CORE_01498]. Specific error codes, return values for error states, or reports to diagnostic or error managers are not defined in the payload.

Concurrency and Limitations

Since the call returns a modifiable iterator to the internal data structure, concurrent access to the same instance without separate protection is likely not concurrency-safe or thread-safe. Question Q-aeecd89c11b1f8a0 (open)

Interaction with Related Interfaces

The function is part of a family of lookup operations within ara::core::Map:

  • For read access on const containers, the overload with const key_type & exists, which returns a const_iterator [SWS_CORE_01499].
  • For heterogeneous search keys of arbitrary types K, template-based overloads are available both for mutable instances [SWS_CORE_01500] and for const instances [SWS_CORE_01501].

This usage note was generated automatically based on the specification requirements.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01498
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01498@rel:R25-11#dc6e9549
Content hash
dc6e9549
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01498
Status: valid/unmigrated Version: rel:R25-11#dc6e9549 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_01498@rel:R25-11#dc6e9549
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

function lower_bound [SWS_CORE_01499]

const_iterator lower_bound (const key_type &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 4c7c184eb48f Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The const member function lower_bound of class ara::core::Map serves according to [SWS_CORE_01499] to find the first element whose key does not precede the passed key value. The call is synchronous and is provided via header #include "ara/core/map.h". The semantics follow the corresponding usage in std::map according to [SWS_CORE_01499].

Parameters and Return Value

The function accepts a constant reference const key_type &x to the searched key as a parameter. As a return value, it returns a const_iterator to the found element, or the end iterator if no matching entry is present. Since this is a const-qualified method, the returned iterator does not permit modifying access to the referenced elements.

Error Handling and Restrictions

Regarding exception safety, the method is expressly declared in the specification as not exception safe [SWS_CORE_01499]. Callers can thus not rely on guaranteed state preservation when errors or exceptions occur (such as during user-defined comparison operations).

Interaction with related functions

Within ara::core::Map, complementary overloads of lower_bound exist:

  • [SWS_CORE_01498] offers the non-const variant iterator lower_bound (const key_type &x) for modifiable instances.
  • [SWS_CORE_01500] and [SWS_CORE_01501] provide function templates template <class K> lower_bound (const K &x) that enable a search with compatible, alternative key types.

This text was generated by an AI based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01499
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01499@rel:R25-11#570400d1
Content hash
570400d1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01499
Status: valid/unmigrated Version: rel:R25-11#570400d1 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_01499@rel:R25-11#570400d1
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

function lower_bound [SWS_CORE_01500]

template <class K> iterator lower_bound (const K &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 2a6e55b69e38 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The template member function lower_bound belongs to the scope of class ara::core::Map and is provided via header file ara/core/map.h [SWS_CORE_01500]. It accepts a reference parameter const K &x and returns a modifiable iterator to the found element [SWS_CORE_01500]. The semantics are stated in the specification as “As per corresponding usage in [map]” [SWS_CORE_01500]. Interpretation: This is likely to mean that the call synchronously addresses the first element whose key does not precede x in terms of the ordering relation. Question Q-5403b14556f1c26c (open)

Error Handling and Boundary Conditions

Regarding exception safety, the function is explicitly classified as not exception safe [SWS_CORE_01500]. Specific error codes, error states, or notification mechanisms such as DET or DEM messages are not provided for in the scope of the specification. Further explicit requirements regarding reentrancy or the call context are not defined in the sources.

Interaction

Within ara::core::Map, the function forms the modifiable counterpart to the const template search function with const_iterator [SWS_CORE_01501]. Both generic variants complement the non-templated overloads for keys of type key_type, which are available as a mutable iterator [SWS_CORE_01498] and as const_iterator [SWS_CORE_01499], and share the same exception classification.

This usage note was generated automatically based on Release R25-11.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01500
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01500@rel:R25-11#ec7fdf4d
Content hash
ec7fdf4d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01500
Status: valid/unmigrated Version: rel:R25-11#ec7fdf4d 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_01500@rel:R25-11#ec7fdf4d
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

function lower_bound [SWS_CORE_01501]

template <class K> const_iterator lower_bound (const K &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5864db614cbd Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function lower_bound of ara::core::Map serves for key-based lookup on a const instance of the map [SWS_CORE_01501]. It is declared via header ara/core/map.h and returns a const_iterator to the found element [SWS_CORE_01501].

Usage and Semantics: The function takes a search key const K &x. According to the specification, the behavior corresponds to the usual semantics in [map] [SWS_CORE_01501]. Interpretation: By parameterizing over the type K, heterogeneous key lookup is likely supported, in which no temporary object of the key type needs to be created, provided a matching comparison operator exists. Question Q-e52e674751088371 (open) Since this is a const member function, the state of the container remains unchanged.

Error Handling and Exception Safety: No specific error codes or DET/DEM messages are provided. In the specification, the function is explicitly declared as “not exception safe” [SWS_CORE_01501]. Interpretation: In the event of any errors during key comparison, exceptions are likely propagated directly to the caller without further container guarantees taking effect. Question Q-2ac7db2f5ddf8a41 (open)

Interplay and Overloads: The function is part of a four-member overload family within ara::core::Map:

  • The present variant returns a const_iterator for generic keys [SWS_CORE_01501].
  • The non-const template overload returns a mutable iterator for generic keys [SWS_CORE_01500].
  • For direct queries with the exact key_type, non-generic variants exist as a mutable method [SWS_CORE_01498] and as a const method [SWS_CORE_01499].

This usage note was generated automatically based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01501
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01501@rel:R25-11#b554f5cf
Content hash
b554f5cf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01501
Status: valid/unmigrated Version: rel:R25-11#b554f5cf 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_01501@rel:R25-11#b554f5cf
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

function max_size [SWS_CORE_01453]

size_type max_size () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01453
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01453@rel:R25-11#4be29881
Content hash
4be29881
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01453
Status: valid/unmigrated Version: rel:R25-11#4be29881 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_01453@rel:R25-11#4be29881
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

function merge [SWS_CORE_01486]

template <class C2> void merge (Map< Key, T, C2, Allocator > &source);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 365891479fa7 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function merge of class ara::core::Map from header ara/core/map.h takes over entries from a source container [SWS_CORE_01486]. The call takes place synchronously via the signature template <class C2> void merge (Map< Key, T, C2, Allocator > &source) and provides no return value [SWS_CORE_01486]. Due to the template parameter C2, the passed lvalue reference source may have a different comparison operator, but must match in key, value, and allocator type [SWS_CORE_01486].

Regarding behavior, the specification refers to the corresponding usage in [map] [SWS_CORE_01486]. Interpretation: The reference “As per corresponding usage in [map]” is likely to mean that elements are extracted from source and inserted into the calling instance without element copying, with key collisions remaining in source. Question Q-6c7075c709802b8b (open) Specific error codes, error messages, or monitoring mechanisms such as DET or DEM are not provided for the function.

Regarding error and exception safety, merge is explicitly classified as “not exception safe” [SWS_CORE_01486]. If an error occurs during the operation, the state of the involved containers is presumably not guaranteed to be consistent. Question (open) Concurrent accesses to the same containers must be synchronized externally.

In interaction with related interfaces, a complementary rvalue overload template <class C2> void merge (Map< Key, T, C2, Allocator > &&source) [SWS_CORE_01487] exists alongside this lvalue variant. This allows the direct merging of temporary instances or instances passed via move under identical specification conditions and is likewise classified as not exception safe [SWS_CORE_01487].

This text was generated by an AI system based on AUTOSAR specification R25-11.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01486
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01486@rel:R25-11#7515e74a
Content hash
7515e74a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01486
Status: valid/unmigrated Version: rel:R25-11#7515e74a 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_01486@rel:R25-11#7515e74a
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

function merge [SWS_CORE_01487]

template <class C2> void merge (Map< Key, T, C2, Allocator > &&source);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 40d4050c1dff Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function merge of class ara::core::Map ([SWS_CORE_01487]), provided via header file #include "ara/core/map.h", serves for the synchronous merging of two maps. It takes over elements from the passed rvalue container source. Via the template parameter C2, the source map can have a differing comparison function type. The functional behavior is aligned entirely with the corresponding usage in [map] ([SWS_CORE_01487]).

With respect to robustness and error handling, the function is explicitly classified as not exception safe ([SWS_CORE_01487]). The return type is void. Specific error codes, return values, or error notifications to DET or DEM are not defined in the AUTOSAR payload. If an exception occurs during the insertion process or the key comparisons, both participating containers are likely to remain in an incomplete intermediate state, since restoration of the original state is not guaranteed. Question Q-e6d980ffc7947c39 (open)

In the interplay of interfaces, [SWS_CORE_01487] forms the rvalue counterpart to the overload with a modifiable lvalue reference [SWS_CORE_01486]. While [SWS_CORE_01486] references existing lvalues, [SWS_CORE_01487] allows the direct and efficient passing of temporary instances or explicitly moved rvalues. The source container source is modified synchronously in the course of the operation, as its elements are transferred into the target map.

This text was created by an AI and serves as guidance. The AUTOSAR specification is binding.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01487
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01487@rel:R25-11#653434fc
Content hash
653434fc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01487
Status: valid/unmigrated Version: rel:R25-11#653434fc 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_01487@rel:R25-11#653434fc
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

function operator= [SWS_CORE_01425] Upstream: RS_AP_00145

Map & operator= (const Map &x)=default;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map

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

Record
AUTOSAR/AP/record/SWS_CORE_01425
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01425@rel:R25-11#d124ce6c
Content hash
d124ce6c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01425
Status: valid/unmigrated Version: rel:R25-11#d124ce6c 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_01425@rel:R25-11#d124ce6c
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

function operator= [SWS_CORE_01427] Upstream: RS_AP_00145

Map & operator= (Map &&x) noexcept(std::allocator_traits< Allocator >::is_always_equal::value &&std::is_nothrow_move_assignable< Compare >::value);

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Exception-Sicherheitconditionally exception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01427
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01427@rel:R25-11#6a681155
Content hash
6a681155
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01427
Status: valid/unmigrated Version: rel:R25-11#6a681155 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_01427@rel:R25-11#6a681155
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

function operator= [SWS_CORE_01438]

Map & operator= (std::initializer_list< value_type >);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01438
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01438@rel:R25-11#83dd9db0
Content hash
83dd9db0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01438
Status: valid/unmigrated Version: rel:R25-11#83dd9db0 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_01438@rel:R25-11#83dd9db0
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

function operator[] [SWS_CORE_01454]

mapped_type & operator[] (const key_type &x);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01454
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01454@rel:R25-11#34b7ab26
Content hash
34b7ab26
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01454
Status: valid/unmigrated Version: rel:R25-11#34b7ab26 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_01454@rel:R25-11#34b7ab26
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

function operator[] [SWS_CORE_01455]

mapped_type & operator[] (key_type &&x);

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01455
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01455@rel:R25-11#25a5b0f0
Content hash
25a5b0f0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01455
Status: valid/unmigrated Version: rel:R25-11#25a5b0f0 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_01455@rel:R25-11#25a5b0f0
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

function rbegin [SWS_CORE_01444]

reverse_iterator rbegin () noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01444
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01444@rel:R25-11#d282c0e1
Content hash
d282c0e1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01444
Status: valid/unmigrated Version: rel:R25-11#d282c0e1 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_01444@rel:R25-11#d282c0e1
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

function rbegin [SWS_CORE_01445]

const_reverse_iterator rbegin () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01445
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01445@rel:R25-11#7046e0be
Content hash
7046e0be
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01445
Status: valid/unmigrated Version: rel:R25-11#7046e0be 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_01445@rel:R25-11#7046e0be
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

function rend [SWS_CORE_01446]

reverse_iterator rend () noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01446
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01446@rel:R25-11#df7a7ed3
Content hash
df7a7ed3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01446
Status: valid/unmigrated Version: rel:R25-11#df7a7ed3 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_01446@rel:R25-11#df7a7ed3
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

function rend [SWS_CORE_01447]

const_reverse_iterator rend () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01447
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01447@rel:R25-11#0de97c81
Content hash
0de97c81
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01447
Status: valid/unmigrated Version: rel:R25-11#0de97c81 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_01447@rel:R25-11#0de97c81
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

function size [SWS_CORE_01452]

size_type size () const noexcept;

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01452
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01452@rel:R25-11#55e19612
Content hash
55e19612
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01452
Status: valid/unmigrated Version: rel:R25-11#55e19612 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_01452@rel:R25-11#55e19612
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

function swap [SWS_CORE_01484]

void swap (Map &) noexcept(std::allocator_traits< Allocator >::is_ always_equal::value &&ara::core::is_nothrow_swappable< Compare >::value);

As per corresponding usage in [map] except for the following deviations: 1. ara::core::is_nothrow_swappable shall be used in place of the std:: implementation

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Exception-Sicherheitconditionally exception safe

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

Record
AUTOSAR/AP/record/SWS_CORE_01484
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01484@rel:R25-11#3e345d19
Content hash
3e345d19
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01484
Status: valid/unmigrated Version: rel:R25-11#3e345d19 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_01484@rel:R25-11#3e345d19
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

function try_emplace [SWS_CORE_01472]

template <class... Args> std::pair< iterator, bool > try_emplace (const key_type &k, Args &&... args);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: d4397e48e779 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function try_emplace of class ara::core::Map is provided via header ara/core/map.h [SWS_CORE_01472]. It serves the synchronous insertion of a new key-value pair. The function takes the key as a const reference const key_type& k and forwards variadic arguments Args&&... args for in-place construction of the associated value. As a return value, it returns a std::pair<iterator, bool>: the iterator points to the element with the specified key, while the boolean value indicates whether a new element was actually inserted.

Error Handling and Restrictions

The specification explicitly classifies the operation as "not exception safe" [SWS_CORE_01472]. Specific error codes, error objects, or interfaces to DET or DEM are not provided in the module profile. Since no provisions for synchronization are defined, an unprotected concurrent call on the same map instance is likely not thread-safe (interpretation). Question Q-e78bc53469fb15b8 (open)

Interaction

The semantics follows the corresponding behavior of [map] [SWS_CORE_01472], meaning that the value is likely constructed only if the key does not yet exist (interpretation). Question Q-a9ba7465140b4ef6 (open) Alongside this signature, further overloads are available:

  • Overload for rvalue references of the key key_type&& k with return of std::pair<iterator, bool> [SWS_CORE_01473].
  • Overloads with positional hint (const_iterator hint) that directly return a iterator, respectively for const key_type& [SWS_CORE_01474] and key_type&& [SWS_CORE_01475].

This text was generated by an AI and serves as an orientation guide to the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01472
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01472@rel:R25-11#3b0e3a4f
Content hash
3b0e3a4f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01472
Status: valid/unmigrated Version: rel:R25-11#3b0e3a4f 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_01472@rel:R25-11#3b0e3a4f
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

function try_emplace [SWS_CORE_01473]

template <class... Args> std::pair< iterator, bool > try_emplace (key_type &&k, Args &&... args);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 546b14066482 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Call Context

The template member function try_emplace of class ara::core::Map ([SWS_CORE_01473]) serves the conditional insertion of a new element using an rvalue key (key_type&& k) and forwarded arguments (Args&&... args). As a return value, it synchronously returns a std::pair<iterator, bool> whose iterator points to the found or newly inserted element and whose boolean value indicates whether the key was newly inserted ([SWS_CORE_01473]).

According to the specification, the functional behavior follows the usage in [map] ([SWS_CORE_01473]). Interpretation: This is likely to mean that if the key already exists, neither an insertion nor the construction of the associated object takes place, and the passed rvalue key remains unchanged. Question Q-b07d599818bd6110 (open)

Error Handling and Boundary Conditions

Regarding exception handling, the function is explicitly classified as “not exception safe” ([SWS_CORE_01473]). If an exception occurs during the allocation or construction process, no guarantees exist regarding the consistency of the container. Specific error codes or error channels via DET or DEM are not specified for this call ([SWS_CORE_01473]).

Interaction with Related Interfaces

The function declared in header ara/core/map.h is complemented by further overloads of try_emplace ([SWS_CORE_01473]):

  • [SWS_CORE_01472] binds the key as a const lvalue reference (const key_type& k) without a hint.
  • [SWS_CORE_01474] and [SWS_CORE_01475] additionally accept an iterator hint (const_iterator hint) to optimize the insertion position for lvalue and rvalue keys, respectively, and directly return an iterator.

This usage note was generated automatically and is based exclusively on the specification data of AUTOSAR R25-11.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01473
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01473@rel:R25-11#e9a70175
Content hash
e9a70175
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01473
Status: valid/unmigrated Version: rel:R25-11#e9a70175 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_01473@rel:R25-11#e9a70175
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

function try_emplace [SWS_CORE_01474]

template <class... Args> iterator try_emplace (const_iterator hint, const key_type &k, Args &&... args);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 598b8dfbcd46 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function try_emplace of class ara::core::Map serves to insert an element while specifying a position hint [SWS_CORE_01474]. It is defined via header #include "ara/core/map.h" and accepts as parameters an iterator hint of type const_iterator, a constant key reference const key_type &k, and forwarding arguments Args &&... args for the value to be constructed [SWS_CORE_01474]. As a return value, the synchronous call returns a iterator to the element [SWS_CORE_01474].

Regarding the procedure, the specification refers to the corresponding usage in [map] [SWS_CORE_01474]. Interpretation: Here, the element is likely to be constructed directly only if the key k does not already exist in the map; if it already exists, the construction is omitted and an iterator to the existing entry is returned. Question Q-73f044143aea7ff3 (open) The parameter hint presumably serves as an optimization hint to speed up the insertion process.

With regard to exception safety, the function is explicitly classified as not exception safe [SWS_CORE_01474]. Specific AUTOSAR error codes or messages to DET or DEM are not stated in the sources.

In the interplay within ara::core::Map, the function complements the related overloads:

  • The variant without a position hint with an lvalue key try_emplace(const key_type &k, Args &&... args) returns a std::pair<iterator, bool> [SWS_CORE_01472].
  • The overload for movable keys without a hint try_emplace(key_type &&k, Args &&... args) likewise returns a std::pair<iterator, bool> [SWS_CORE_01473].
  • The sibling function with a hint for rvalue keys try_emplace(const_iterator hint, key_type &&k, Args &&... args), like this overload, returns a plain iterator [SWS_CORE_01475].

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01474
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01474@rel:R25-11#5c16ab6b
Content hash
5c16ab6b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01474
Status: valid/unmigrated Version: rel:R25-11#5c16ab6b 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_01474@rel:R25-11#5c16ab6b
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

function try_emplace [SWS_CORE_01475]

template <class... Args> iterator try_emplace (const_iterator hint, key_type &&k, Args &&... args);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: eabc0f3bbb29 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The template member function try_emplace of class ara::core::Map ([SWS_CORE_01475]), defined in header <ara/core/map.h>, serves to directly insert a value element using an rvalue key k and variadic arguments args.... The semantics follow the behavior of [map] ([SWS_CORE_01475]). The iterator parameter hint is likely to serve as a position hint to optimize the insertion process. Question Q-7c1e167073282bf2 (open)

If the specified key does not yet exist in the container, a new element is constructed; if the key is already present, generation of the value is presumably omitted and k is not modified according to this interpretation. Question Q-1ee561e5f4262e42 (open) As a return value, the function returns a iterator to the newly inserted or already existing element ([SWS_CORE_01475]).

Regarding fault tolerance, the function is explicitly specified as not exception safe ([SWS_CORE_01475]). Specific error codes or DET/DEM messages are not provided for in the standard.

Within the suite of interfaces of ara::core::Map, this overload completes the insertion operations: While the overloads without hint ([SWS_CORE_01472], [SWS_CORE_01473]) return a std::pair<iterator, bool>, this variant with hint, just like the overload for constant key references ([SWS_CORE_01474]), directly returns a iterator.

This text was generated by an AI system based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01475
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01475@rel:R25-11#00240490
Content hash
00240490
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01475
Status: valid/unmigrated Version: rel:R25-11#00240490 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_01475@rel:R25-11#00240490
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

function upper_bound [SWS_CORE_01502]

iterator upper_bound (const key_type &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 3f918f51e676 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Semantics

The member function upper_bound of class ara::core::Map ([SWS_CORE_01502]) serves for synchronously finding elements in a sorted association. It takes a reference parameter x of type const key_type& and returns a mutable iterator. The functional semantics are specified as compliant with the usual usage in standard associative containers (“As per corresponding usage in [map]”) [SWS_CORE_01502]. Interpretation: The returned iterator thus points to the first element whose key is ordered strictly greater than the passed key x; if no such element exists, end() is presumably returned. Question Q-32f50e1ebee2ade4 (open)

Error Handling and Boundary Conditions

Regarding execution safety, upper_bound is explicitly classified as not exception safe (not exception safe) [SWS_CORE_01502]. Specific error codes, return values via ara::core::Result, or mechanisms such as DET/DEM are not defined for this operation. Because modifications or a lack of allocation and runtime guarantees must be taken into account, calling components must take precautions to catch or contain exceptions in the environment.

Concurrency

The specification defines no reentrancy or thread-safety guarantees for concurrent accesses to the same instance of ara::core::Map [SWS_CORE_01502]. Because the function returns a mutable iterator through which the referenced value can be modified, concurrent read or write accesses without external synchronization are likely to lead to data races. Question (open)

Interplay and overloads

The function is part of a family of search operations within ara::core::Map in header ara/core/map.h:

  • For purely reading instances, the const overload const_iterator upper_bound(const key_type& x) const is available [SWS_CORE_01503].
  • For transparent search queries with compatible comparison types K without mandatory conversion to key_type, template overloads exist for mutable iterators [SWS_CORE_01504] as well as for const accesses [SWS_CORE_01505].

This usage note was generated automatically based on the AUTOSAR Adaptive R25-11 specification.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01502
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01502@rel:R25-11#dc2f1340
Content hash
dc2f1340
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01502
Status: valid/unmigrated Version: rel:R25-11#dc2f1340 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_01502@rel:R25-11#dc2f1340
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

function upper_bound [SWS_CORE_01503]

const_iterator upper_bound (const key_type &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 43c8ad41ac50 Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Call Context

The function upper_bound is a const member function of class ara::core::Map and is included via header ara/core/map.h [SWS_CORE_01503]. It takes a reference to a search key const key_type &x and synchronously returns a const_iterator [SWS_CORE_01503]. Because the specification defines the behavior as “As per corresponding usage in [map]”, the returned iterator presumably points to the first element whose key is strictly greater than x, or to the container end if no such entry exists. Question Q-99f4d96274e44b91 (open)

Error Handling and Boundary Conditions

Regarding robustness, the function is explicitly classified as not exception safe [SWS_CORE_01503].

  • Error Messages: Neither specific error codes nor DET or DEM messages are specified in case of an error.
  • Exceptions: If an exception occurs during the search or key comparison process, the method presumably offers no exception safety guarantees; exceptions are likely propagated directly to the caller. Question Q-fe0f9bb1f0577aad (open)
  • Concurrency: Since this is a reading const operation, concurrent read access to the same instance is generally uncritical, provided no concurrent write accesses occur (interpretation). Question Q-4cc2d44a26f448b3 (open)

Interaction and Variants

The function [SWS_CORE_01503] is part of an overload family within ara::core::Map:

  • [SWS_CORE_01502] represents the non-const variant, which returns a modifiable iterator.
  • [SWS_CORE_01504] and [SWS_CORE_01505] provide corresponding template overloads for heterogeneous or transparent key types const K &x for non-const and const instances, respectively.

This usage note was generated automatically and is based exclusively on the specification data of the AUTOSAR Adaptive Platform.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01503
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01503@rel:R25-11#75ba68b5
Content hash
75ba68b5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01503
Status: valid/unmigrated Version: rel:R25-11#75ba68b5 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_01503@rel:R25-11#75ba68b5
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

function upper_bound [SWS_CORE_01504]

template <class K> iterator upper_bound (const K &x);

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: ecf35c49970e Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The template member function upper_bound of class ara::core::Map is provided via header #include "ara/core/map.h" [SWS_CORE_01504]. It accepts a reference key x of generic type K and synchronously returns a non-const iterator [SWS_CORE_01504]. The behavior corresponds to the reference semantics of std::map [SWS_CORE_01504]; the template form is likely intended to serve as a transparent lookup, allowing elements to be searched using compatible key types without having to create temporary instances of key_type. Question Q-94d1d5e5f30ab9f7 (open)

Error Handling and Exception Safety

This function is specified to be not exception safe (not exception safe) [SWS_CORE_01504]. Specific error codes, AUTOSAR-specific return values, or messages to DET or DEM are not defined for this call [SWS_CORE_01504]. If the predicate operator invoked during the comparison throws an exception, the implementation guarantees no exception safety [SWS_CORE_01504].

Concurrency and Limitations

Because upper_bound returns a mutable iterator to the found element or the container end [SWS_CORE_01504], the call is intended for non-const instances of ara::core::Map. Due to the lack of synchronization mechanisms in the specification, the function is likely not thread-safe against concurrent modifications of the container. Question Q-fd79f3f56c1de09d (open)

Interaction

The function complements the non-templated overload for exact instances of key_type [SWS_CORE_01502]. For read access to const instances of ara::core::Map, the corresponding const overloads returning a const_iterator also exist: on the one hand for const key_type &x [SWS_CORE_01503] and on the other hand for generic key types const K &x [SWS_CORE_01505].

This text was generated by an AI based on the AUTOSAR specification R25-11.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01504
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01504@rel:R25-11#55aebf43
Content hash
55aebf43
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01504
Status: valid/unmigrated Version: rel:R25-11#55aebf43 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_01504@rel:R25-11#55aebf43
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

function upper_bound [SWS_CORE_01505]

template <class K> const_iterator upper_bound (const K &x) const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: bcefd7c54186 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Semantics

The function upper_bound is a const template member function of class ara::core::Map and is provided via the header file ara/core/map.h [SWS_CORE_01505]. Via the template parameter K, the function takes a reference const K &x and returns a const_iterator [SWS_CORE_01505]. The execution semantics are specified with the reference “As per corresponding usage in [map]” [SWS_CORE_01505]. Interpretation: This reference is likely intended to mean the behavior of std::map::upper_bound, according to which an iterator to the first entry whose key is greater than the passed search argument is returned. Question Q-d32248cdd46a6294 (open)

Error Handling and Boundary Conditions

With regard to error behavior, the element is explicitly declared in the specification as “not exception safe” [SWS_CORE_01505]. Specific DET or DEM messages as well as error codes are not provided. Callers must take into account that no exception safety guarantees are granted if exceptions occur [SWS_CORE_01505].

Interaction and related requirements

The template search function for const containers complements three further overloads of upper_bound within ara::core::Map:

  • The non-const basic search iterator upper_bound(const key_type &x) with fixed key type [SWS_CORE_01502].
  • The const basic search const_iterator upper_bound(const key_type &x) const [SWS_CORE_01503].
  • The non-const template overload template <class K> iterator upper_bound(const K &x) for mutable instances [SWS_CORE_01504].

Compared to [SWS_CORE_01503], the template signature of [SWS_CORE_01505] enables heterogeneous search operations on const instances without having to create temporary objects of type key_type.

This text was generated by an AI based on the specification data.

Implementer's Guide to follow (complexity I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01505
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01505@rel:R25-11#55974770
Content hash
55974770
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01505
Status: valid/unmigrated Version: rel:R25-11#55974770 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_01505@rel:R25-11#55974770
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

function value_comp [SWS_CORE_01489]

value_compare value_comp () const;

As per corresponding usage in [map]

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5ec2dd689a7d Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function value_comp is a member function of class ara::core::Map in module core and is included via header file #include "ara/core/map.h" [SWS_CORE_01489]. It has the signature value_compare value_comp () const;, takes no parameters, and synchronously returns a comparison object of type value_compare [SWS_CORE_01489]. According to the specification, the behavior is according to the corresponding usage in [map] [SWS_CORE_01489]; interpretation: analogous to the C++ standard container std::map, this is likely to provide a function object that compares two elements (key-value pairs) based on their keys. Question Q-c3499ec8b3cfc22e (open)

Error Handling and Exception Safety

The specification notes that the function is not exception-safe (not exception safe) [SWS_CORE_01489]. Specific error codes, differing return values in case of error, or AUTOSAR diagnostic notifications (such as DET or DEM) are not provided for this call.

Concurrency and Constraints

As a const member method (const), value_comp does not modify the logical state of the instance of ara::core::Map [SWS_CORE_01489]. Due to the classification as not exception safe [SWS_CORE_01489], users should nevertheless note that no guarantees are given regarding the integrity of the state in the event of an exception. The specification does not mention specific ordering requirements or reentrancy specifications.

This text was generated by an AI based on the specification.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01489
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01489@rel:R25-11#4cc14d0a
Content hash
4cc14d0a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01489
Status: valid/unmigrated Version: rel:R25-11#4cc14d0a 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_01489@rel:R25-11#4cc14d0a
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

function ~Map [SWS_CORE_01437] Upstream: RS_AP_00145

~Map ();

As per corresponding usage in [map]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01437
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01437@rel:R25-11#7b177a25
Content hash
7b177a25
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01437
Status: valid/unmigrated Version: rel:R25-11#7b177a25 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_01437@rel:R25-11#7b177a25
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

Type alias documentation

type alias allocator_type [SWS_CORE_01406]

using allocator_type = Allocator;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolallocator_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01406
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01406@rel:R25-11#be047cd7
Content hash
be047cd7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01406
Status: valid/unmigrated Version: rel:R25-11#be047cd7 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_01406@rel:R25-11#be047cd7
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

type alias const_iterator [SWS_CORE_01414]

using const_iterator = {<const-iterator-type>};

As per corresponding usage in [map] Implementation {<const-iterator-type>} shall be an implementation-defined type

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolconst_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_01414
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01414@rel:R25-11#67b3e542
Content hash
67b3e542
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01414
Status: valid/unmigrated Version: rel:R25-11#67b3e542 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_01414@rel:R25-11#67b3e542
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

type alias const_pointer [SWS_CORE_01408]

using const_pointer = typename std::allocator_ traits<Allocator>::const_pointer;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolconst_pointer

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

Record
AUTOSAR/AP/record/SWS_CORE_01408
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01408@rel:R25-11#51487e1c
Content hash
51487e1c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01408
Status: valid/unmigrated Version: rel:R25-11#51487e1c 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_01408@rel:R25-11#51487e1c
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

type alias const_reference [SWS_CORE_01410]

using const_reference = const value_type&;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolconst_reference

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

Record
AUTOSAR/AP/record/SWS_CORE_01410
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01410@rel:R25-11#60d17031
Content hash
60d17031
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01410
Status: valid/unmigrated Version: rel:R25-11#60d17031 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_01410@rel:R25-11#60d17031
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

type alias const_reverse_iterator [SWS_CORE_01416]

using const_reverse_iterator = std::reverse_iterator<const_iterator>;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolconst_reverse_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_01416
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01416@rel:R25-11#9dbf5b5c
Content hash
9dbf5b5c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01416
Status: valid/unmigrated Version: rel:R25-11#9dbf5b5c 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_01416@rel:R25-11#9dbf5b5c
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

type alias difference_type [SWS_CORE_01412]

using difference_type = {<difference-type>};

As per corresponding usage in [map] Implementation {<difference-type>} shall be an implementation-defined type

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symboldifference_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01412
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01412@rel:R25-11#f02f920f
Content hash
f02f920f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01412
Status: valid/unmigrated Version: rel:R25-11#f02f920f 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_01412@rel:R25-11#f02f920f
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

type alias insert_return_type [SWS_CORE_01418]

using insert_return_type = {<insert-return-type>}<iterator, node_ type>;

As per corresponding usage in [map] Implementation {<insert-return-type>} shall be an implementation-defined type

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolinsert_return_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01418
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01418@rel:R25-11#f1c1f3a0
Content hash
f1c1f3a0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01418
Status: valid/unmigrated Version: rel:R25-11#f1c1f3a0 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_01418@rel:R25-11#f1c1f3a0
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

type alias iterator [SWS_CORE_01413]

using iterator = {<iterator-type>};

As per corresponding usage in [map] Implementation {<iterator-type>} shall be an implementation-defined type

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symboliterator

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

Record
AUTOSAR/AP/record/SWS_CORE_01413
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01413@rel:R25-11#55c9cd78
Content hash
55c9cd78
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01413
Status: valid/unmigrated Version: rel:R25-11#55c9cd78 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_01413@rel:R25-11#55c9cd78
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

type alias key_compare [SWS_CORE_01405]

using key_compare = Compare;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolkey_compare

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

Record
AUTOSAR/AP/record/SWS_CORE_01405
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01405@rel:R25-11#d8ad980c
Content hash
d8ad980c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01405
Status: valid/unmigrated Version: rel:R25-11#d8ad980c 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_01405@rel:R25-11#d8ad980c
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

type alias key_type [SWS_CORE_01402]

using key_type = Key;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolkey_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01402
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01402@rel:R25-11#c965c6a4
Content hash
c965c6a4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01402
Status: valid/unmigrated Version: rel:R25-11#c965c6a4 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_01402@rel:R25-11#c965c6a4
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

type alias mapped_type [SWS_CORE_01403]

using mapped_type = T;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolmapped_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01403
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01403@rel:R25-11#13b3d54b
Content hash
13b3d54b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01403
Status: valid/unmigrated Version: rel:R25-11#13b3d54b 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_01403@rel:R25-11#13b3d54b
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

type alias node_type [SWS_CORE_01417]

using node_type = {<node-type>};

As per corresponding usage in [map] Implementation {<node-type>} shall be an implementation-defined type

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolnode_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01417
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01417@rel:R25-11#4a7546df
Content hash
4a7546df
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01417
Status: valid/unmigrated Version: rel:R25-11#4a7546df 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_01417@rel:R25-11#4a7546df
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

type alias pointer [SWS_CORE_01407]

using pointer = typename std::allocator_traits<Allocator>::pointer;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolpointer

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

Record
AUTOSAR/AP/record/SWS_CORE_01407
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01407@rel:R25-11#bd62b14b
Content hash
bd62b14b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01407
Status: valid/unmigrated Version: rel:R25-11#bd62b14b 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_01407@rel:R25-11#bd62b14b
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

type alias reference [SWS_CORE_01409]

using reference = value_type&;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolreference

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

Record
AUTOSAR/AP/record/SWS_CORE_01409
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01409@rel:R25-11#17f3af7e
Content hash
17f3af7e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01409
Status: valid/unmigrated Version: rel:R25-11#17f3af7e 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_01409@rel:R25-11#17f3af7e
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

type alias reverse_iterator [SWS_CORE_01415]

using reverse_iterator = std::reverse_iterator<iterator>;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolreverse_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_01415
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01415@rel:R25-11#4371460f
Content hash
4371460f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01415
Status: valid/unmigrated Version: rel:R25-11#4371460f 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_01415@rel:R25-11#4371460f
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

type alias size_type [SWS_CORE_01411]

using size_type = {<size-type>};

As per corresponding usage in [map] Implementation {<size-type>} shall be an implementation-defined type

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolsize_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01411
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01411@rel:R25-11#8abe944f
Content hash
8abe944f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01411
Status: valid/unmigrated Version: rel:R25-11#8abe944f 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_01411@rel:R25-11#8abe944f
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

type alias value_type [SWS_CORE_01404]

using value_type = std::pair<const Key, T>;

As per corresponding usage in [map]

Header-Datei#include "ara/core/map.h"
Scopeclass ara::core::Map
Symbolvalue_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01404
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01404@rel:R25-11#8ecb2597
Content hash
8ecb2597
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01404
Status: valid/unmigrated Version: rel:R25-11#8ecb2597 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_01404@rel:R25-11#8ecb2597
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