DEENESPTFRRUARHIKOZHNL

class ara::core::Span

[SWS_CORE_01900]

template <typename T, std::size_t Extent = dynamic_extent> class Span {...};

Implementation of std::span container from [views.span]

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

User GuideAI-GENERATED

Provides an efficient, non-owning view of contiguous memory areas of arbitrary containers or buffers.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: cd35d03068cb Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides an efficient, non-owning view of contiguous memory areas of arbitrary containers or buffers.

The class ara::core::Span provides a non-owning, contiguous view of memory areas and allows efficient encapsulation of arrays or buffers without copy overhead [SWS_CORE_01942]. Applications typically use the class for passing data windows and for creating subviews by means of slicing operations. Callers must strictly ensure that the lifetime of the underlying memory outlasts that of the view and that valid bounds are observed during operations such as subspan(), since out-of-bounds violations trigger undefined behavior [SWS_CORE_01966].

Context

The class ara::core::Span represents a standard-compliant implementation of a contiguous sequence view based on std::span from [views.span]. As a lightweight abstraction, it encapsulates a pointer to the first element and the number of available elements without owning the data itself. It serves as a uniform interface between components that provide data and algorithms that process this data.

The primary interaction partners include:

SpanKontext Anwendung Anwendung Span Span Anwendung->Span creates and uses Speicherpuffer Speicherpuffer Anwendung->Speicherpuffer verwaltet Lebensdauer Span->Speicherpuffer referenziert Bereich

Context diagram: Integration of ara::core::Span as a non-owning view between application logic and memory buffers. Sources: [SWS_CORE_01942], [SWS_CORE_01945], [SWS_CORE_01951]

Lifecycle

Instances of ara::core::Span are designed as pure value objects without their own resource management. Creation is performed either as an empty span via the default constructor [SWS_CORE_01941], by directly specifying start address and element count [SWS_CORE_01942], or via a pointer range consisting of begin and end [SWS_CORE_01943]. In addition, typed constructors for C arrays [SWS_CORE_01944], containers of type ara::core::Array [SWS_CORE_01945] [SWS_CORE_01946], and generic containers [SWS_CORE_01947] [SWS_CORE_01948] are available. Existing spans can be duplicated via the default copy constructor [SWS_CORE_01949] or via converting constructors with compatible element types and extents [SWS_CORE_01950].

Since ara::core::Span assumes no ownership whatsoever of the referenced data, the destructor has the default implementation and is specified as noexcept=default [SWS_CORE_01951]. This leads to the fundamental invariant (Interpretation: Assumption 1) that the lifetime of the underlying memory buffer must always at least span the lifetime of all span objects referencing it; if the buffer is destroyed, remaining spans become invalid. Question (open) Assignment via the assignment operator occurs trivially via shallow copy [SWS_CORE_01952]. Since all access functions are declared as noexcept and have no internal synchronization mechanisms, concurrent read access to the same span instance from multiple threads is likely safe provided that the underlying memory area is not modified concurrently (Interpretation: Assumption 2). Question Q-be5a38c1097c4ee1 (open)

Usage Path

A typical use case comprises encapsulating an existing data block, checking dimensions, extracting relevant sections, and accessing the elements:

  1. View creation: The application instantiates ara::core::Span on a contiguous buffer, for instance from an instance of ara::core::Array [SWS_CORE_01945] or via raw data pointers with length specification [SWS_CORE_01942].
  2. State and dimension checking: Before further processing, the sizing is verified via empty() [SWS_CORE_01969], size() [SWS_CORE_01967], or size_bytes() [SWS_CORE_01968], or the base address is queried using data() [SWS_CORE_01971].
  3. Slicing / subspan formation: To focus on relevant data windows, the application creates subviews via prefixes with first() [SWS_CORE_01961] [SWS_CORE_01962], suffixes with last() [SWS_CORE_01963] [SWS_CORE_01964], or arbitrary sub-ranges using subspan() [SWS_CORE_01965] [SWS_CORE_01966].
  4. Element processing: Actual data access is performed randomly via the subscript operator operator[] [SWS_CORE_01970], boundary element accesses via front() [SWS_CORE_01959] and back() [SWS_CORE_01960], or sequentially via iterators from begin() to end() [SWS_CORE_01972] [SWS_CORE_01973].
Typischer Nutzungspfad von ara::core::SpanApplicationSpanSpeicherpufferSpan(puffer, anzahl)Referenziert Datenbereichsubspan(offset, count)Return sub-viewoperator[](idx)Element dereferenzierenElementreferenz

Sequence diagram: Typical call sequence for creating, sub-slicing, and querying elements of a view. Sources: [SWS_CORE_01942], [SWS_CORE_01966], [SWS_CORE_01970]

Error Scenarios

All methods of ara::core::Span are declared as exception-safe and noexcept; neither are C++ exceptions thrown nor error objects such as ara::core::ErrorCode returned. Error states result primarily from violations of preconditions, which lead directly to undefined behavior (Undefined Behavior):

  • Size exceeded for prefixes and suffixes: If a count is requested in first() that exceeds the current size (Count > size() or count > size(), respectively), the behavior is undefined [SWS_CORE_01961] [SWS_CORE_01962]. The identical precondition violation also leads to undefined behavior in last() [SWS_CORE_01963] [SWS_CORE_01964].
  • Invalid sub-range parameters in subspan: Calling subspan() mandatorily requires that offset <= size() holds and, with explicitly specified count (not equal to dynamic_extent), that count <= size() - offset is also observed. Non-compliance leads to undefined behavior [SWS_CORE_01966].
  • Out of bounds on element access: The subscript operator operator[] [SWS_CORE_01970] as well as the access functions front() [SWS_CORE_01959] and back() [SWS_CORE_01960] perform no bounds checking. Access outside valid bounds is likely to lead directly to undefined memory accesses (Interpretation: Assumption 3). Question (open)

This guide is based on the AUTOSAR Adaptive R25-11 specification and was generated automatically.

Member map

Class diagram

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

G nara__core__Span436 Span + extent + Span() + operator=() + ~Span() + back() + data() + front() + operator[]() + begin() + cbegin() + cend() + crbegin() + crend() + end() + rbegin() + rend() + empty() … 5 weitere

Detail view

Select an entry in the outline.

Constructors and destructor

Span function 10

≙ [views.span]

Overloads Span 10
constexpr Span () noexcept; SWS_CORE_01941
constexpr Span (pointer ptr, size_type count) noexcept; SWS_CORE_01942
constexpr Span (pointer firstElem, pointer lastElem) noexcept; SWS_CORE_01943
template <std::size_t N> constexpr Span (element_type(&arr)[N]) noexcept; SWS_CORE_01944
template <typename U, std::size_t N> constexpr Span (ara::core::Array< U, N > &arr) noexcept; SWS_CORE_01945
template <typename U, std::size_t N> constexpr Span (const ara::core::Array< U, N > &arr) noexcept; SWS_CORE_01946
template <typename Container> constexpr Span (Container &cont) noexcept; SWS_CORE_01947
template <typename Container> constexpr Span (const Container &cont) noexcept; SWS_CORE_01948
constexpr Span (const Span &other) noexcept=default; SWS_CORE_01949
template <typename U, std::size_t N> constexpr Span (const Span< U, N > &s) noexcept; SWS_CORE_01950
~Span function

≙ [views.span]

~Span () noexcept=default;

Methods

back function

≙ [views.span]

constexpr reference back () const noexcept;
begin function

≙ [views.span]

constexpr iterator begin () const noexcept;
cbegin function

≙ [views.span]

constexpr const_iterator cbegin () const noexcept;
cend function

≙ [views.span]

constexpr const_iterator cend () const noexcept;
crbegin function

≙ [views.span]

constexpr const_reverse_iterator crbegin () const noexcept;
crend function

≙ [views.span]

constexpr const_reverse_iterator crend () const noexcept;
data function

≙ [views.span]

constexpr pointer data () const noexcept;
empty function

≙ [views.span]

constexpr bool empty () const noexcept;
end function

≙ [views.span]

constexpr iterator end () const noexcept;
first function 2

≙ [views.span]

Overloads first 2
template <std::size_t Count> constexpr Span< element_type, Count > first () const noexcept; SWS_CORE_01961
constexpr Span< element_type, dynamic_extent > first (size_type count) const noexcept; SWS_CORE_01962
front function

≙ [views.span]

constexpr reference front () const noexcept;
last function 2

≙ [views.span]

Overloads last 2
template <std::size_t Count> constexpr Span< element_type, Count > last () const noexcept; SWS_CORE_01963
constexpr Span< element_type, dynamic_extent > last (size_type count) const noexcept; SWS_CORE_01964
rbegin function

≙ [views.span]

constexpr reverse_iterator rbegin () const noexcept;
rend function

≙ [views.span]

constexpr reverse_iterator rend () const noexcept;
size function

≙ [views.span]

constexpr size_type size () const noexcept;
size_bytes function

≙ [views.span]

constexpr size_type size_bytes () const noexcept;
subspan function 2

≙ [views.span]

Overloads subspan 2
template <std::size_t Offset, std::size_t Count = dynamic_extent> constexpr auto subspan () const noexcept -> Span< element_type, {<extent-or-dynamicextent>} >; SWS_CORE_01965
constexpr Span< element_type, dynamic_extent > subspan (size_type offset, size_type count=dynamic_extent) const noexcept; SWS_CORE_01966

Operators

operator= function

≙ [views.span]

constexpr Span & operator= (const Span &other) noexcept=default;
operator[] function

≙ [views.span]

constexpr reference operator[] (size_type idx) const noexcept;

Type aliases

const_iterator type alias

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

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

≙ [views.span]

using const_pointer = const element_type*;
const_reference type alias

≙ [views.span]

using const_reference = const element_type&;

≙ [views.span]

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

≙ [views.span]

using difference_type = std::ptrdiff_t;
element_type type alias

≙ [views.span]

using element_type = T;
iterator type alias

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

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

≙ [views.span]

using pointer = element_type*;
reference type alias

≙ [views.span]

reverse_iterator type alias

≙ [views.span]

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

≙ [views.span]

using size_type = std::size_t;
value_type type alias

≙ [views.span]

using value_type = typename std::remove_cv<element_type>::type;

Constants

extent variable

≙ [views.span]

static constexpr size_type extent = Extent;

Method documentation

function Span [SWS_CORE_01941]

constexpr Span () noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01941
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01941@rel:R25-11#d1d35811
Content hash
d1d35811
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01941
Status: valid/unmigrated Version: rel:R25-11#9156901e Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01941@rel:R25-11#9156901e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d1d358112026-09-30
  • R19-11rel:R19-11#92102a1d2026-10-14
  • R20-11rel:R20-11#d5ec64462026-10-14
  • R21-11rel:R21-11#82017abe2026-10-14
  • R22-11rel:R22-11#ae7aebea2026-10-14
  • R23-11rel:R23-11#de3afc972026-10-14
  • R24-11rel:R24-11#6eafb1ec2026-10-14
  • R25-11rel:R25-11#9156901e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01942]

constexpr Span (pointer ptr, size_type count) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01942
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01942@rel:R25-11#e19cd3dc
Content hash
e19cd3dc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01942
Status: valid/unmigrated Version: rel:R25-11#299f6b62 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01942@rel:R25-11#299f6b62
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e19cd3dc2026-09-30
  • R19-11rel:R19-11#776cdd672026-10-14
  • R20-11rel:R20-11#61dc7a1f2026-10-14
  • R21-11rel:R21-11#8dcb1ef62026-10-14
  • R22-11rel:R22-11#24557a632026-10-14
  • R23-11rel:R23-11#d635007b2026-10-14
  • R24-11rel:R24-11#a845c6a62026-10-14
  • R25-11rel:R25-11#299f6b622026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01943]

constexpr Span (pointer firstElem, pointer lastElem) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01943
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01943@rel:R25-11#04026182
Content hash
04026182
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01943
Status: valid/unmigrated Version: rel:R25-11#f07a49e2 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01943@rel:R25-11#f07a49e2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#040261822026-09-30
  • R19-11rel:R19-11#2ae7bdee2026-10-14
  • R20-11rel:R20-11#83f360a32026-10-14
  • R21-11rel:R21-11#0e517efd2026-10-14
  • R22-11rel:R22-11#d4ce3e812026-10-14
  • R23-11rel:R23-11#90a27ba72026-10-14
  • R24-11rel:R24-11#495b0a912026-10-14
  • R25-11rel:R25-11#f07a49e22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01944]

template <std::size_t N> constexpr Span (element_type(&arr)[N]) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01944
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01944@rel:R25-11#3ec55e72
Content hash
3ec55e72
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01944
Status: valid/unmigrated Version: rel:R25-11#0f1aec35 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01944@rel:R25-11#0f1aec35
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3ec55e722026-09-30
  • R19-11rel:R19-11#1f31cf432026-10-14
  • R20-11rel:R20-11#d04cbec42026-10-14
  • R21-11rel:R21-11#009810b12026-10-14
  • R22-11rel:R22-11#cf7804dc2026-10-14
  • R23-11rel:R23-11#93af3b072026-10-14
  • R24-11rel:R24-11#868613562026-10-14
  • R25-11rel:R25-11#0f1aec352026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01945]

template <typename U, std::size_t N> constexpr Span (ara::core::Array< U, N > &arr) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01945
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01945@rel:R25-11#49d12136
Content hash
49d12136
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01945
Status: valid/unmigrated Version: rel:R25-11#96f60344 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01945@rel:R25-11#96f60344
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#49d121362026-09-30
  • R19-11rel:R19-11#0c6f9ffa2026-10-14
  • R20-11rel:R20-11#10ccc4192026-10-14
  • R21-11rel:R21-11#a09556a32026-10-14
  • R22-11rel:R22-11#864dba032026-10-14
  • R23-11rel:R23-11#bc982d3f2026-10-14
  • R24-11rel:R24-11#776fe3732026-10-14
  • R25-11rel:R25-11#96f603442026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01946]

template <typename U, std::size_t N> constexpr Span (const ara::core::Array< U, N > &arr) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01946
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01946@rel:R25-11#65028132
Content hash
65028132
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01946
Status: valid/unmigrated Version: rel:R25-11#efbbf070 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01946@rel:R25-11#efbbf070
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#650281322026-09-30
  • R19-11rel:R19-11#ac0821ee2026-10-14
  • R20-11rel:R20-11#6ef79a1b2026-10-14
  • R21-11rel:R21-11#f091ae842026-10-14
  • R22-11rel:R22-11#5a2950dc2026-10-14
  • R23-11rel:R23-11#7b62ffc12026-10-14
  • R24-11rel:R24-11#f874a71f2026-10-14
  • R25-11rel:R25-11#efbbf0702026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01947]

template <typename Container> constexpr Span (Container &cont) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01947
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01947@rel:R25-11#a03f736a
Content hash
a03f736a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01947
Status: valid/unmigrated Version: rel:R25-11#15533b27 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01947@rel:R25-11#15533b27
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a03f736a2026-09-30
  • R19-11rel:R19-11#0c43e3502026-10-14
  • R20-11rel:R20-11#9daa25562026-10-14
  • R21-11rel:R21-11#a79b543e2026-10-14
  • R22-11rel:R22-11#cf7257342026-10-14
  • R23-11rel:R23-11#b1685ade2026-10-14
  • R24-11rel:R24-11#a7feb0452026-10-14
  • R25-11rel:R25-11#15533b272026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01948]

template <typename Container> constexpr Span (const Container &cont) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01948
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01948@rel:R25-11#f0031a21
Content hash
f0031a21
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01948
Status: valid/unmigrated Version: rel:R25-11#ca187caf Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01948@rel:R25-11#ca187caf
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f0031a212026-09-30
  • R19-11rel:R19-11#a8d7e5ab2026-10-14
  • R20-11rel:R20-11#6bfd551b2026-10-14
  • R21-11rel:R21-11#a7c4cdda2026-10-14
  • R22-11rel:R22-11#af9ace072026-10-14
  • R23-11rel:R23-11#8fa60bd02026-10-14
  • R24-11rel:R24-11#d0016f742026-10-14
  • R25-11rel:R25-11#ca187caf2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01949]

constexpr Span (const Span &other) noexcept=default;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01949
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01949@rel:R25-11#f2b83e81
Content hash
f2b83e81
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01949
Status: valid/unmigrated Version: rel:R25-11#e0c88efb Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01949@rel:R25-11#e0c88efb
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f2b83e812026-09-30
  • R19-11rel:R19-11#178d82d72026-10-14
  • R20-11rel:R20-11#ba14f11f2026-10-14
  • R21-11rel:R21-11#95aa17f52026-10-14
  • R22-11rel:R22-11#f5d315962026-10-14
  • R23-11rel:R23-11#63e2b9812026-10-14
  • R24-11rel:R24-11#363dcb8d2026-10-14
  • R25-11rel:R25-11#e0c88efb2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Span [SWS_CORE_01950]

template <typename U, std::size_t N> constexpr Span (const Span< U, N > &s) noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01950
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01950@rel:R25-11#ef77bbac
Content hash
ef77bbac
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01950
Status: valid/unmigrated Version: rel:R25-11#0518a9e7 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01950@rel:R25-11#0518a9e7
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ef77bbac2026-09-30
  • R19-11rel:R19-11#644765992026-10-14
  • R20-11rel:R20-11#c95936c32026-10-14
  • R21-11rel:R21-11#180043a62026-10-14
  • R22-11rel:R22-11#42c8ee322026-10-14
  • R23-11rel:R23-11#de8460672026-10-14
  • R24-11rel:R24-11#e49bcc5e2026-10-14
  • R25-11rel:R25-11#0518a9e72026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function back [SWS_CORE_01960]

constexpr reference back () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01960
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01960@rel:R25-11#14876bf9
Content hash
14876bf9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01960
Status: valid/unmigrated Version: rel:R25-11#8d035d2e Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01960@rel:R25-11#8d035d2e
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#14876bf92026-09-30
  • R21-11rel:R21-11#1bf798dc2026-10-14
  • R22-11rel:R22-11#f948a4f62026-10-14
  • R23-11rel:R23-11#79896bd42026-10-14
  • R24-11rel:R24-11#ca38de882026-10-14
  • R25-11rel:R25-11#8d035d2e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function begin [SWS_CORE_01972]

constexpr iterator begin () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01972
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01972@rel:R25-11#d4915b33
Content hash
d4915b33
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01972
Status: valid/unmigrated Version: rel:R25-11#2d12f82e Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01972@rel:R25-11#2d12f82e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d4915b332026-09-30
  • R19-11rel:R19-11#f0514c0a2026-10-14
  • R20-11rel:R20-11#6f313b002026-10-14
  • R21-11rel:R21-11#6f313b002026-10-14
  • R22-11rel:R22-11#8da7cddd2026-10-14
  • R23-11rel:R23-11#9ff429f72026-10-14
  • R24-11rel:R24-11#860b85162026-10-14
  • R25-11rel:R25-11#2d12f82e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function cbegin [SWS_CORE_01974]

constexpr const_iterator cbegin () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01974
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01974@rel:R25-11#843d3cd8
Content hash
843d3cd8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01974
Status: valid/unmigrated Version: rel:R25-11#4618ef74 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01974@rel:R25-11#4618ef74
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#843d3cd82026-09-30
  • R19-11rel:R19-11#0a070c0a2026-10-14
  • R20-11rel:R20-11#d2d2f7c72026-10-14
  • R21-11rel:R21-11#10835a902026-10-14
  • R22-11rel:R22-11#ae3183582026-10-14
  • R23-11rel:R23-11#6dcea62a2026-10-14
  • R24-11rel:R24-11#d466b4382026-10-14
  • R25-11rel:R25-11#4618ef742026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function cend [SWS_CORE_01975]

constexpr const_iterator cend () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01975
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01975@rel:R25-11#31912a8b
Content hash
31912a8b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01975
Status: valid/unmigrated Version: rel:R25-11#f9034940 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01975@rel:R25-11#f9034940
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#31912a8b2026-09-30
  • R19-11rel:R19-11#7abc90612026-10-14
  • R20-11rel:R20-11#3f10716a2026-10-14
  • R21-11rel:R21-11#3f10716a2026-10-14
  • R22-11rel:R22-11#52887d552026-10-14
  • R23-11rel:R23-11#c6b47a0a2026-10-14
  • R24-11rel:R24-11#347610ac2026-10-14
  • R25-11rel:R25-11#f90349402026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function crbegin [SWS_CORE_01978]

constexpr const_reverse_iterator crbegin () const noexcept;

As per corresponding usage in [views.span]

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

The member function crbegin of class ara::core::Span returns a constant reverse iterator pointing to the last element of the referenced sequence [SWS_CORE_01978]. The function requires header file #include "ara/core/span.h" and follows the usage in [views.span] [SWS_CORE_01978]. The return value of type const_reverse_iterator allows read-only reverse iteration over the memory range described by the span [SWS_CORE_01978].

Since crbegin is declared as constexpr, evaluation can already take place at compile time [SWS_CORE_01978]. Regarding error handling, the function is declared as noexcept and classified as exception safe; consequently, it throws no exceptions, and neither error codes nor DET or DEM messages exist [SWS_CORE_01978].

Regarding concurrency and restrictions, the method is const-qualified; interpretation: parallel read calls on the same instance should be thread-safe without external synchronization as long as the underlying memory range is not modified at the same time [SWS_CORE_01978]. Question Q-d63c0354556f1d23 (open)

In interaction with other elements of ara::core, crbegin follows a uniform pattern for containers and views:

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01978
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01978@rel:R25-11#57748a99
Content hash
57748a99
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01978
Status: valid/unmigrated Version: rel:R25-11#4595c1d5 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01978@rel:R25-11#4595c1d5
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#57748a992026-09-30
  • R19-11rel:R19-11#6d6bfe3f2026-10-14
  • R20-11rel:R20-11#c3ef8e1c2026-10-14
  • R21-11rel:R21-11#c3ef8e1c2026-10-14
  • R22-11rel:R22-11#d3322d592026-10-14
  • R23-11rel:R23-11#d2073fde2026-10-14
  • R24-11rel:R24-11#2624b3cc2026-10-14
  • R25-11rel:R25-11#4595c1d52026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function crend [SWS_CORE_01979]

constexpr const_reverse_iterator crend () const noexcept;

As per corresponding usage in [views.span]

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

use

The member function crend of template class ara::core::Span ([SWS_CORE_01979]) synchronously returns a constant reverse iterator of type const_reverse_iterator. The function requires inclusion of header file ara/core/span.h and takes no invocation parameters. According to the specification, the behavior follows standard usage in [views.span]. Interpretation: The returned iterator should represent the theoretical position immediately preceding the first element of the range and thus serve as a termination condition during reverse iteration. Question Q-83d4ed4a6e68fb19 (open)

Error Handling and Concurrency

The function is declared as noexcept and explicitly classified as exception safe ([SWS_CORE_01979]). A call triggers no exceptions, and neither error return values nor specific error logging via DET or DEM exist. Since crend is defined as constexpr, evaluation can take place directly at compile time. As a pure const member function, it does not alter the state of the instance; concurrent read accesses to the same Span instance should therefore be thread-safe without synchronization. Question Q-d90bd6b4f01c8af6 (open)

Interaction

The behavior of crend in ara::core::Span fits seamlessly into the sequence and container interfaces of ara::core:

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01979
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01979@rel:R25-11#e0769a9f
Content hash
e0769a9f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01979
Status: valid/unmigrated Version: rel:R25-11#6a811c86 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01979@rel:R25-11#6a811c86
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e0769a9f2026-09-30
  • R19-11rel:R19-11#25fe73fe2026-10-14
  • R20-11rel:R20-11#fce767802026-10-14
  • R21-11rel:R21-11#fce767802026-10-14
  • R22-11rel:R22-11#139854fb2026-10-14
  • R23-11rel:R23-11#8006d3b72026-10-14
  • R24-11rel:R24-11#ec7485ca2026-10-14
  • R25-11rel:R25-11#6a811c862026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function data [SWS_CORE_01971]

constexpr pointer data () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01971
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01971@rel:R25-11#d8001abc
Content hash
d8001abc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01971
Status: valid/unmigrated Version: rel:R25-11#7097fdc8 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01971@rel:R25-11#7097fdc8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d8001abc2026-09-30
  • R19-11rel:R19-11#529da77c2026-10-14
  • R20-11rel:R20-11#a9a198042026-10-14
  • R21-11rel:R21-11#a9a198042026-10-14
  • R22-11rel:R22-11#c6d87f642026-10-14
  • R23-11rel:R23-11#bac3a40a2026-10-14
  • R24-11rel:R24-11#a69808352026-10-14
  • R25-11rel:R25-11#7097fdc82026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function empty [SWS_CORE_01969]

constexpr bool empty () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01969
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01969@rel:R25-11#28a9dd80
Content hash
28a9dd80
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01969
Status: valid/unmigrated Version: rel:R25-11#152c94d4 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01969@rel:R25-11#152c94d4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#28a9dd802026-09-30
  • R19-11rel:R19-11#a83137f42026-10-14
  • R20-11rel:R20-11#ebd5dd652026-10-14
  • R21-11rel:R21-11#ebd5dd652026-10-14
  • R22-11rel:R22-11#195bad372026-10-14
  • R23-11rel:R23-11#9ee552e42026-10-14
  • R24-11rel:R24-11#c87eb0f22026-10-14
  • R25-11rel:R25-11#152c94d42026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function end [SWS_CORE_01973]

constexpr iterator end () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01973
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01973@rel:R25-11#e1a89ad9
Content hash
e1a89ad9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01973
Status: valid/unmigrated Version: rel:R25-11#3c49d49b Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01973@rel:R25-11#3c49d49b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e1a89ad92026-09-30
  • R19-11rel:R19-11#e65fd1772026-10-14
  • R20-11rel:R20-11#53f8ed9e2026-10-14
  • R21-11rel:R21-11#763f19742026-10-14
  • R22-11rel:R22-11#c222a1c22026-10-14
  • R23-11rel:R23-11#0fc6aa732026-10-14
  • R24-11rel:R24-11#431cfbcc2026-10-14
  • R25-11rel:R25-11#3c49d49b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function first [SWS_CORE_01961]

template <std::size_t Count> constexpr Span< element_type, Count > first () const noexcept;

As per corresponding usage in [views.span]

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

The template member function first<Count>() of class ara::core::Span synchronously creates a new subspan over the first Count elements of the current span and returns it as ara::core::Span<element_type, Count> [SWS_CORE_01961]. The function is declared in header file ara/core/span.h and specified as constexpr as well as const noexcept [SWS_CORE_01961].

Regarding error handling, the function is classified as exception safe (exception safe) and throws no exceptions [SWS_CORE_01961]. Specific error codes, error return values, or notifications to DET or DEM are not defined. However, a mandatory precondition exists: Behavior is undefined if template parameter Count is greater than the runtime size of the span (Count > size()) [SWS_CORE_01961]. Callers must therefore ensure that sufficient elements are present.

Since the method is declared as const and does not modify the underlying Span object, concurrent read access across multiple threads is expected to be thread-safe without additional locks (interpretation). Question Q-215ae1cc00b7a590 (open) If the addressed elements of the span are modified by other threads in the meantime, access must be synchronized externally.

This text was created by an AI. All technical details are based exclusively on the specification of AUTOSAR R25-11.

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Exception-Sicherheitexception safe
Undefiniertes VerhaltenThe behavior of this function is undefined if: (Count > size())

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

Record
AUTOSAR/AP/record/SWS_CORE_01961
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01961@rel:R25-11#ef4cd853
Content hash
ef4cd853
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01961
Status: valid/unmigrated Version: rel:R25-11#613c36d2 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01961@rel:R25-11#613c36d2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ef4cd8532026-09-30
  • R19-11rel:R19-11#3ce97a632026-10-14
  • R20-11rel:R20-11#3f7de8442026-10-14
  • R21-11rel:R21-11#a1b1fd652026-10-14
  • R22-11rel:R22-11#fde971622026-10-14
  • R23-11rel:R23-11#69e3a4572026-10-14
  • R24-11rel:R24-11#571696722026-10-14
  • R25-11rel:R25-11#613c36d22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function first [SWS_CORE_01962]

constexpr Span< element_type, dynamic_extent > first (size_type count) const noexcept;

As per corresponding usage in [views.span]

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

use

The member function first is called on an instance of ara::core::Span (provided via header ara/core/span.h) to create a subview of the first elements of a sequence [SWS_CORE_01962]. The requested number of elements count of type size_type is passed as a parameter [SWS_CORE_01962]. The return value is a Span<element_type, dynamic_extent>, which represents the corresponding prefix [SWS_CORE_01962]. The behavior follows the semantics of [views.span] from the C++ standard [SWS_CORE_01962]. Through the declaration as constexpr and noexcept, the method operates synchronously, exception-free, and can already be evaluated at compile time [SWS_CORE_01962].

Error Handling and Boundary Conditions

The function is specified as exception safe (exception safe); error codes or specific error messages (such as DET or DEM) are not provided [SWS_CORE_01962]. For the caller, the following binding constraint applies:

  • The behavior of the function is undefined (undefined behavior) if count > size() is [SWS_CORE_01962].

The using program code must therefore verify independently prior to the call that the requested number of elements does not exceed the actual size of the span.

Concurrency and Limitations

As a const member function (const), first does not modify the called span [SWS_CORE_01962]. The specification remains silent regarding thread safety; concurrent read accesses to the same span and the underlying sequence data should, however, be uncritical (interpretation). Question Q-8c3b51e54157dc12 (open) If the referenced elements are modified concurrently by other threads, external synchronization is required.

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

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Exception-Sicherheitexception safe
Undefiniertes VerhaltenThe behavior of this function is undefined if: (count > size())

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

Record
AUTOSAR/AP/record/SWS_CORE_01962
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01962@rel:R25-11#e12e0bf7
Content hash
e12e0bf7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01962
Status: valid/unmigrated Version: rel:R25-11#a1e003e8 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01962@rel:R25-11#a1e003e8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e12e0bf72026-09-30
  • R19-11rel:R19-11#d54c8b392026-10-14
  • R20-11rel:R20-11#8666e7d32026-10-14
  • R21-11rel:R21-11#7451cc002026-10-14
  • R22-11rel:R22-11#f242aca32026-10-14
  • R23-11rel:R23-11#ec8d11f72026-10-14
  • R24-11rel:R24-11#ea32c91a2026-10-14
  • R25-11rel:R25-11#a1e003e82026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function front [SWS_CORE_01959]

constexpr reference front () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01959
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01959@rel:R25-11#add91f07
Content hash
add91f07
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01959
Status: valid/unmigrated Version: rel:R25-11#e23e2acd Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01959@rel:R25-11#e23e2acd
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#add91f072026-09-30
  • R21-11rel:R21-11#96b9faa22026-10-14
  • R22-11rel:R22-11#a2a4567c2026-10-14
  • R23-11rel:R23-11#7fb42b582026-10-14
  • R24-11rel:R24-11#921363272026-10-14
  • R25-11rel:R25-11#e23e2acd2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function last [SWS_CORE_01963]

template <std::size_t Count> constexpr Span< element_type, Count > last () const noexcept;

As per corresponding usage in [views.span]

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

The template member function [SWS_CORE_01963] of class ara::core::Span (header #include "ara/core/span.h") synchronously returns a subview of the last Count elements of the underlying sequence. It follows the semantics of [views.span] [SWS_CORE_01963]. Since the parameter Count is passed as a template argument, the resulting Span object has a static extent that is already fixed at compile time.

The operation is declared as constexpr, const, as well as noexcept, and specified as exception-safe (exception safe) [SWS_CORE_01963]. Error returns via error codes or notifications to DET or DEM are not provided for this function. However, undefined behavior occurs if Count > size() is [SWS_CORE_01963]. Callers must therefore ensure before instantiation or execution that the current span comprises at least the required number of elements.

Regarding concurrency, the specification makes no explicit statement on thread safety; however, as a side-effect-free const method, concurrent read access by multiple threads to the same Span instance should be uncritical, provided that the referenced elements in memory are not modified concurrently. Question Q-120ccf3995c86b47 (open)

In interaction within the module, the function complements overload [SWS_CORE_01964]: While the present variant [SWS_CORE_01963] requires a fixed extent at compile time, [SWS_CORE_01964] allows specifying a variable number of elements at runtime and returns a Span with dynamic extent (dynamic_extent).

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

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Exception-Sicherheitexception safe
Undefiniertes VerhaltenThe behavior of this function is undefined if: (Count > size())

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

Record
AUTOSAR/AP/record/SWS_CORE_01963
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01963@rel:R25-11#5f5f37b2
Content hash
5f5f37b2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01963
Status: valid/unmigrated Version: rel:R25-11#94e862b8 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01963@rel:R25-11#94e862b8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5f5f37b22026-09-30
  • R19-11rel:R19-11#a40c10d42026-10-14
  • R20-11rel:R20-11#1afd30c32026-10-14
  • R21-11rel:R21-11#968ebf2e2026-10-14
  • R22-11rel:R22-11#576af2a22026-10-14
  • R23-11rel:R23-11#b694a1ee2026-10-14
  • R24-11rel:R24-11#bb1245e92026-10-14
  • R25-11rel:R25-11#94e862b82026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function last [SWS_CORE_01964]

constexpr Span< element_type, dynamic_extent > last (size_type count) const noexcept;

As per corresponding usage in [views.span]

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

use

The member function last of class ara::core::Span creates a subview (subspan) that comprises the last count elements of the current sequence [SWS_CORE_01964]. The call occurs synchronously and returns a Span<element_type, dynamic_extent> [SWS_CORE_01964]. Because the function is declared as constexpr and noexcept, it can also be evaluated at compile time and guarantees complete exception safety (exception safe) [SWS_CORE_01964].

Error Handling and Boundary Conditions

The function does not throw exceptions. An erroneous call occurs when the argument count exceeds the actual number of present elements (count > size()); in this case, the behavior is undefined [SWS_CORE_01964]. Callers must therefore ensure before passing dynamic values that the requested number of elements lies within the valid range.

Concurrency and Interaction

Because last represents a stateless read operation on the span instance, concurrent calls via the same Span are likely uncritical as long as the underlying sequence elements are not modified. Question Q-ec2beaa99d9627c0 (open) In contrast to the template variant last<Count>() [SWS_CORE_01963], which statically determines the size, this overload determines the length at runtime. Newly created sequences, for instance via MakeSpan [SWS_CORE_01991], can thus be flexibly reduced to their suffix.

This usage note was created automatically. All information is based on the specification of AUTOSAR Adaptive Core R25-11.

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Exception-Sicherheitexception safe
Undefiniertes VerhaltenThe behavior of this function is undefined if: (count > size())

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

Record
AUTOSAR/AP/record/SWS_CORE_01964
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01964@rel:R25-11#f88ca933
Content hash
f88ca933
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01964
Status: valid/unmigrated Version: rel:R25-11#5240a259 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01964@rel:R25-11#5240a259
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f88ca9332026-09-30
  • R19-11rel:R19-11#e87fb6252026-10-14
  • R20-11rel:R20-11#541ce48e2026-10-14
  • R21-11rel:R21-11#d1394a242026-10-14
  • R22-11rel:R22-11#40d0eced2026-10-14
  • R23-11rel:R23-11#ecceac812026-10-14
  • R24-11rel:R24-11#ac538d672026-10-14
  • R25-11rel:R25-11#5240a2592026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator= [SWS_CORE_01952]

constexpr Span & operator= (const Span &other) noexcept=default;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01952
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01952@rel:R25-11#94ca908d
Content hash
94ca908d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01952
Status: valid/unmigrated Version: rel:R25-11#0bde509c Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01952@rel:R25-11#0bde509c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#94ca908d2026-09-30
  • R19-11rel:R19-11#73f3df002026-10-14
  • R20-11rel:R20-11#cf0d649f2026-10-14
  • R21-11rel:R21-11#143cc26b2026-10-14
  • R22-11rel:R22-11#a86b03042026-10-14
  • R23-11rel:R23-11#fee19dd82026-10-14
  • R24-11rel:R24-11#c296f7ce2026-10-14
  • R25-11rel:R25-11#0bde509c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator[] [SWS_CORE_01970]

constexpr reference operator[] (size_type idx) const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01970
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01970@rel:R25-11#01ea51d6
Content hash
01ea51d6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01970
Status: valid/unmigrated Version: rel:R25-11#255ead75 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01970@rel:R25-11#255ead75
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#01ea51d62026-09-30
  • R19-11rel:R19-11#177033912026-10-14
  • R20-11rel:R20-11#e1fb295a2026-10-14
  • R21-11rel:R21-11#2a7e7e082026-10-14
  • R22-11rel:R22-11#7a7c10b02026-10-14
  • R23-11rel:R23-11#69c742892026-10-14
  • R24-11rel:R24-11#5b0094282026-10-14
  • R25-11rel:R25-11#255ead752026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function rbegin [SWS_CORE_01976]

constexpr reverse_iterator rbegin () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01976
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01976@rel:R25-11#252fbf83
Content hash
252fbf83
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01976
Status: valid/unmigrated Version: rel:R25-11#e5bf1b03 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01976@rel:R25-11#e5bf1b03
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#252fbf832026-09-30
  • R19-11rel:R19-11#3ac8b1342026-10-14
  • R20-11rel:R20-11#7efc2b0b2026-10-14
  • R21-11rel:R21-11#7efc2b0b2026-10-14
  • R22-11rel:R22-11#704d7bfe2026-10-14
  • R23-11rel:R23-11#a7230e382026-10-14
  • R24-11rel:R24-11#7b91e7572026-10-14
  • R25-11rel:R25-11#e5bf1b032026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function rend [SWS_CORE_01977]

constexpr reverse_iterator rend () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01977
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01977@rel:R25-11#33a60fd1
Content hash
33a60fd1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01977
Status: valid/unmigrated Version: rel:R25-11#429cfc83 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01977@rel:R25-11#429cfc83
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#33a60fd12026-09-30
  • R19-11rel:R19-11#d1b6711f2026-10-14
  • R20-11rel:R20-11#0cdc53702026-10-14
  • R21-11rel:R21-11#ba64cf052026-10-14
  • R22-11rel:R22-11#4837d2332026-10-14
  • R23-11rel:R23-11#ce6519492026-10-14
  • R24-11rel:R24-11#7144fcd12026-10-14
  • R25-11rel:R25-11#429cfc832026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function size [SWS_CORE_01967]

constexpr size_type size () const noexcept;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01967
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01967@rel:R25-11#a2387d20
Content hash
a2387d20
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01967
Status: valid/unmigrated Version: rel:R25-11#3266b9dc Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01967@rel:R25-11#3266b9dc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a2387d202026-09-30
  • R19-11rel:R19-11#049324202026-10-14
  • R20-11rel:R20-11#210db98b2026-10-14
  • R21-11rel:R21-11#37d526d72026-10-14
  • R22-11rel:R22-11#59681e982026-10-14
  • R23-11rel:R23-11#89b56ef42026-10-14
  • R24-11rel:R24-11#f39031d82026-10-14
  • R25-11rel:R25-11#3266b9dc2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function size_bytes [SWS_CORE_01968]

constexpr size_type size_bytes () const noexcept;

As per corresponding usage in [views.span]

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

The member function size_bytes of class ara::core::Span returns the total size of the referenced memory area in bytes [SWS_CORE_01968]. The semantics correspond to the definition in standard C++ according to [views.span] [SWS_CORE_01968].

use

The function is called synchronously on an existing instance of ara::core::Span and requires the inclusion of header ara/core/span.h [SWS_CORE_01968]:

  • Call context and parameters: The method is parameterless and declared as const, thus does not change the state of the span [SWS_CORE_01968]. Due to the designation as constexpr, the value can already be evaluated at compile time, provided that the underlying context permits this [SWS_CORE_01968].
  • Return value: Returns a value of type size_type, which represents the byte size of the represented memory [SWS_CORE_01968].

Error Handling and Exception Safety

The function is declared as noexcept and specifies the guarantee level exception safe [SWS_CORE_01968]. No C++ exceptions occur and no error codes are returned [SWS_CORE_01968].

Concurrency and Limitations

Since size_bytes is a pure read operation (const) without side effects, concurrent calling on the same instance from multiple threads is non-critical, provided that the referenced Span object is not modified simultaneously (interpretation: standard thread safety for const methods) [SWS_CORE_01968]. Question Q-ea768d4f6fa1d12f (open)

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01968
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01968@rel:R25-11#eb1b7287
Content hash
eb1b7287
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01968
Status: valid/unmigrated Version: rel:R25-11#1e3257d2 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01968@rel:R25-11#1e3257d2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#eb1b72872026-09-30
  • R19-11rel:R19-11#d29f19712026-10-14
  • R20-11rel:R20-11#af3d2b052026-10-14
  • R21-11rel:R21-11#8256fdf12026-10-14
  • R22-11rel:R22-11#b53de1c12026-10-14
  • R23-11rel:R23-11#b8cab4812026-10-14
  • R24-11rel:R24-11#c3fee9512026-10-14
  • R25-11rel:R25-11#1e3257d22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function subspan [SWS_CORE_01965]

template <std::size_t Offset, std::size_t Count = dynamic_extent> constexpr auto subspan () const noexcept -> Span< element_type, {<extent-or-dynamicextent>} >;

As per corresponding usage in [views.span]

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

The member function subspan of class ara::core::Span creates a subview of an existing span ([SWS_CORE_01965]). Via the template parameters Offset and Count, the starting position and the number of elements are statically defined at compile time; by default, Count is set to dynamic_extent. The call is synchronous, declared as constexpr and noexcept, and considered exception-safe ([SWS_CORE_01965]).

Regarding the behavior, the specification refers to the C++ standard construct [views.span] ([SWS_CORE_01965]). Unlike the overloaded runtime function [SWS_CORE_01966], where invalid bounds explicitly lead to undefined behavior, checking here primarily takes place during compilation. Interpretation: With a statically known number of elements, exceeding the bounds of Offset or Count would presumably result in a compilation error. Question Q-c1b2dd93177fb266 (open)

The function is available via header #include "ara/core/span.h" ([SWS_CORE_01965]). It complements the complementary overload [SWS_CORE_01966] for cases where subranges are already fixed at compile time. Since subspan is a const member function, concurrent read accesses to the same source object are uncritical, provided the referenced memory element is not modified concurrently.

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01965
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01965@rel:R25-11#3d000960
Content hash
3d000960
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01965
Status: valid/unmigrated Version: rel:R25-11#8b2fe73c Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01965@rel:R25-11#8b2fe73c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3d0009602026-09-30
  • R19-11rel:R19-11#c93748622026-10-14
  • R20-11rel:R20-11#252f9fc62026-10-14
  • R21-11rel:R21-11#b9a6f9c52026-10-14
  • R22-11rel:R22-11#398c01092026-10-14
  • R23-11rel:R23-11#defb1ddf2026-10-14
  • R24-11rel:R24-11#88c4cde62026-10-14
  • R25-11rel:R25-11#8b2fe73c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function subspan [SWS_CORE_01966]

constexpr Span< element_type, dynamic_extent > subspan (size_type offset, size_type count=dynamic_extent) const noexcept;

As per corresponding usage in [views.span]

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

use

The member function subspan of ara::core::Span ([SWS_CORE_01966]) creates a subview (subspan) on the underlying data. It is included via header ara/core/span.h. As parameters, it accepts an offset (offset) and optionally the number of elements (count), which defaults to dynamic_extent. When count == dynamic_extent is passed, the created subview presumably comprises all remaining elements starting from the specified offset. The function is declared as constexpr and noexcept and is considered exception safe (exception safe) according to the specification. Question Q-f300852e8a1a87c8 (open)

Error Handling and Boundary Conditions

The function signals errors neither via error codes nor via C++ exceptions. Instead, violation of the defined preconditions leads directly to undefined behavior ([SWS_CORE_01966]). A call is defined only if the following condition is met:

  • offset <= size() && (count == dynamic_extent || count <= size() - offset)

Callers must verify these range bounds independently prior to the call in order to rule out undefined behavior at runtime.

Interaction

In contrast to the template variant [SWS_CORE_01965], which binds offset and number of elements already at compile time via template parameters, [SWS_CORE_01966] allows the dynamic passing of runtime values. As return type, it always provides an instance of Span<element_type, dynamic_extent>.

This text was generated by an AI and serves as guidance based on the AUTOSAR specification.

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Exception-Sicherheitexception safe
Undefiniertes VerhaltenThe behavior of this function is undefined unless: (offset <= size() && (count == dynamic_extent || count <= size() - offset)) == true

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

Record
AUTOSAR/AP/record/SWS_CORE_01966
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01966@rel:R25-11#ada84504
Content hash
ada84504
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01966
Status: valid/unmigrated Version: rel:R25-11#82eea2ec Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01966@rel:R25-11#82eea2ec
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ada845042026-09-30
  • R19-11rel:R19-11#fcd029562026-10-14
  • R20-11rel:R20-11#dc46e1552026-10-14
  • R21-11rel:R21-11#f8d725f12026-10-14
  • R22-11rel:R22-11#c9fa58d62026-10-14
  • R23-11rel:R23-11#cffcb6ab2026-10-14
  • R24-11rel:R24-11#83813bc32026-10-14
  • R25-11rel:R25-11#82eea2ec2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function ~Span [SWS_CORE_01951]

~Span () noexcept=default;

As per corresponding usage in [views.span]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_01951
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01951@rel:R25-11#7bd10f9f
Content hash
7bd10f9f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01951
Status: valid/unmigrated Version: rel:R25-11#0e6602ff Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01951@rel:R25-11#0e6602ff
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7bd10f9f2026-09-30
  • R19-11rel:R19-11#7399143b2026-10-14
  • R20-11rel:R20-11#396e011e2026-10-14
  • R21-11rel:R21-11#396e011e2026-10-14
  • R22-11rel:R22-11#59ee64f92026-10-14
  • R23-11rel:R23-11#6b6deb6e2026-10-14
  • R24-11rel:R24-11#f00f46e42026-10-14
  • R25-11rel:R25-11#0e6602ff2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Type alias documentation

type alias const_iterator [SWS_CORE_01918]

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

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

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolconst_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_01918
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01918@rel:R25-11#68027191
Content hash
68027191
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01918
Status: valid/unmigrated Version: rel:R25-11#8ffe9b04 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01918@rel:R25-11#8ffe9b04
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#680271912026-09-30
  • R19-11rel:R19-11#6ec053442026-10-14
  • R20-11rel:R20-11#f8f6e5442026-10-14
  • R21-11rel:R21-11#30fd40c02026-10-14
  • R22-11rel:R22-11#6c1175a92026-10-14
  • R23-11rel:R23-11#02c217522026-10-14
  • R24-11rel:R24-11#02c217522026-10-14
  • R25-11rel:R25-11#8ffe9b042026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias const_pointer [SWS_CORE_01922]

using const_pointer = const element_type*;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolconst_pointer

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

Record
AUTOSAR/AP/record/SWS_CORE_01922
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01922@rel:R25-11#fa7b0424
Content hash
fa7b0424
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01922
Status: valid/unmigrated Version: rel:R25-11#93e52d53 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01922@rel:R25-11#93e52d53
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#fa7b04242026-09-30
  • R21-11rel:R21-11#836661ee2026-10-14
  • R22-11rel:R22-11#9db80d252026-10-14
  • R23-11rel:R23-11#1769e5f72026-10-14
  • R24-11rel:R24-11#1769e5f72026-10-14
  • R25-11rel:R25-11#93e52d532026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias const_reference [SWS_CORE_01923]

using const_reference = const element_type&;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolconst_reference

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

Record
AUTOSAR/AP/record/SWS_CORE_01923
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01923@rel:R25-11#6d53f507
Content hash
6d53f507
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01923
Status: valid/unmigrated Version: rel:R25-11#8bd7f8c2 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01923@rel:R25-11#8bd7f8c2
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#6d53f5072026-09-30
  • R21-11rel:R21-11#395db8282026-10-14
  • R22-11rel:R22-11#1f3c879d2026-10-14
  • R23-11rel:R23-11#4cb674a72026-10-14
  • R24-11rel:R24-11#4cb674a72026-10-14
  • R25-11rel:R25-11#8bd7f8c22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias const_reverse_iterator [SWS_CORE_01920]

using const_reverse_iterator = std::reverse_iterator<const_iterator>;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolconst_reverse_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_01920
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01920@rel:R25-11#aeac178d
Content hash
aeac178d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01920
Status: valid/unmigrated Version: rel:R25-11#237e2b18 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01920@rel:R25-11#237e2b18
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#aeac178d2026-09-30
  • R19-11rel:R19-11#43b6c37e2026-10-14
  • R20-11rel:R20-11#3a3450102026-10-14
  • R21-11rel:R21-11#3a3450102026-10-14
  • R22-11rel:R22-11#e190315a2026-10-14
  • R23-11rel:R23-11#56c99f782026-10-14
  • R24-11rel:R24-11#56c99f782026-10-14
  • R25-11rel:R25-11#237e2b182026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias difference_type [SWS_CORE_01914]

using difference_type = std::ptrdiff_t;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symboldifference_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01914
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01914@rel:R25-11#e56dbe6a
Content hash
e56dbe6a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01914
Status: valid/unmigrated Version: rel:R25-11#82a995e1 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01914@rel:R25-11#82a995e1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e56dbe6a2026-09-30
  • R19-11rel:R19-11#b82fd4112026-10-14
  • R20-11rel:R20-11#c5514b5e2026-10-14
  • R21-11rel:R21-11#c5514b5e2026-10-14
  • R22-11rel:R22-11#dfd0709c2026-10-14
  • R23-11rel:R23-11#1a9b11902026-10-14
  • R24-11rel:R24-11#1a9b11902026-10-14
  • R25-11rel:R25-11#82a995e12026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias element_type [SWS_CORE_01911]

using element_type = T;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolelement_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01911
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01911@rel:R25-11#b092d772
Content hash
b092d772
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01911
Status: valid/unmigrated Version: rel:R25-11#be4b598e Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01911@rel:R25-11#be4b598e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b092d7722026-09-30
  • R19-11rel:R19-11#485cd3302026-10-14
  • R20-11rel:R20-11#a7afcde52026-10-14
  • R21-11rel:R21-11#a7afcde52026-10-14
  • R22-11rel:R22-11#bdadbc842026-10-14
  • R23-11rel:R23-11#8ed143832026-10-14
  • R24-11rel:R24-11#8ed143832026-10-14
  • R25-11rel:R25-11#be4b598e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias iterator [SWS_CORE_01917]

using iterator = {<iterator-type>};

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

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symboliterator

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

Record
AUTOSAR/AP/record/SWS_CORE_01917
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01917@rel:R25-11#dc35ecc1
Content hash
dc35ecc1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01917
Status: valid/unmigrated Version: rel:R25-11#3c985a61 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01917@rel:R25-11#3c985a61
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#dc35ecc12026-09-30
  • R19-11rel:R19-11#29d26e9e2026-10-14
  • R20-11rel:R20-11#d59262c82026-10-14
  • R21-11rel:R21-11#9925cd1e2026-10-14
  • R22-11rel:R22-11#1ec11c482026-10-14
  • R23-11rel:R23-11#ddfa05432026-10-14
  • R24-11rel:R24-11#ddfa05432026-10-14
  • R25-11rel:R25-11#3c985a612026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias pointer [SWS_CORE_01915]

using pointer = element_type*;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolpointer

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

Record
AUTOSAR/AP/record/SWS_CORE_01915
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01915@rel:R25-11#8c546ae6
Content hash
8c546ae6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01915
Status: valid/unmigrated Version: rel:R25-11#c42ac2d0 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01915@rel:R25-11#c42ac2d0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8c546ae62026-09-30
  • R19-11rel:R19-11#43c0e9f32026-10-14
  • R20-11rel:R20-11#fca8a2822026-10-14
  • R21-11rel:R21-11#fca8a2822026-10-14
  • R22-11rel:R22-11#2093d6782026-10-14
  • R23-11rel:R23-11#1bdd118c2026-10-14
  • R24-11rel:R24-11#1bdd118c2026-10-14
  • R25-11rel:R25-11#c42ac2d02026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias reference [SWS_CORE_01916]

using reference = element_type&;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolreference

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

Record
AUTOSAR/AP/record/SWS_CORE_01916
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01916@rel:R25-11#2029008f
Content hash
2029008f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01916
Status: valid/unmigrated Version: rel:R25-11#8e51d10f Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01916@rel:R25-11#8e51d10f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2029008f2026-09-30
  • R19-11rel:R19-11#4bccd5792026-10-14
  • R20-11rel:R20-11#f92ddfe82026-10-14
  • R21-11rel:R21-11#a3a2d5582026-10-14
  • R22-11rel:R22-11#4ec58f262026-10-14
  • R23-11rel:R23-11#0c8f38502026-10-14
  • R24-11rel:R24-11#0c8f38502026-10-14
  • R25-11rel:R25-11#8e51d10f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias reverse_iterator [SWS_CORE_01919]

using reverse_iterator = std::reverse_iterator<iterator>;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolreverse_iterator

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

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

type alias size_type [SWS_CORE_01921]

using size_type = std::size_t;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolsize_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01921
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01921@rel:R25-11#e5981ff5
Content hash
e5981ff5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01921
Status: valid/unmigrated Version: rel:R25-11#e03a38c5 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01921@rel:R25-11#e03a38c5
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e5981ff52026-09-30
  • R19-11rel:R19-11#472b92db2026-10-14
  • R20-11rel:R20-11#8d240a092026-10-14
  • R21-11rel:R21-11#e2cbf58a2026-10-14
  • R22-11rel:R22-11#f021463c2026-10-14
  • R23-11rel:R23-11#a59888582026-10-14
  • R24-11rel:R24-11#a59888582026-10-14
  • R25-11rel:R25-11#e03a38c52026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias value_type [SWS_CORE_01912]

using value_type = typename std::remove_cv<element_type>::type;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolvalue_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01912
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01912@rel:R25-11#398991b0
Content hash
398991b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01912
Status: valid/unmigrated Version: rel:R25-11#cd75ccba Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01912@rel:R25-11#cd75ccba
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#398991b02026-09-30
  • R19-11rel:R19-11#701007db2026-10-14
  • R20-11rel:R20-11#21d696082026-10-14
  • R21-11rel:R21-11#1765d8772026-10-14
  • R22-11rel:R22-11#024e43b12026-10-14
  • R23-11rel:R23-11#82f1e6be2026-10-14
  • R24-11rel:R24-11#82f1e6be2026-10-14
  • R25-11rel:R25-11#cd75ccba2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Documentation of constants / variables

variable extent [SWS_CORE_01931]

static constexpr size_type extent = Extent;

As per corresponding usage in [views.span]

Header-Datei#include "ara/core/span.h"
Scopeclass ara::core::Span
Symbolextent
Typsize_type

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

Record
AUTOSAR/AP/record/SWS_CORE_01931
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_01931@rel:R25-11#bc6e8bc1
Content hash
bc6e8bc1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01931
Status: valid/unmigrated Version: rel:R25-11#b5c8eab4 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_01931@rel:R25-11#b5c8eab4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bc6e8bc12026-09-30
  • R19-11rel:R19-11#c13871f02026-10-14
  • R20-11rel:R20-11#ff19e4ff2026-10-14
  • R21-11rel:R21-11#8a9ae5822026-10-14
  • R22-11rel:R22-11#3fa38d202026-10-14
  • R23-11rel:R23-11#54845ba52026-10-14
  • R24-11rel:R24-11#54845ba52026-10-14
  • R25-11rel:R25-11#b5c8eab42026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill