DEENESPTFRRUARHIKOZHNL

क्लास ara::core::StringView

[SWS_CORE_02001]

class StringView {...};

Implementation of std::basic_string_view type from [string.view]

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

उपयोगकर्ता गाइडएआई जनित

मेमोरी एलोकेशन के बिना सन्निहित वर्ण अनुक्रमों पर एक कुशल, गैर-स्वामित्व वाला रीड व्यू प्रदान करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 7c1acb6c9194 उद्गम खुले प्रश्न (2)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

मेमोरी एलोकेशन के बिना सन्निहित वर्ण अनुक्रमों पर एक कुशल, गैर-स्वामित्व वाला रीड व्यू प्रदान करता है।

ara::core::StringView प्रकार char के सन्निहित वर्ण अनुक्रमों पर एक गैर-स्वामित्व वाला, केवल-पढ़ने योग्य दृश्य प्रदान करता है ([SWS_CORE_02100])। यह डायनेमिक मेमोरी एलोकेशन ([SWS_CORE_02141]) के बिना कुशल टेक्स्ट जांच, खोज और सबस्ट्रिंग निर्माण की अनुमति देता है। सभी फ़ंक्शन noexcept घोषित किए गए हैं; सीमा उल्लंघन एक IsoStdOutOfRangeViolation को ट्रिगर करते हैं या असुरक्षित एक्सेस की स्थिति में अपरिभाषित व्यवहार उत्पन्न करते हैं।

संदर्भ

क्लास ara::core::StringView AUTOSAR Adaptive Platform में [string.view] से मानक प्रकार std::basic_string_view का कार्यान्वयन प्रदान करती है। यह [SWS_CORE_02100] के अनुसार वर्ण प्रकार char पर दृढ़ता से विशिष्टीकृत है (value_type = char)। एक स्थिर, गैर-स्वामित्व वाले संदर्भ के रूप में, यह एक पॉइंटर ([SWS_CORE_02102]) और एक लंबाई विनिर्देश ([SWS_CORE_02109]) के माध्यम से एक सन्निहित वर्ण मेमोरी को एनकैप्सुलेट करती है। क्लास मुख्य रूप से इंटरफेस के लिए एक कुशल पासिंग पैरामीटर के रूप में कार्य करती है, ताकि डायनेमिक मेमोरी एलोकेशन या कॉपी प्रक्रियाओं के बिना टेक्स्ट डेटा को केवल-पढ़ने के लिए प्रेषित और निरीक्षण किया जा सके।

रीड एक्सेस के लिए, क्लास मानक-अनुरूप उपनाम प्रकार जैसे const_pointer ([SWS_CORE_02102]), const_reference ([SWS_CORE_02104]), difference_type ([SWS_CORE_02110]) और साथ ही द्विदिशी पुनरावृत्तिकर्ता ([SWS_CORE_02105] और [SWS_CORE_02106] के अनुसार iterator, const_iterator और साथ ही [SWS_CORE_02107] और [SWS_CORE_02108] के अनुसार रिवर्स पुनरावृत्तिकर्ता) परिभाषित करती है। अमान्य स्थितियों को स्थैतिक स्थिरांक npos के माध्यम से संकेतित किया जाता है ([SWS_CORE_02111])।

जीवनचक्र

ara::core::StringView के इंस्टेंस खाली दृश्यों ([SWS_CORE_02112]), नल-टर्मिनेटेड C-स्ट्रिंग्स ([SWS_CORE_02113]) या स्पष्ट लंबाई विनिर्देश के साथ एक पॉइंटर से ([SWS_CORE_02114]) बनाए जा सकते हैं। सभी कंस्ट्रक्टर constexpr और noexcept के रूप में घोषित किए गए हैं। दृश्य का जीवनचक्र अंतर्निहित मेमोरी से पूरी तरह अलग होता है: StringView डेटा का कोई स्वामित्व नहीं लेता है। डिस्ट्रक्टर को एक मानक ऑपरेशन ([SWS_CORE_02119]) के रूप में परिभाषित किया गया है और यह मेमोरी को मुक्त नहीं करता है।

कॉपी कंस्ट्रक्टर ([SWS_CORE_02115]) और असाइनमेंट ऑपरेटर ([SWS_CORE_02116]) default के रूप में परिभाषित हैं। C++17 मानक के पूरक के रूप में, AUTOSAR स्पष्ट रूप से मूव कंस्ट्रक्टर ([SWS_CORE_02117]) और मूव असाइनमेंट ([SWS_CORE_02118]) को भी noexcept = default के रूप में निर्दिष्ट करता है। swap() के माध्यम से दो दृश्यों को कुशलतापूर्वक बदला जा सकता है ([SWS_CORE_02139])। समवर्ती निष्पादन (concurrency) के संबंध में, कई थ्रेड्स से समान इंस्टेंस पर रीड एक्सेस थ्रेड-सुरक्षित होना चाहिए, क्योंकि सभी रीड ऑपरेशंस const हैं; दूसरी ओर, संशोधित करने वाले कॉलों के लिए बाहरी सिंक्रोनाइज़ेशन की आवश्यकता होती है। प्रश्न Q-6369ee16a0db48ee (खुला)

उपयोग पथ

एक विशिष्ट प्रवाह में इंस्टैंशिएशन, सत्यापन, पैटर्न खोज और सब-रीजन का निष्कर्षण शामिल है:

  • आरंभीकरण और आकार जांच: बफ़र ([SWS_CORE_02114]) से निर्माण के बाद, स्थिति का निर्धारण empty() ([SWS_CORE_02131]), size() ([SWS_CORE_02128]) या data() ([SWS_CORE_02136]) के माध्यम से किया जाता है।
  • उपसर्ग और सामग्री जांच: निश्चित पैटर्न की उपस्थिति को प्रतियों के बिना starts_with() ([SWS_CORE_02148]–[SWS_CORE_02150]), ends_with() ([SWS_CORE_02151]–[SWS_CORE_02153]) या contains() ([SWS_CORE_02154]–[SWS_CORE_02156]) का उपयोग करके कुशलतापूर्वक जांचा जा सकता है।
  • खोज और अपघटन: विभाजकों को find() ([SWS_CORE_02157]–[SWS_CORE_02160]), rfind() ([SWS_CORE_02161]–[SWS_CORE_02164]) या वर्ण सेट खोज फ़ंक्शनों जैसे find_first_of() ([SWS_CORE_02165]–[SWS_CORE_02168]) के माध्यम से स्थानीयकृत किया जाता है। substr() ([SWS_CORE_02141]) या remove_prefix() ([SWS_CORE_02137]) अथवा remove_suffix() ([SWS_CORE_02138]) के माध्यम से दृश्य विंडो को प्रासंगिक उप-वर्गों तक छोटा कर दिया जाता है।
  • तुलना और प्रतिलिपि: compare() ([SWS_CORE_02142]–[SWS_CORE_02147]) का उपयोग करके कोशगत (lexicographical) तुलना की जा सकती है और copy() ([SWS_CORE_02140]) के माध्यम से वर्ण अनुक्रमों को बाहरी बफ़र में स्थानांतरित किया जा सकता है।
ara::core::StringView के साथ निरीक्षण और सबस्ट्रिंग निर्माणएप्लिकेशनquellView: StringViewsubView: StringViewStringView(str, len)Instanz erzeugtstarts_with(prefix)true / falsefind(delimiter, pos)Fundpositionsubstr(pos, count)Erzeugung TeilansichtsubView Instanzempty()false

अनुक्रम आरेख: मेमोरी एलोकेशन के बिना निरीक्षण और सबस्ट्रिंग निर्माण के लिए विशिष्ट कॉल अनुक्रम। स्रोत: [SWS_CORE_02114], [SWS_CORE_02148], [SWS_CORE_02158], [SWS_CORE_02141], [SWS_CORE_02131]

त्रुटि परिदृश्य

क्लास के सभी फ़ंक्शन noexcept के रूप में घोषित किए गए हैं। ISO C++ मानक से विचलन रेंज उल्लंघनों से निपटने से संबंधित हैं: प्रकार std::out_of_range के अपवाद फेंकने के बजाय, स्थिति पार होने पर एक IsoStdOutOfRangeViolation ट्रिगर होता है। यह निम्नलिखित को प्रभावित करता है:

कुछ फ़ंक्शनों की पूर्वशर्तें होती हैं, जिनके उल्लंघन से अपरिभाषित व्यवहार (Undefined Behavior) होता है: इंडेक्स ऑपरेटर operator[](pos) सीमाओं की जांच नहीं करता है और pos >= size() पर अपरिभाषित व्यवहार की ओर ले जाता है ([SWS_CORE_02132])। इसी प्रकार, खाली इंस्टेंसों (empty() == true) पर front() ([SWS_CORE_02134]) या back() ([SWS_CORE_02135]) का कॉल अपरिभाषित व्यवहार की ओर ले जाता है। यदि remove_prefix(n) ([SWS_CORE_02137]) या remove_suffix(n) ([SWS_CORE_02138]) में दृश्य में शामिल वर्णों से अधिक वर्ण हटा दिए जाते हैं (n > size()), तो व्यवहार भी अपरिभाषित होता है। इसके अलावा, संदर्भित वर्ण मेमोरी के जीवनकाल की समाप्ति के बाद भी StringView का बने रहना डैंगलिंग पॉइंटर्स (Dangling Pointers) की ओर ले जाता है; क्लास संभवतः पॉइंटर वैधता की कोई रनटाइम जांच नहीं करती है। प्रश्न Q-410a994677a85c8c (खुला)

यह टेक्स्ट एक AI द्वारा निर्मित और क्यूरेट किया गया था। सभी कथन AUTOSAR विनिर्देश R25-11 द्वारा समर्थित हैं।

सदस्य मानचित्र

क्लास आरेख

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

G nara__core__StringView801 StringView + npos + StringView() + operator=() + ~StringView() + empty() + length() + max_size() + size() + at() + back() + data() + front() + operator[]() + remove_prefix() + remove_suffix() + swap() + begin() … 19 weitere

विवरण दृश्य

रूपरेखा में कोई प्रविष्टि चुनें।

कंस्ट्रक्टर और डिस्ट्रक्टर

StringView फ़ंक्शन 5

≙ [string.view]

ओवरलोड StringView 5
constexpr StringView () noexcept; SWS_CORE_02112
constexpr StringView (const char *str) noexcept; SWS_CORE_02113
constexpr StringView (const char *str, size_type len) noexcept; SWS_CORE_02114
constexpr StringView (const StringView &other) noexcept=default; SWS_CORE_02115
constexpr StringView (StringView &&other) noexcept=default; SWS_CORE_02117
~StringView फ़ंक्शन

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

~StringView () noexcept=default;

मेथड

at फ़ंक्शन

except for the following deviations: 1. The function is noexcept 2. if (pos >= size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range ≙ [string.view]

constexpr const_reference at (size_type pos) const noexcept;
back फ़ंक्शन

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

constexpr const_reference back () const noexcept;
begin फ़ंक्शन

≙ [string.view]

constexpr const_iterator begin () const noexcept;
cbegin फ़ंक्शन

≙ [string.view]

constexpr const_iterator cbegin () const noexcept;
cend फ़ंक्शन

≙ [string.view]

constexpr const_iterator cend () const noexcept;
compare फ़ंक्शन 6

≙ [string.view]

ओवरलोड compare 6
constexpr int compare (StringView s) const noexcept; SWS_CORE_02142
constexpr int compare (size_type pos1, size_type n1, StringView s) const noexcept; SWS_CORE_02143
constexpr int compare (size_type pos1, size_type n1, StringView s, size_type pos2, size_type n2) const noexcept; SWS_CORE_02144
constexpr int compare (const char *s) const noexcept; SWS_CORE_02145
constexpr int compare (size_type pos1, size_type n1, const char *s) const noexcept; SWS_CORE_02146
constexpr int compare (size_type pos1, size_type n1, const char *s, size_type n2) const noexcept; SWS_CORE_02147
contains फ़ंक्शन 3

in [16] ≙ [string.view]

ओवरलोड contains 3
constexpr bool contains (StringView sv) const noexcept; SWS_CORE_02154
constexpr bool contains (char c) const noexcept; SWS_CORE_02155
constexpr bool contains (const char *str) const noexcept; SWS_CORE_02156
copy फ़ंक्शन

except for the following deviations: 1. The function is noexcept 2. if (pos > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range ≙ [string.view]

size_type copy (char *s, size_type n, size_type pos=0) const noexcept;
crbegin फ़ंक्शन

≙ [string.view]

constexpr const_reverse_iterator crbegin () const noexcept;
crend फ़ंक्शन

≙ [string.view]

constexpr const_reverse_iterator crend () const noexcept;
data फ़ंक्शन

≙ [string.view]

constexpr const_pointer data () const noexcept;
empty फ़ंक्शन

≙ [string.view]

[[nodiscard]] constexpr bool empty () const noexcept;
end फ़ंक्शन

≙ [string.view]

constexpr const_iterator end () const noexcept;
ends_with फ़ंक्शन 3

in [15] ≙ [string.view]

ओवरलोड ends_with 3
constexpr bool ends_with (StringView sv) const noexcept; SWS_CORE_02151
constexpr bool ends_with (char c) const noexcept; SWS_CORE_02152
constexpr bool ends_with (const char *str) const noexcept; SWS_CORE_02153
find फ़ंक्शन 4

≙ [string.view]

ओवरलोड find 4
constexpr size_type find (StringView s, size_type pos=0) const noexcept; SWS_CORE_02157
constexpr size_type find (char c, size_type pos=0) const noexcept; SWS_CORE_02158
constexpr size_type find (const char *s, size_type pos, size_type n) const noexcept; SWS_CORE_02159
constexpr size_type find (const char *s, size_type pos=0) const noexcept; SWS_CORE_02160
find_first_not_of फ़ंक्शन 4

≙ [string.view]

ओवरलोड find_first_not_of 4
constexpr size_type find_first_not_of (StringView s, size_type pos=0) const noexcept; SWS_CORE_02173
constexpr size_type find_first_not_of (char c, size_type pos=0) const noexcept; SWS_CORE_02174
constexpr size_type find_first_not_of (const char *s, size_type pos, size_type n) const noexcept; SWS_CORE_02175
constexpr size_type find_first_not_of (const char *s, size_type pos=0) const noexcept; SWS_CORE_02176
find_first_of फ़ंक्शन 4

≙ [string.view]

ओवरलोड find_first_of 4
constexpr size_type find_first_of (StringView s, size_type pos=0) const noexcept; SWS_CORE_02165
constexpr size_type find_first_of (char c, size_type pos=0) const noexcept; SWS_CORE_02166
constexpr size_type find_first_of (const char *s, size_type pos, size_type n) const noexcept; SWS_CORE_02167
constexpr size_type find_first_of (const char *s, size_type pos=0) const noexcept; SWS_CORE_02168
find_last_not_of फ़ंक्शन 4

≙ [string.view]

ओवरलोड find_last_not_of 4
constexpr size_type find_last_not_of (StringView s, size_type pos=0) const noexcept; SWS_CORE_02177
constexpr size_type find_last_not_of (char c, size_type pos=0) const noexcept; SWS_CORE_02178
constexpr size_type find_last_not_of (const char *s, size_type pos, size_type n) const noexcept; SWS_CORE_02179
constexpr size_type find_last_not_of (const char *s, size_type pos=0) const noexcept; SWS_CORE_02180
find_last_of फ़ंक्शन 4

≙ [string.view]

ओवरलोड find_last_of 4
constexpr size_type find_last_of (StringView s, size_type pos=0) const noexcept; SWS_CORE_02169
constexpr size_type find_last_of (char c, size_type pos=0) const noexcept; SWS_CORE_02170
constexpr size_type find_last_of (const char *s, size_type pos, size_type n) const noexcept; SWS_CORE_02171
constexpr size_type find_last_of (const char *s, size_type pos=0) const noexcept; SWS_CORE_02172
front फ़ंक्शन

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

constexpr const_reference front () const noexcept;
length फ़ंक्शन

≙ [string.view]

constexpr size_type length () const noexcept;
max_size फ़ंक्शन

≙ [string.view]

constexpr size_type max_size () const noexcept;
rbegin फ़ंक्शन

≙ [string.view]

constexpr const_reverse_iterator rbegin () const noexcept;
remove_prefix फ़ंक्शन

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

constexpr void remove_prefix (size_type n) noexcept;
remove_suffix फ़ंक्शन

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

constexpr void remove_suffix (size_type n) noexcept;
rend फ़ंक्शन

≙ [string.view]

constexpr const_reverse_iterator rend () const noexcept;
rfind फ़ंक्शन 4

≙ [string.view]

ओवरलोड rfind 4
constexpr size_type rfind (StringView s, size_type pos=0) const noexcept; SWS_CORE_02161
constexpr size_type rfind (char c, size_type pos=0) const noexcept; SWS_CORE_02162
constexpr size_type rfind (const char *s, size_type pos, size_type n) const noexcept; SWS_CORE_02163
constexpr size_type rfind (const char *s, size_type pos=0) const noexcept; SWS_CORE_02164
size फ़ंक्शन

≙ [string.view]

constexpr size_type size () const noexcept;
starts_with फ़ंक्शन 3

in [15] ≙ [string.view]

ओवरलोड starts_with 3
constexpr bool starts_with (StringView sv) const noexcept; SWS_CORE_02148
constexpr bool starts_with (char c) const noexcept; SWS_CORE_02149
constexpr bool starts_with (const char *str) const noexcept; SWS_CORE_02150
substr फ़ंक्शन

except for the following deviations: 1. if (pos > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range ≙ [string.view]

constexpr StringView substr (size_type pos=0, size_type n=npos) const noexcept;
swap फ़ंक्शन

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

constexpr void swap (StringView &other) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

≙ [string.view]

ओवरलोड = 2
constexpr StringView & operator= (const StringView &other) noexcept=default; SWS_CORE_02116
constexpr StringView & operator= (StringView &&other) noexcept=default; SWS_CORE_02118
operator[] फ़ंक्शन

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

constexpr const_reference operator[] (size_type pos) const noexcept;

टाइप उपनाम

const_iterator टाइप उपनाम

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

using const_iterator = {<const-iterator-type>};
const_pointer टाइप उपनाम

except for the following deviations: 1. Pointer type shall be specialized to value_type ≙ [string.view]

using const_pointer = const value_type*;
const_reference टाइप उपनाम

except for the following deviations: 1. Reference type shall be specialized to value_type ≙ [string.view]

using const_reference = const value_type&;
const_reverse_iterator टाइप उपनाम

≙ [string.view]

using const_reverse_iterator = std::reverse_iterator<const_iterator>;
difference_type टाइप उपनाम

≙ [string.view]

using difference_type = std::ptrdiff_t;
iterator टाइप उपनाम

≙ [string.view]

using iterator = const_iterator;
pointer टाइप उपनाम

except for the following deviations: 1. Pointer type shall be specialized to value_type ≙ [string.view]

using pointer = value_type*;
reference टाइप उपनाम

except for the following deviations: 1. Reference type shall be specialized to value_type ≙ [string.view]

reverse_iterator टाइप उपनाम

≙ [string.view]

using reverse_iterator = const_reverse_iterator;
size_type टाइप उपनाम

≙ [string.view]

using size_type = std::size_t;
value_type टाइप उपनाम

except for the following deviations: 1. Type shall be specialized to char ≙ [string.view]

using value_type = char;

स्थिरांक

npos चर

≙ [string.view]

static constexpr size_type npos = size_type(-1);

मेथड का प्रलेखन

फ़ंक्शन StringView [SWS_CORE_02112]

constexpr StringView () noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02112
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02112@rel:R25-11#7a71bef9
Content hash
7a71bef9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02112
Status: valid/unmigrated Version: rel:R25-11#29731701 Versionshistorie & Revisions (1 transition, 3 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_02112@rel:R25-11#29731701
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#7e8337722026-09-30
  • R24-11rel:R24-11#a5e815a42026-10-14
  • R25-11rel:R25-11#297317012026-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

फ़ंक्शन StringView [SWS_CORE_02113]

constexpr StringView (const char *str) noexcept;

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02113
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02113@rel:R25-11#8756cc0b
Content hash
8756cc0b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02113
Status: valid/unmigrated Version: rel:R25-11#392102c3 Versionshistorie & Revisions (1 transition, 3 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_02113@rel:R25-11#392102c3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5f57f19f2026-09-30
  • R24-11rel:R24-11#4a8943842026-10-14
  • R25-11rel:R25-11#392102c32026-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

फ़ंक्शन StringView [SWS_CORE_02114]

constexpr StringView (const char *str, size_type len) noexcept;

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02114
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02114@rel:R25-11#92ea64e5
Content hash
92ea64e5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02114
Status: valid/unmigrated Version: rel:R25-11#b47962c1 Versionshistorie & Revisions (1 transition, 3 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_02114@rel:R25-11#b47962c1
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d2a437682026-09-30
  • R24-11rel:R24-11#5858bb262026-10-14
  • R25-11rel:R25-11#b47962c12026-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

फ़ंक्शन StringView [SWS_CORE_02115] Upstream: RS_AP_00145

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

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02115
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02115@rel:R25-11#522909f4
Content hash
522909f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02115
Status: valid/unmigrated Version: rel:R25-11#5b99b5c4 Versionshistorie & Revisions (1 transition, 3 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_02115@rel:R25-11#5b99b5c4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#46185d3d2026-09-30
  • R24-11rel:R24-11#2443f5be2026-10-14
  • R25-11rel:R25-11#5b99b5c42026-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

फ़ंक्शन StringView [SWS_CORE_02117] Upstream: RS_AP_00145

constexpr StringView (StringView &&other) noexcept=default;

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02117
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02117@rel:R25-11#ae76a956
Content hash
ae76a956
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02117
Status: valid/unmigrated Version: rel:R25-11#2b631c63 Versionshistorie & Revisions (1 transition, 3 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_02117@rel:R25-11#2b631c63
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b40da38f2026-09-30
  • R24-11rel:R24-11#1f028f832026-10-14
  • R25-11rel:R25-11#2b631c632026-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

फ़ंक्शन at [SWS_CORE_02133]

constexpr const_reference at (size_type pos) const noexcept;

As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos >= size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: b7697f8c19b0 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView का मेंबर फ़ंक्शन at अलग-अलग वर्णों तक सिंक्रोनस पढ़ने का एक्सेस प्रदान करता है ([SWS_CORE_02133])। यह size_type प्रकार के इंडेक्स pos को एक पैरामीटर के रूप में स्वीकार करता है और उस स्थिति के वर्ण के लिए एक कॉन्सटेंट संदर्भ (const_reference) लौटाता है। फ़ंक्शन को constexpr और noexcept के रूप में निर्दिष्ट किया गया है, जिसके द्वारा कॉलों का मूल्यांकन संकलन समय पर भी किया जा सकता है।

त्रुटि प्रबंधन

मानक [string.view] में व्यवहार के विपरीत, त्रुटि के मामले में फ़ंक्शन std::out_of_range प्रकार का कोई अपवाद नहीं फेंकता है ([SWS_CORE_02133])। जब शर्त pos >= size() पूरी होती है, तो इसके बजाय एक IsoStdOutOfRangeViolation ट्रिगर होता है। विनिर्देश फ़ंक्शन को अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत करता है।

समवर्तीता और प्रतिबंध

चूंकि at को const के रूप में घोषित किया गया है, इसलिए कॉल अंतर्निहित इंस्टेंस को संशोधित नहीं करता है। कॉलर को यह सुनिश्चित करना चाहिए कि संदर्भित स्ट्रिंग StringView ऑब्जेक्ट के संपूर्ण जीवनकाल के लिए मान्य रहे। रेंज उल्लंघन IsoStdOutOfRangeViolation होने पर, निष्पादन को नियंत्रित तरीके से समाप्त किया जाना चाहिए; उपयोगकर्ता-परिभाषित निरस्तीकरण रूटीन इसके लिए AddAbortHandler ([SWS_CORE_00054]) के माध्यम से पंजीकृत किए जा सकते हैं (व्याख्या)। प्रश्न Q-0836f4dc6fa946a6 (खुला)

इंटरैक्शन

सीमा पार होने को IsoStdOutOfRangeViolation के माध्यम से पकड़ने की अवधारणा ara::core में कई कंटेनरों में लगातार लागू की जाती है:

  • ara::core::Array ([SWS_CORE_01273], [SWS_CORE_01274]) और ara::core::Map ([SWS_CORE_01456], [SWS_CORE_01457]) में, at को noexcept और अपवाद-सुरक्षित के रूप में भी घोषित किया गया है।
  • इसके विपरीत, ara::core::Vector ([SWS_CORE_01354], [SWS_CORE_01355]) और ara::core::BasicString ([SWS_CORE_03063], [SWS_CORE_03064]) में संबंधित at फ़ंक्शनों को अपवाद-सुरक्षित नहीं (not exception safe) के रूप में वर्गीकृत किया गया है और noexcept के रूप में चिह्नित नहीं किया गया है।

यह टेक्स्ट एक AI सिस्टम द्वारा जनरेट किया गया था और विशेष रूप से रिलीज़ R25-11 के विनिर्देश डेटा पर निर्भर करता है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02133
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02133@rel:R25-11#0d60a8ba
Content hash
0d60a8ba
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02133
Status: valid/unmigrated Version: rel:R25-11#aedaf2b6 Versionshistorie & Revisions (1 transition, 3 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_02133@rel:R25-11#aedaf2b6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#c71b9b612026-09-30
  • R24-11rel:R24-11#f9ae77482026-10-14
  • R25-11rel:R25-11#aedaf2b62026-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

फ़ंक्शन back [SWS_CORE_02135]

constexpr const_reference back () const noexcept;

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

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Exception-Sicherheitexception safe
Undefiniertes VerhaltenThe behavior of this function is undefined if: (empty() == true)

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

Record
AUTOSAR/AP/record/SWS_CORE_02135
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02135@rel:R25-11#856db3d2
Content hash
856db3d2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02135
Status: valid/unmigrated Version: rel:R25-11#dd32793c Versionshistorie & Revisions (1 transition, 3 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_02135@rel:R25-11#dd32793c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#792c8baf2026-09-30
  • R24-11rel:R24-11#c14fc9562026-10-14
  • R25-11rel:R25-11#dd32793c2026-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

फ़ंक्शन begin [SWS_CORE_02120]

constexpr const_iterator begin () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02120
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02120@rel:R25-11#eb9dc2f4
Content hash
eb9dc2f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02120
Status: valid/unmigrated Version: rel:R25-11#0ce78cee Versionshistorie & Revisions (1 transition, 3 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_02120@rel:R25-11#0ce78cee
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#29eccef02026-09-30
  • R24-11rel:R24-11#dabfe6c52026-10-14
  • R25-11rel:R25-11#0ce78cee2026-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

फ़ंक्शन cbegin [SWS_CORE_02122]

constexpr const_iterator cbegin () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02122
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02122@rel:R25-11#99601d9f
Content hash
99601d9f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02122
Status: valid/unmigrated Version: rel:R25-11#ce988608 Versionshistorie & Revisions (1 transition, 3 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_02122@rel:R25-11#ce988608
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#638e72662026-09-30
  • R24-11rel:R24-11#0801a6bf2026-10-14
  • R25-11rel:R25-11#ce9886082026-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

फ़ंक्शन cend [SWS_CORE_02123]

constexpr const_iterator cend () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02123
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02123@rel:R25-11#03fc0dec
Content hash
03fc0dec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02123
Status: valid/unmigrated Version: rel:R25-11#7b20c95a Versionshistorie & Revisions (1 transition, 3 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_02123@rel:R25-11#7b20c95a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#401082322026-09-30
  • R24-11rel:R24-11#b02b23952026-10-14
  • R25-11rel:R25-11#7b20c95a2026-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

फ़ंक्शन compare [SWS_CORE_02142]

constexpr int compare (StringView s) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 2927f57a7caa उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

हेडर #include "ara/core/string_view.h" से क्लास ara::core::StringView का सदस्य फ़ंक्शन compare StringView प्रकार के एक पास किए गए इंस्टेंस s के साथ वर्तमान स्ट्रिंग व्यू की सिंक्रोनस लेक्सिकोग्राफ़िकल तुलना करने का कार्य करता है [SWS_CORE_02142]। व्यवहार C++ मानक [SWS_CORE_02142] के [string.view] में संबंधित उपयोग पर आधारित है। रिटर्न मान के रूप में, फ़ंक्शन एक int लौटाता है, जो वर्ण अनुक्रमों के रिलेशनल संबंध को दर्शाता है [SWS_CORE_02142]।

त्रुटि प्रबंधन

फ़ंक्शन को noexcept के साथ घोषित किया गया है और exception safe के रूप में निर्दिष्ट किया गया है [SWS_CORE_02142]। यह कोई C++ अपवाद ट्रिगर नहीं करता है। इस ऑपरेशन के लिए विशिष्ट त्रुटि कोड, AUTOSAR डेवलपमेंट एरर्स (DET) या Diagnostic Event Manager (DEM) को सूचनाएं प्रदान नहीं की गई हैं [SWS_CORE_02142]।

समवर्तीता और सीमांत शर्तें

const तथा constexpr के रूप में वर्गीकरण के कारण, कॉल का मूल्यांकन पहले ही कंपाइल-टाइम पर किया जा सकता है [SWS_CORE_02142]। व्याख्या: चूंकि फ़ंक्शन अपरिवर्तनीय वर्ण अनुक्रमों तक केवल-पढ़ने के लिए पहुँचता है, एकाधिक थ्रेड्स से समान StringView पर एक समवर्ती कॉल थ्रेड-सुरक्षित होना चाहिए, बशर्ते अंतर्निहित वर्ण डेटा को संशोधित न किया जाए। प्रश्न Q-7489abeeb3fd7124 (खुला)

इंटरैक्शन

जबकि ara::core में मूल प्रकार जैसे ErrorDomain [SWS_CORE_00137] या ErrorCode [SWS_CORE_00571] मुख्य रूप से परीक्षणों के लिए बाइनरी समानता ऑपरेटर प्रदान करते हैं, StringView में compare एक त्रि-मान (three-valued) तुलना मान प्रदान करता है [SWS_CORE_02142]।

यह उपयोग संबंधी निर्देश AUTOSAR Adaptive विनिर्देश R25-11 के आधार पर स्वचालित रूप से तैयार किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02142
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02142@rel:R25-11#723c7f40
Content hash
723c7f40
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02142
Status: valid/unmigrated Version: rel:R25-11#13dc427e Versionshistorie & Revisions (1 transition, 3 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_02142@rel:R25-11#13dc427e
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f35caa912026-09-30
  • R24-11rel:R24-11#29da57632026-10-14
  • R25-11rel:R25-11#13dc427e2026-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

फ़ंक्शन compare [SWS_CORE_02143]

constexpr int compare (size_type pos1, size_type n1, StringView s) const noexcept;

As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 5252e249a5c2 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView का सदस्य फ़ंक्शन compare वर्तमान स्ट्रिंग व्यू के एक सब-रेंज की पास की गई StringView s के साथ सिंक्रोनस लेक्सिकोग्राफ़िकल तुलना करता है [SWS_CORE_02143]। तुलना की जाने वाली सबस्ट्रिंग इंडेक्स pos1 से शुरू होती है और अधिकतम n1 वर्णों की लंबाई तक फैली होती है। रिटर्न मान एक पूर्णांक int है जो रिलेशनल परिणाम को इंगित करता है। चूंकि फ़ंक्शन को constexpr के रूप में घोषित किया गया है, मूल्यांकन पहले ही कंपाइल-टाइम पर हो सकता है [SWS_CORE_02143]।

त्रुटि प्रबंधन

सिमेंटिक्स ISO C++ मानक से [string.view] के विनिर्देशों का पालन करता है, लेकिन दो आवश्यक विचलन परिभाषित करता है [SWS_CORE_02143]:

  • फ़ंक्शन को noexcept के साथ निर्दिष्ट किया गया है और इसे अपवाद-सुरक्षित (exception safe) माना जाता है [SWS_CORE_02143]।
  • यदि प्रारंभ इंडेक्स व्यू की लंबाई (pos1 > size()) से अधिक है, तो std::out_of_range प्रकार का कोई मानक अपवाद ट्रिगर नहीं होता है, बल्कि एक IsoStdOutOfRangeViolation उत्पन्न होता है [SWS_CORE_02143]।

समवर्तीता और सीमांत शर्तें

IsoStdOutOfRangeViolation से बचने के लिए कॉलर्स को पहले से यह सुनिश्चित करना चाहिए कि pos1 size() के मान से अधिक न हो [SWS_CORE_02143]। चूंकि compare को const के रूप में घोषित किया गया है और यह इंस्टेंस में कोई संशोधन नहीं करता है, इसलिए कई थ्रेड्स से समवर्ती रीड एक्सेस गैर-महत्वपूर्ण होना चाहिए (व्याख्या)। प्रश्न Q-be4ec80ab2529ed3 (खुला)

यह उपयोग नोट AUTOSAR Adaptive R25-11 के विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02143
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02143@rel:R25-11#44d141e1
Content hash
44d141e1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02143
Status: valid/unmigrated Version: rel:R25-11#954b8eb6 Versionshistorie & Revisions (1 transition, 3 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_02143@rel:R25-11#954b8eb6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ebee01fe2026-09-30
  • R24-11rel:R24-11#d94c460b2026-10-14
  • R25-11rel:R25-11#954b8eb62026-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

फ़ंक्शन compare [SWS_CORE_02144]

constexpr int compare (size_type pos1, size_type n1, StringView s, size_type pos2, size_type n2) const noexcept;

As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size() || pos2 > s.size() ) IsoStdOutOfRangeViolation is raised instead of std::out_of_range

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 84981befbff9 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का सदस्य फ़ंक्शन compare ([SWS_CORE_02144], हेडर फ़ाइल #include "ara/core/string_view.h") दो सबस्ट्रिंग्स की सिंक्रोनस, लेक्सिकोग्राफ़िकल तुलना करने का कार्य करता है। मूल व्यवहार ISO C++ मानक के [string.view] में कार्यक्षमता से मेल खाता है, लेकिन AUTOSAR Adaptive के लिए विशिष्ट विचलन प्रदर्शित करता है [SWS_CORE_02144]।

पास किए गए पैरामीटर दोनों अनुक्रमों के तुलना किए जाने वाले भागों को निर्धारित करते हैं [SWS_CORE_02144]:

  • pos1 और n1: कॉलिंग इंस्टेंस के भीतर प्रारंभ इंडेक्स और वर्णों की अधिकतम संख्या।
  • s: StringView प्रकार का तुलना किया जाने वाला ऑब्जेक्ट।
  • pos2 और n2: पास किए गए ऑब्जेक्ट s के भीतर प्रारंभ इंडेक्स और वर्णों की अधिकतम संख्या।

रिटर्न मान के रूप में, फ़ंक्शन एक पूर्णांक मान (int) लौटाता है, जो अपनी सब-सीक्वेंस लेक्सिकोग्राफ़िकल रूप से छोटी होने पर ऋणात्मक होता है, मेल खाने पर शून्य होता है, और बड़ी होने पर धनात्मक होता है [SWS_CORE_02144]।

त्रुटि प्रबंधन के संबंध में, कार्यान्वयन मानक से भिन्न है: मेथड को noexcept के रूप में घोषित किया गया है और इसे अपवाद-सुरक्षित (exception safe) माना जाता है [SWS_CORE_02144]। यदि प्रारंभ स्थितियों में से कोई एक वैध सीमा (pos1 > size() || pos2 > s.size()) से बाहर है, तो कोई std::out_of_range अपवाद नहीं फेंका जाता है, बल्कि एक IsoStdOutOfRangeViolation ट्रिगर होता है [SWS_CORE_02144]।

क्वालिफायर constexpr और const के माध्यम से, फ़ंक्शन का मूल्यांकन पहले ही संकलन के दौरान किया जा सकता है [SWS_CORE_02144]। चूंकि कोई आंतरिक स्थिति संशोधित नहीं की जाती है, समान इंस्टेंस पर समवर्ती रीड एक्सेस थ्रेड-सुरक्षित होने चाहिए। प्रश्न Q-a93f872ee88becc9 (खुला)

यह टेक्स्ट एक AI द्वारा बनाया गया था और AUTOSAR विनिर्देश के पूरक दस्तावेज़ीकरण के रूप में कार्य करता है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02144
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02144@rel:R25-11#96bafa20
Content hash
96bafa20
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02144
Status: valid/unmigrated Version: rel:R25-11#ff6c2d48 Versionshistorie & Revisions (1 transition, 3 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_02144@rel:R25-11#ff6c2d48
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e0aad7e42026-09-30
  • R24-11rel:R24-11#d74c38742026-10-14
  • R25-11rel:R25-11#ff6c2d482026-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

फ़ंक्शन compare [SWS_CORE_02145]

constexpr int compare (const char *s) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 280fbff67867 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView (हेडर फ़ाइल #include "ara/core/string_view.h") का सदस्य फ़ंक्शन compare वर्तमान स्ट्रिंग व्यू की एक नल-टर्मिनेटेड C-स्ट्रिंग const char* s [SWS_CORE_02145] के साथ सिंक्रोनस, लेक्सिकोग्राफ़िकल तुलना के लिए कार्य करता है। चूंकि ऑपरेशन को constexpr के रूप में निर्दिष्ट किया गया है, मूल्यांकन रनटाइम के साथ-साथ ट्रांसलेशन-टाइम एक्सप्रेशन्स के हिस्से के रूप में भी हो सकता है। रिटर्न मान के रूप में, फ़ंक्शन int प्रकार का एक पूर्णांक मान लौटाता है, जिसका चिह्न [string.view] के अनुरूप तुलना परिणाम को दर्शाता है: शून्य से कम मान का अर्थ है कि इंस्टेंस लेक्सिकोग्राफ़िक रूप से s से पहले आता है; शून्य मान का अर्थ समानता है; शून्य से बड़ा मान इंगित करता है कि इंस्टेंस s के बाद आता है [SWS_CORE_02145]।

त्रुटि प्रबंधन के संबंध में, AUTOSAR विनिर्देश स्पष्ट रूप से [string.view] के टेम्पलेट से विचलित होता है: विधि को noexcept के रूप में घोषित किया गया है और इसमें exception safe गुण है [SWS_CORE_02145]। इस प्रकार कॉल्स की गारंटी है कि वे कोई C++ अपवाद ट्रिगर नहीं कर सकते। डेवलपमेंट एरर ट्रेसर (DET) या Diagnostic Event Manager (DEM) के लिए विशिष्ट त्रुटि कोड, फीडबैक इस बुनियादी फ़ंक्शन के लिए प्रदान नहीं किए गए हैं।

एक const-योग्य विधि के रूप में, compare ara::core::StringView इंस्टेंस की स्थिति को संशोधित नहीं करता है और इसे समवर्ती रूप से पढ़ने के लिए सुरक्षित रूप से कॉल किया जा सकता है। उपयोग करते समय, यह ध्यान दिया जाना चाहिए कि पॉइंटर s को संभवतः एक वैध वर्ण अनुक्रम को संदर्भित करना चाहिए, क्योंकि एक नल पॉइंटर पास करने पर [string.view] से अपनाया गया सिमेंटिक्स अपरिभाषित व्यवहार (undefined behavior) उत्पन्न कर सकता है [SWS_CORE_02145]। प्रश्न Q-cff1a1f55603dbd4 (खुला)

यह पाठ AUTOSAR Adaptive R25-11 विनिर्देश के आधार पर एक AI द्वारा तैयार किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02145
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02145@rel:R25-11#1ba52b59
Content hash
1ba52b59
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02145
Status: valid/unmigrated Version: rel:R25-11#86d16827 Versionshistorie & Revisions (1 transition, 3 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_02145@rel:R25-11#86d16827
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#8693ac302026-09-30
  • R24-11rel:R24-11#1ceaca1a2026-10-14
  • R25-11rel:R25-11#86d168272026-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

फ़ंक्शन compare [SWS_CORE_02146]

constexpr int compare (size_type pos1, size_type n1, const char *s) const noexcept;

As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: c774270160f9 उद्गम खुले प्रश्न (2)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView का मेथड compare एक नल-टर्मिनेटेड C-स्ट्रिंग s [SWS_CORE_02146] के साथ स्ट्रिंग व्यू के एक सब-रेंज की सिंक्रोनस लेक्सिकोग्राफ़िकल तुलना को सक्षम बनाता है। प्रारंभ इंडेक्स pos1, अधिकतम लंबाई n1 तथा तुलना की जाने वाली वर्ण स्ट्रिंग का पॉइंटर s पास किए जाते हैं। int प्रकार का रिटर्न मान मानक लाइब्रेरी के अनुरूप रिलेशनल ऑर्डरिंग परिणाम को दर्शाता है: शून्य से कम, शून्य के बराबर या शून्य से बड़ा रिटर्न मान लेक्सिकोग्राफ़िकल संबंध को दर्शाता है [SWS_CORE_02146]।

त्रुटि प्रबंधन और सीमा शर्तें

ऑपरेशन को noexcept और "exception safe" के रूप में निर्दिष्ट किया गया है [SWS_CORE_02146]। C++ मानक [string.view] के अनुसार व्यवहार के विपरीत, pos1 > size() के साथ एक अमान्य प्रारंभ इंडेक्स कोई std::out_of_range अपवाद ट्रिगर नहीं करता है, बल्कि एक IsoStdOutOfRangeViolation की ओर ले जाता है [SWS_CORE_02146]। इस Violation को AUTOSAR रनटाइम संदर्भ में एक प्रोग्रामिंग त्रुटि माना जाना चाहिए और यह एक सीधा प्लेटफ़ॉर्म निरस्तीकरण (abort) लागू करेगा, क्योंकि नियमित C++ अपवाद noexcept सीमाओं से बाहर नहीं निकल सकते हैं। प्रश्न Q-d4ce6b496b80fdde (खुला) यह सुनिश्चित करना भी आवश्यक है कि s एक वैध वर्ण स्ट्रिंग को संदर्भित करता है, क्योंकि एक नल पॉइंटर संभवतः अपरिभाषित व्यवहार उत्पन्न करेगा।

संगामिति

चूंकि compare को const और constexpr के रूप में परिभाषित किया गया है, इसलिए इंस्टेंस की स्थिति अपरिवर्तित रहती है [SWS_CORE_02146]। समान ara::core::StringView ऑब्जेक्ट पर समवर्ती रीड एक्सेस इस प्रकार सुरक्षित रूप से निष्पादन योग्य हैं।

यह उपयोग नोट AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से तैयार किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02146
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02146@rel:R25-11#79ef7082
Content hash
79ef7082
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02146
Status: valid/unmigrated Version: rel:R25-11#1ef7ff3c Versionshistorie & Revisions (1 transition, 3 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_02146@rel:R25-11#1ef7ff3c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#af7ea1bc2026-09-30
  • R24-11rel:R24-11#988d6d132026-10-14
  • R25-11rel:R25-11#1ef7ff3c2026-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

फ़ंक्शन compare [SWS_CORE_02147]

constexpr int compare (size_type pos1, size_type n1, const char *s, size_type n2) const noexcept;

As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos1 > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 1cc4e349e5f4 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

हेडर ara/core/string_view.h से क्लास ara::core::StringView का सदस्य फ़ंक्शन compare एक सिंक्रोनस लेक्सिकोग्राफ़िकल तुलना निष्पादित करता है [SWS_CORE_02147]। इसमें वर्तमान इंस्टेंस की एक सब-सीक्वेंस, जो इंडेक्स pos1 से अधिकतम n1 वर्णों के साथ शुरू होती है, की तुलना बाहरी C वर्ण सरणी s के पहले n2 वर्णों के साथ की जाती है। पूर्णांक रिटर्न मान (int) [string.view] के सिमेंटिक्स का अनुसरण करता है और अपने चिह्न के माध्यम से संकेत देता है कि क्या अपना सब-रेंज संदर्भ अनुक्रम की तुलना में लेक्सिकोग्राफ़िकल रूप से छोटा, बराबर या बड़ा है। एक constexpr और const मेथड के रूप में, यह ऑब्जेक्ट को संशोधित नहीं करता है और इसका मूल्यांकन पहले ही कंपाइल-टाइम पर किया जा सकता है [SWS_CORE_02147]।

त्रुटि प्रबंधन और सीमा शर्तें

त्रुटि प्रबंधन और अपवाद सुरक्षा के संबंध में, AUTOSAR मानक से दो बाध्यकारी विचलन परिभाषित करता है [SWS_CORE_02147]:

  • सदस्य फ़ंक्शन को noexcept के रूप में निर्दिष्ट किया गया है और पूरी तरह से exception safe के रूप में वर्गीकृत किया गया है [SWS_CORE_02147]।
  • यदि प्रारंभ स्थिति इंस्टेंस की लंबाई (pos1 > size()) से अधिक है, तो कोई std::out_of_range अपवाद नहीं फेंका जाता है, बल्कि एक IsoStdOutOfRangeViolation ट्रिगर होता है [SWS_CORE_02147]।

व्याख्या: noexcept गारंटी और IsoStdOutOfRangeViolation के संयोजन के कारण, एक रेंज पार करने की स्थिति को क्लासिक C++ try-catch ब्लॉकों का उपयोग करके पकड़ा नहीं जा सकेगा, बल्कि संभवतः यह प्लेटफ़ॉर्म द्वारा तत्काल समाप्ति या त्रुटि प्रबंधन की ओर ले जाएगा। प्रश्न Q-67fb8eda4c594a06 (खुला)

यह उपयोग नोट स्वचालित रूप से तैयार किया गया था और विशेष रूप से AUTOSAR Adaptive रिलीज़ R25-11 के विनिर्देश डेटा पर आधारित है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02147
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02147@rel:R25-11#0c3d1534
Content hash
0c3d1534
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02147
Status: valid/unmigrated Version: rel:R25-11#d83e0662 Versionshistorie & Revisions (1 transition, 3 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_02147@rel:R25-11#d83e0662
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5bddcd392026-09-30
  • R24-11rel:R24-11#854c4f1e2026-10-14
  • R25-11rel:R25-11#d83e06622026-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

फ़ंक्शन contains [SWS_CORE_02154]

constexpr bool contains (StringView sv) const noexcept;

As per corresponding usage in [string.view] in [16]

Literaturverzeichnis SWS Core: [16] N4950: Working Draft, Standard for Programming Language C++ – open-std.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: c871b0e95a94 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग और कॉल संदर्भ

क्लास ara::core::StringView का सदस्य फ़ंक्शन contains यह सिंक्रोनस रूप से सत्यापित करने का कार्य करता है कि क्या किसी स्ट्रिंग व्यू में कोई निर्दिष्ट सबस्ट्रिंग शामिल है [SWS_CORE_02154]। फ़ंक्शन को हेडर ara/core/string_view.h में C++ मानक कार्य मसौदे N4950 ([string.view]) के सिमेंटिक्स के अनुसार परिभाषित किया गया है [SWS_CORE_02154]। एक पैरामीटर के रूप में, मेथड मान द्वारा StringView (sv) का एक अन्य इंस्टेंस स्वीकार करता है और सीधे bool प्रकार का एक बूलियन मान लौटाता है: true, यदि सब-सीक्वेंस मौजूद है, अन्यथा false [SWS_CORE_02154]।

constexpr के रूप में विनिर्देश के माध्यम से, कॉल रनटाइम पर और साथ ही संकलन के दौरान कंपाइल-टाइम संदर्भों के हिस्से के रूप में हो सकता है [SWS_CORE_02154]।

त्रुटि प्रबंधन और अपवाद सुरक्षा

contains के लिए, व्यवहार को exception safe के रूप में स्थापित किया गया है और सिग्नेचर को स्पष्ट रूप से noexcept के साथ चिह्नित किया गया है [SWS_CORE_02154]। नतीजतन, फ़ंक्शन किसी भी परिस्थिति में C++ अपवाद नहीं फेंकता है और ara::core::Result या ara::core::ErrorCode के माध्यम से कोई त्रुटि नहीं लौटाता है। इस बुनियादी फ़ंक्शन के लिए न तो DET और न ही DEM त्रुटि संदेश मौजूद हैं।

समवर्तीता और प्रतिबंध

एक कॉन्स्टेंट सदस्य फ़ंक्शन (const) के रूप में, contains StringView इंस्टेंस की स्थिति को संशोधित नहीं करता है [SWS_CORE_02154]। व्याख्या: समान StringView इंस्टेंस पर या अंतर्निहित वर्ण बफ़र पर समानांतर, केवल-पढ़ने वाले कॉल पूरी तरह से रीएंट्रेंट और समवर्ती रूप से सुरक्षित होने चाहिए, जब तक कि संदर्भित मेमोरी क्षेत्र को किसी भी थ्रेड द्वारा एक साथ संशोधित न किया जा रहा हो। प्रश्न Q-80f1a9989a098913 (खुला) एक वैध StringView प्रदान करने के अतिरिक्त कोई विशेष अनुक्रमण आवश्यकताएं या इनिशियलाइज़ेशन दायित्व मौजूद नहीं हैं।

यह उपयोग नोट AUTOSAR विनिर्देश के आधार पर स्वचालित रूप से बनाया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02154
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02154@rel:R25-11#79df49d9
Content hash
79df49d9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02154
Status: valid/unmigrated Version: rel:R25-11#bf73e56e Versionshistorie & Revisions (1 transition, 3 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_02154@rel:R25-11#bf73e56e
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cd3984252026-09-30
  • R24-11rel:R24-11#95f693952026-10-14
  • R25-11rel:R25-11#bf73e56e2026-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

फ़ंक्शन contains [SWS_CORE_02155]

constexpr bool contains (char c) const noexcept;

As per corresponding usage in [string.view] in [16]

Literaturverzeichnis SWS Core: [16] N4950: Working Draft, Standard for Programming Language C++ – open-std.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: b2baa55e3d18 उद्गम खुले प्रश्न (2)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

सदस्य फ़ंक्शन contains सिंक्रोनस रूप से जांचता है कि क्या कोई विशिष्ट वर्ण c एक ara::core::StringView के भीतर समाहित है [SWS_CORE_02155]। फ़ंक्शन हेडर ara/core/string_view.h में घोषित है और C++ मानक ड्राफ्ट N4950 [SWS_CORE_02155] से [string.view] के सिमेंटिक्स का पालन करता है। यह char प्रकार का एक एकल वर्ण स्वीकार करता है और bool प्रकार का एक बूलियन मान लौटाता है, जो संभवतः ठीक तभी true देता है जब वर्ण संदर्भित टेक्स्ट क्षेत्र में पाया जाता है [SWS_CORE_02155]। प्रश्न Q-3293fccace7af3ab (खुला)

त्रुटि प्रबंधन के संबंध में, ऑपरेशन को noexcept के रूप में घोषित किया गया है और एक्सेप्शन-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CORE_02155]। कोई अपवाद नहीं फेंके जाते हैं और DET, DEM या रिटर्न प्रकारों के माध्यम से कोई त्रुटि कोड संकेतित नहीं होते हैं; वर्ण की अनुपस्थिति नियमित रूप से बूलियन रिटर्न मान के माध्यम से रिपोर्ट की जाती है।

चूंकि फ़ंक्शन को constexpr और साथ ही const के रूप में नामित किया गया है, इसलिए इसे कंपाइल समय पर ही मूल्यांकित किया जा सकता है [SWS_CORE_02155]। कॉल अंतर्निहित ara::core::StringView ऑब्जेक्ट को नहीं बदलते हैं, यही कारण है कि समान इंस्टेंस पर समानांतर रीड एक्सेस संभवतः समवर्ती रूप से सुरक्षित होने चाहिए। प्रश्न Q-298dbc4d080853bc (खुला)

मॉड्यूल core के बुनियादी प्रकारों के परस्पर क्रिया में, contains स्ट्रिंग दृश्यों पर सीधे टेक्स्ट निरीक्षण के लिए कार्य करता है [SWS_CORE_02155]। जबकि ara::core::Result जैसे प्रकार समाहित मानों या त्रुटियों के लिए अपने स्वयं के परीक्षण तंत्र प्रदान करते हैं - जैसे HasValue [SWS_CORE_00751] या CheckError [SWS_CORE_00765] -, contains बिना किसी आवंटन या त्रुटि एनकैप्सुलेशन के हल्के ढंग से काम करता है।

यह उपयोग संबंधी निर्देश AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02155
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02155@rel:R25-11#106a2f43
Content hash
106a2f43
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02155
Status: valid/unmigrated Version: rel:R25-11#d4b8d181 Versionshistorie & Revisions (1 transition, 3 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_02155@rel:R25-11#d4b8d181
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f77030032026-09-30
  • R24-11rel:R24-11#fe2d55f22026-10-14
  • R25-11rel:R25-11#d4b8d1812026-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

फ़ंक्शन contains [SWS_CORE_02156]

constexpr bool contains (const char *str) const noexcept;

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

Literaturverzeichnis SWS Core: [16] N4950: Working Draft, Standard for Programming Language C++ – open-std.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: b203260a22d2 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का सदस्य फ़ंक्शन contains सिंक्रोनस रूप से जाँचता है कि क्या संदर्भित स्ट्रिंग में पैरामीटर के रूप में पास किया गया वर्ण अनुक्रम str शामिल है [SWS_CORE_02156]। फ़ंक्शन हेडर फ़ाइल ara/core/string_view.h के माध्यम से प्रदान किया जाता है और परीक्षण परिणाम को bool प्रकार के रिटर्न मान के रूप में लौटाता है [SWS_CORE_02156]। constexpr के रूप में घोषणा के कारण, कॉल को रनटाइम पर और अनुवाद के समय एक्सप्रेशन्स के हिस्से के रूप में दोनों में निष्पादित किया जा सकता है [SWS_CORE_02156]।

कार्यात्मक सिमेंटिक्स C++ मानक N4950 के वर्किंग ड्राफ्ट में [string.view] के निर्धारण का अनुसरण करता है, लेकिन इसमें एक बाध्यकारी विचलन है: फ़ंक्शन को AUTOSAR Adaptive में पहचानकर्ता noexcept के साथ घोषित किया गया है [SWS_CORE_02156]। तदनुसार, ऑपरेशन को अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है, जिससे यह गारंटी मिलती है कि निष्पादन के दौरान कोई C++ अपवाद ट्रिगर नहीं होगा [SWS_CORE_02156]। इस फ़ंक्शन के लिए कोई विशिष्ट AUTOSAR त्रुटि कोड या डेवलपमेंट या डायग्नोस्टिक त्रुटि ट्रैकर्स को संदेश परिभाषित नहीं हैं [SWS_CORE_02156]।

एक कॉन्स्टेंट सदस्य फ़ंक्शन (const) के रूप में, contains कॉलिंग इंस्टेंस को संशोधित नहीं करता है [SWS_CORE_02156]। व्याख्या: पैरामीटर str के लिए, एक वैध, नल-टर्मिनेटेड वर्ण स्ट्रिंग का पास किया जाना आवश्यक माना जाना चाहिए, क्योंकि इंटरफ़ेस const char *str का उपयोग करता है और कोई अलग लंबाई या त्रुटि जाँच प्रदान नहीं करता है [SWS_CORE_02156]। प्रश्न Q-a2d7cd456a72a792 (खुला)

यह उपयोग नोट AUTOSAR Adaptive R25-11 के विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02156
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02156@rel:R25-11#1cdb5c9d
Content hash
1cdb5c9d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02156
Status: valid/unmigrated Version: rel:R25-11#6cdc600c Versionshistorie & Revisions (1 transition, 3 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_02156@rel:R25-11#6cdc600c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b6fe65ea2026-09-30
  • R24-11rel:R24-11#74254ddc2026-10-14
  • R25-11rel:R25-11#6cdc600c2026-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

फ़ंक्शन copy [SWS_CORE_02140]

size_type copy (char *s, size_type n, size_type pos=0) const noexcept;

As per corresponding usage in [string.view] except for the following deviations: 1. The function is noexcept 2. if (pos > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 63860f6d57ee उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView ([SWS_CORE_02140]) का सिंक्रोनस सदस्य फ़ंक्शन copy एक प्रदान किए गए बफ़र में एक उप-स्ट्रिंग कॉपी करता है। एक्सेस हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से होती है:

  • पैरामीटर: char *s लक्ष्य ऐरे को संदर्भित करता है, n कॉपी किए जाने वाले वर्णों की अधिकतम संख्या निर्धारित करता है और pos शुरुआती स्थिति को परिभाषित करता है (डिफ़ॉल्ट मान 0)।
  • रिटर्न मान: प्रकार size_type का एक मान, जो वास्तव में कॉपी किए गए वर्णों की संख्या को इंगित करता है।
  • सिमेंटिक्स: फ़ंक्शन सिंक्रोनस रूप से कार्य करता है और ISO-C++ विनिर्देश [string.view] ([SWS_CORE_02140]) पर आधारित है।

त्रुटि प्रबंधन

त्रुटि की स्थिति में, यदि pos > size() लागू होता है, तो एक IsoStdOutOfRangeViolation ट्रिगर होता है ([SWS_CORE_02140])। यह मानक [string.view] से भिन्न है, जो std::out_of_range थ्रो करता है। चूंकि इंटरफ़ेस को noexcept के रूप में घोषित किया गया है, इसलिए उल्लंघन ट्रिगर होने पर संभवतः प्रक्रिया सीधे समाप्त हो जाएगी (व्याख्या: कोई C++ अपवाद अग्रेषित नहीं किया जाता है)। प्रश्न Q-4ddbe4dfb002c41f (खुला)

समवर्तीता और प्रतिबंध

ऑपरेशन को const और साथ ही noexcept के रूप में निर्दिष्ट किया गया है और इसे exception safe ([SWS_CORE_02140]) माना जाता है। कॉलर को यह सुनिश्चित करना चाहिए कि लक्ष्य ऐरे s कम से कम min(n, size() - pos) वर्णों के लिए पर्याप्त मेमोरी प्रदान करे, क्योंकि लक्ष्य बफ़र की परास त्रुटियों को इंटरसेप्ट नहीं किया जाता है।

इंटरैक्शन

ara::core::BasicString::copy ([SWS_CORE_03410]) की तुलना में, जो value_type के साथ काम करता है और not exception safe के रूप में वर्गीकृत है, StringView में संस्करण एक अपवाद-सुरक्षित noexcept गारंटी प्रदान करता है ([SWS_CORE_02140])।

यह पाठ एक AI द्वारा बनाया गया था और विशेष रूप से AUTOSAR पेलोड के विनिर्देशों पर आधारित है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02140
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02140@rel:R25-11#714f727a
Content hash
714f727a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02140
Status: valid/unmigrated Version: rel:R25-11#c0d72cc2 Versionshistorie & Revisions (1 transition, 3 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_02140@rel:R25-11#c0d72cc2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bfd7aa522026-09-30
  • R24-11rel:R24-11#89e17bc12026-10-14
  • R25-11rel:R25-11#c0d72cc22026-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

फ़ंक्शन crbegin [SWS_CORE_02126]

constexpr const_reverse_iterator crbegin () const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 231dd0a8e66b उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

वर्ग ara::core::StringView का सदस्य फ़ंक्शन crbegin उल्टे वर्ण दृश्य के पहले वर्ण पर समकालिक रूप से एक स्थिर रिवर्स इटरेटर (const_reverse_iterator) लौटाता है [SWS_CORE_02126]। फ़ंक्शन कोई पैरामीटर स्वीकार नहीं करता है, हेडर फ़ाइल ara/core/string_view.h के माध्यम से घोषित किया गया है और [string.view] [SWS_CORE_02126] के मानक सिमेंटिक्स का अनुसरण करता है।

त्रुटि प्रबंधन के संबंध में, ऑपरेशन को noexcept के रूप में परिभाषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CORE_02126]। न तो त्रुटि कोड लौटाए जाते हैं और न ही DET या DEM के माध्यम से त्रुटि संदेश भेजे जाते हैं, क्योंकि कॉल त्रुटि-मुक्त चलने की गारंटी देता है [SWS_CORE_02126]।

constexpr और const के रूप में विनिर्देश के लिए धन्यवाद, फ़ंक्शन को अनुवाद समय (translation time) पर स्थिर अभिव्यक्तियों के संदर्भ में भी कॉल किया जा सकता है [SWS_CORE_02126]। व्याख्या: उसी इंस्टेंस पर crbegin के समानांतर कॉल समवर्ती रूप से थ्रेड-सुरक्षित होने की संभावना है, क्योंकि ऑपरेशन ऑब्जेक्ट में कोई संशोधन नहीं करता है। प्रश्न Q-ce8bc6d0753d1aa8 (खुला)

इंटरफ़ेस AUTOSAR Adaptive Core के कंटेनर-व्यापी इटरेटर सिद्धांत में निर्बाध रूप से एकीकृत होता है। crbegin के समकक्ष constexpr-कार्यान्वयन ara::core::Array [SWS_CORE_01260] और ara::core::Span [SWS_CORE_01978] में पाए जाते हैं। इसके अतिरिक्त, ara::core::Vector [SWS_CORE_01342], ara::core::Map [SWS_CORE_01450] और ara::core::BasicString [SWS_CORE_03049] जैसे कंटेनर भी संबंधित गैर-constexpr const_reverse_iterator-प्रवेश बिंदु उपलब्ध कराते हैं।

यह पाठ AUTOSAR विनिर्देश R25-11 के आधार पर एक AI प्रणाली द्वारा तैयार किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02126
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02126@rel:R25-11#f4557b4b
Content hash
f4557b4b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02126
Status: valid/unmigrated Version: rel:R25-11#145020af Versionshistorie & Revisions (1 transition, 3 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_02126@rel:R25-11#145020af
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1f90ed5e2026-09-30
  • R24-11rel:R24-11#40fe14e12026-10-14
  • R25-11rel:R25-11#145020af2026-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

फ़ंक्शन crend [SWS_CORE_02127]

constexpr const_reverse_iterator crend () const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: a2bec2dd4b77 उद्गम खुले प्रश्न (2)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

वर्ग ara::core::StringView का सदस्य फ़ंक्शन crend एक स्थिर बैकवर्ड इटरेटर ([SWS_CORE_02127]) लौटाता है। कॉल समकालिक रूप से और हेडर ara/core/string_view.h से एक मौजूदा इंस्टेंस पर बिना पैरामीटर के किया जाता है। लौटाया गया const_reverse_iterator एक उल्टे इटरेशन के तार्किक अंत को चिह्नित करता है; C++ संदर्भ [string.view] के अनुसार, यह सेंटिनल स्थिति के रूप में स्ट्रिंग के पहले वर्ण से ठीक पहले के सैद्धांतिक तत्व को संदर्भित करता है (व्याख्या: C++ मानक के अनुरूप)। प्रश्न Q-5fd666f8d3eaf308 (खुला)

त्रुटि हैंडलिंग और समवर्तीता

फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित ("exception safe") के रूप में निर्दिष्ट किया गया है ([SWS_CORE_02127])। न तो अपवाद ट्रिगर होते हैं, न ही त्रुटि कोड लौटाए जाते हैं या DET/DEM संदेश भेजे जाते हैं। constexpr-योग्यता के कारण, इटरेटर कंपाइल समय पर ही उत्पन्न किया जा सकता है। स्थिति प्रभावों के बिना एक शुद्ध const-विधि के रूप में, उसी इंस्टेंस पर एक साथ रीड कॉल समवर्ती रूप से सुरक्षित होने की संभावना है (व्याख्या)। प्रश्न Q-207e2b9561f61d27 (खुला)

इंटरैक्शन

इंटरफ़ेस अनुक्रमिक डेटा संरचनाओं के लिए ara::core की एकीकृत इटरेशन अवधारणा का अनुसरण करता है। संबंधित विनिर्देश समान crend-इंटरफ़ेस को परिभाषित करते हैं:

यह पाठ एक AI द्वारा तैयार किया गया था और AUTOSAR Adaptive R25-11 की आवश्यकताओं को सारांशित करता है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02127
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02127@rel:R25-11#44c56b59
Content hash
44c56b59
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02127
Status: valid/unmigrated Version: rel:R25-11#3193f3f9 Versionshistorie & Revisions (1 transition, 3 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_02127@rel:R25-11#3193f3f9
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ca92a6a32026-09-30
  • R24-11rel:R24-11#6418bfd72026-10-14
  • R25-11rel:R25-11#3193f3f92026-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

फ़ंक्शन data [SWS_CORE_02136]

constexpr const_pointer data () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02136
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02136@rel:R25-11#824d95e0
Content hash
824d95e0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02136
Status: valid/unmigrated Version: rel:R25-11#393a4be3 Versionshistorie & Revisions (1 transition, 3 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_02136@rel:R25-11#393a4be3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#a70d57b12026-09-30
  • R24-11rel:R24-11#a06d4fdb2026-10-14
  • R25-11rel:R25-11#393a4be32026-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

फ़ंक्शन empty [SWS_CORE_02131]

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

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02131
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02131@rel:R25-11#398bfb1d
Content hash
398bfb1d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02131
Status: valid/unmigrated Version: rel:R25-11#af9f18de Versionshistorie & Revisions (1 transition, 3 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_02131@rel:R25-11#af9f18de
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#07748f7d2026-09-30
  • R24-11rel:R24-11#a91f4c372026-10-14
  • R25-11rel:R25-11#af9f18de2026-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

फ़ंक्शन end [SWS_CORE_02121]

constexpr const_iterator end () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02121
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02121@rel:R25-11#9c9864b9
Content hash
9c9864b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02121
Status: valid/unmigrated Version: rel:R25-11#ad81fc10 Versionshistorie & Revisions (1 transition, 3 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_02121@rel:R25-11#ad81fc10
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b8de17a72026-09-30
  • R24-11rel:R24-11#9eb908362026-10-14
  • R25-11rel:R25-11#ad81fc102026-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

फ़ंक्शन ends_with [SWS_CORE_02151]

constexpr bool ends_with (StringView sv) const noexcept;

As per corresponding usage in [string.view] in [15]

Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: f73e35eb5e81 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

सदस्य फलन ara::core::StringView::ends_with सिंक्रोनस रूप से जाँचता है कि विचाराधीन वर्ण अनुक्रम पास किए गए उप-अनुक्रम sv के साथ समाप्त होता है या नहीं [SWS_CORE_02151]। यह हेडर फ़ाइल ara/core/string_view.h में घोषित है और ISO/IEC 14882:2020 [SWS_CORE_02151] के [string.view] के अनुसार मानकीकृत C++ सिमेंटिक्स का पालन करता है। constexpr के रूप में चिह्नित होने के कारण, तुलना का मूल्यांकन संकलन समय पर ही किया जा सकता है। चूँकि यह एक const मेथड है, इसलिए कॉलिंग ऑब्जेक्ट में कोई बदलाव नहीं होता है।

त्रुटि हैंडलिंग और समवर्तीता

विनिर्देश ends_with को गुण exception safe प्रदान करता है और इसे noexcept [SWS_CORE_02151] के रूप में घोषित करता है। इस प्रकार फलन कोई अपवाद नहीं फेंकता है और न तो DET या DEM जैसे AUTOSAR त्रुटि चैनलों के माध्यम से और न ही विशिष्ट त्रुटि कोड के माध्यम से विफलताओं की रिपोर्ट करता है। एक अपरिवर्तनीय स्ट्रिंग दृश्य पर शुद्ध रीड ऑपरेशन के रूप में, यह फलन पुन: प्रवेशी (reentrant) होना चाहिए और सिंक्रोनाइज़ेशन तंत्र के बिना एक ही इंस्टेंस पर समवर्ती रीड एक्सेस के साथ सुरक्षित होना चाहिए। प्रश्न Q-821d4d0f216694ef (खुला)

इंटरैक्शन

मेथड कक्षा ara::core::StringView का हिस्सा है और संबंधित ओवरलोड द्वारा पूरक है: किसी अन्य StringView ऑब्जेक्ट के विरुद्ध मूल्यांकन के अलावा, एकल वर्ण char [SWS_CORE_02152] के विरुद्ध और नल-टर्मिनेटेड C-स्ट्रिंग const char* [SWS_CORE_02153] के विरुद्ध परीक्षण के लिए प्रकार उपलब्ध हैं, जो अपवाद-सुरक्षित भी हैं और संकलन समय पर उपयोग करने योग्य हैं।

यह उपयोग नोट AUTOSAR पेलोड के आधार पर स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02151
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02151@rel:R25-11#cacb7b59
Content hash
cacb7b59
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02151
Status: valid/unmigrated Version: rel:R25-11#c77b5791 Versionshistorie & Revisions (1 transition, 3 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_02151@rel:R25-11#c77b5791
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#053459a52026-09-30
  • R24-11rel:R24-11#a9dceeaa2026-10-14
  • R25-11rel:R25-11#c77b57912026-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

फ़ंक्शन ends_with [SWS_CORE_02152]

constexpr bool ends_with (char c) const noexcept;

As per corresponding usage in [string.view] in [15]

Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 36112573f039 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView का सदस्य फ़ंक्शन ends_with सिंक्रोनस रूप से जाँच करता है कि क्या संदर्भित स्ट्रिंग निर्दिष्ट वर्ण c पर समाप्त होती है ([SWS_CORE_02152])। इसे हेडर ara/core/string_view.h के माध्यम से घोषित किया गया है और ISO/IEC 14882:2020 ([SWS_CORE_02152]) के अनुसार [string.view] से मानकीकृत कार्यप्रणाली का पालन करता है। constexpr के रूप में चिह्नांकन के माध्यम से, मूल्यांकन रनटाइम के साथ-साथ संकलन के संदर्भ में पहले से भी किया जा सकता है ([SWS_CORE_02152])।

त्रुटि प्रबंधन और रनटाइम व्यवहार

इंटरफ़ेस पूर्ण अपवाद सुरक्षा (\"exception safe\") की गारंटी देता है और विनिर्देशक noexcept के साथ प्रदान किया गया है ([SWS_CORE_02152])। नतीजतन, यह कभी भी अपवाद नहीं थ्रो करता है और DET या DEM के माध्यम से किसी भी त्रुटि संदेश का उपयोग नहीं करता है। एक खाली स्ट्रिंग के मामले में, जाँच हमेशा बूलियन परिणाम false लौटाती है।

समवर्तीता और परस्पर क्रिया

चूंकि ends_with को बिना किसी स्टेट प्रभाव के शुद्ध const ऑपरेशन के रूप में परिभाषित किया गया है, कई थ्रेड्स से एक ही इंस्टेंस पर एक साथ रीड एक्सेस हानिरहित होना चाहिए (व्याख्या)। प्रश्न Q-b3a5dccbd8ff638a (खुला) एकल वर्ण के अलावा, ara::core::StringView एंडिंग जाँच के लिए दो अन्य ओवरलोड प्रदान करता है: किसी अन्य StringView ([SWS_CORE_02151]) के साथ तुलना और प्रकार const char* ([SWS_CORE_02153]) के नल-टर्मिनेटेड C-स्ट्रिंग के विरुद्ध जाँच। दोनों प्रकार भी सिंक्रोनस, constexpr और noexcept निष्पादित हैं ([SWS_CORE_02151], [SWS_CORE_02153])।

यह पाठ एक AI द्वारा बनाया गया था; सभी तकनीकी कथन विशेष रूप से विनिर्देश आधार पर निर्भर करते हैं।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02152
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02152@rel:R25-11#76371930
Content hash
76371930
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02152
Status: valid/unmigrated Version: rel:R25-11#cacab0b1 Versionshistorie & Revisions (1 transition, 3 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_02152@rel:R25-11#cacab0b1
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#fba9ee732026-09-30
  • R24-11rel:R24-11#fd9a59562026-10-14
  • R25-11rel:R25-11#cacab0b12026-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

फ़ंक्शन ends_with [SWS_CORE_02153]

constexpr bool ends_with (const char *str) const noexcept;

As per corresponding usage in [string.view] in [15] 1. The function is noexcept

Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 6d5cc865e3a5 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

कक्षा ara::core::StringView का सदस्य फलन ends_with सिंक्रोनस रूप से जाँचता है कि विचाराधीन वर्ण अनुक्रम किसी विशिष्ट स्ट्रिंग के साथ समाप्त होता है या नहीं [SWS_CORE_02153]। फलन एक पॉइंटर const char* str को पैरामीटर के रूप में स्वीकार करता है और bool प्रकार का रिटर्न मान प्रदान करता है [SWS_CORE_02153]। constexpr के रूप में घोषणा के कारण, मूल्यांकन रनटाइम के साथ-साथ संकलन समय पर भी हो सकता है [SWS_CORE_02153]। कार्यात्मक सिमेंटिक्स मानक ISO/IEC 14882:2020 [SWS_CORE_02153] के अनुभाग [string.view] की परिभाषा का पालन करते हैं।

त्रुटि प्रबंधन के संबंध में, फलन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है, यही कारण है कि कोई C++ अपवाद ट्रिगर नहीं होते हैं [SWS_CORE_02153]। इस सहायक फलन के लिए विशिष्ट AUTOSAR त्रुटि कोड या DET अथवा DEM को त्रुटि संदेश प्रदान नहीं किए गए हैं।

व्याख्या: कॉल करते समय, पैरामीटर str को एक मान्य, नल-टर्मिनेटेड स्ट्रिंग को संदर्भित करना चाहिए, क्योंकि कोई अतिरिक्त लंबाई पैरामीटर पास नहीं किया जाता है [SWS_CORE_02153]। प्रश्न Q-d6d076a1a2ab7dce (खुला) चूँकि मेथड const के रूप में योग्य है और किसी भी आंतरिक स्थिति को संशोधित नहीं करता है, इसलिए एक ही इंस्टेंस पर समवर्ती रीड एक्सेस सुरक्षित है।

फलन हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से ara::core::StringView के स्कोप में उपलब्ध है [SWS_CORE_02153]। यह ends_with के संबंधित ओवरलोड का पूरक है, जो C-स्ट्रिंग के स्थान पर StringView ऑब्जेक्ट [SWS_CORE_02151] या एकल वर्ण char [SWS_CORE_02152] स्वीकार करते हैं।

यह उपयोग नोट विनिर्देश के आधार पर AI द्वारा स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02153
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02153@rel:R25-11#9ea39967
Content hash
9ea39967
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02153
Status: valid/unmigrated Version: rel:R25-11#cc48c5a6 Versionshistorie & Revisions (1 transition, 3 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_02153@rel:R25-11#cc48c5a6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#73a1a7ed2026-09-30
  • R24-11rel:R24-11#f1f834912026-10-14
  • R25-11rel:R25-11#cc48c5a62026-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

फ़ंक्शन find [SWS_CORE_02157]

constexpr size_type find (StringView s, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: a92b06c6fdd1 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का मेंबर फ़ंक्शन find, [string.view] [SWS_CORE_02157] के व्यवहार के अनुसार प्रारंभिक स्थिति pos से पास की गई सबस्ट्रिंग s की पहली उपस्थिति के लिए समकालिक रूप से खोज करता है। फ़ंक्शन को constexpr और const के रूप में परिभाषित किया गया है, जिसका अर्थ है कि इसे संकलन समय पर और अपरिवर्तनीय इंस्टेंस पर भी कॉल किया जा सकता है [SWS_CORE_02157]।

त्रुटि प्रबंधन के संबंध में, विधि को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है [SWS_CORE_02157]; विशिष्ट त्रुटि कोड के साथ-साथ DET या DEM संदेश प्रदान नहीं किए गए हैं। चूंकि निष्पादन ऑब्जेक्ट की स्थिति को नहीं बदलता है, इसलिए अतिरिक्त तुल्यकालन के बिना उसी StringView इंस्टेंस पर कई निष्पादन थ्रेड द्वारा एक साथ पढ़ने की पहुँच अनुमत होनी चाहिए। प्रश्न Q-e27507133b5a4e20 (खुला)

ara::core::StringView के भीतर, यह फ़ंक्शन char [SWS_CORE_02158] प्रकार के एकल वर्णों के साथ-साथ C-स्ट्रिंग्स [SWS_CORE_02159], [SWS_CORE_02160] के लिए अन्य खोज ओवरलोड द्वारा पूरक है। अन्य कंटेनरों के साथ इंटरैक्शन में, ara::core::BasicString, StringView के लिए एक तुलनीय खोज फ़ंक्शन प्रदान करता है [SWS_CORE_03315], जबकि ara::core::Map में फ़ंक्शन find कुंजियों को खोजने का कार्य करता है और इटरैटर लौटाता है [SWS_CORE_01490]।

यह उपयोग संबंधी निर्देश AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02157
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02157@rel:R25-11#d771fdc3
Content hash
d771fdc3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02157
Status: valid/unmigrated Version: rel:R25-11#24d77d54 Versionshistorie & Revisions (1 transition, 3 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_02157@rel:R25-11#24d77d54
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#29b1a5422026-09-30
  • R24-11rel:R24-11#d36d983b2026-10-14
  • R25-11rel:R25-11#24d77d542026-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

फ़ंक्शन find [SWS_CORE_02158]

constexpr size_type find (char c, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 25855dcf9257 उद्गम खुले प्रश्न (2)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग और पैरामीटर

वर्ग ara::core::StringView का समकालिक सदस्य फ़ंक्शन find इंडेक्स स्थिति pos से वर्ण c ([SWS_CORE_02158]) की पहली उपस्थिति की खोज करता है। इसे हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से शामिल किया गया है और रिटर्न मान के रूप में size_type प्रकार के मिलान स्थल का इंडेक्स लौटाता है। यदि वर्ण नहीं मिलता है, तो [string.view] के संदर्भ के अनुसार मान npos लौटाए जाने की संभावना है। प्रश्न Q-60ea50d6f006004f (खुला)

त्रुटि हैंडलिंग और समवर्तीता

फ़ंक्शन को noexcept के साथ घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है ([SWS_CORE_02158])। constexpr और const के रूप में चिह्नित होने के कारण, यह अनुवाद समय पर स्थिर अभिव्यक्तियों के लिए उपयुक्त है और अंतर्निहित ऑब्जेक्ट को संशोधित नहीं करता है। उसी इंस्टेंस पर समवर्ती रीड एक्सेस संभवतः रीएंट्रेंट और थ्रेड-सुरक्षित हैं, जब तक कि मेमोरी में संदर्भित स्ट्रिंग अपरिवर्तित रहती है। प्रश्न (खुला)

पारस्परिक क्रिया और विकल्प

यह विधि ara::core::StringView में find के अन्य ओवरलोड को पूरक बनाती है, जो सबस्ट्रिंग्स ([SWS_CORE_02157]) या पॉइंटर अनुक्रमों ([SWS_CORE_02159], [SWS_CORE_02160]) की खोज करते हैं। ara::core::BasicString ([SWS_CORE_03324]) में वर्ण-आधारित खोज के विपरीत, जिसे not exception safe के रूप में वर्गीकृत किया गया है, यह संस्करण पूर्ण अपवाद-मुक्तता की गारंटी देता है। यह स्वयं को ara::core::Map ([SWS_CORE_01490]) में कुंजी-आधारित खोज से भी अलग करता है।

यह उपयोग नोट स्वचालित रूप से बनाया गया था और विनिर्देश AUTOSAR Adaptive R25-11 पर आधारित है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02158
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02158@rel:R25-11#cb472c10
Content hash
cb472c10
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02158
Status: valid/unmigrated Version: rel:R25-11#09e4d99c Versionshistorie & Revisions (1 transition, 3 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_02158@rel:R25-11#09e4d99c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#9c327ae92026-09-30
  • R24-11rel:R24-11#9c7c07962026-10-14
  • R25-11rel:R25-11#09e4d99c2026-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

फ़ंक्शन find [SWS_CORE_02159]

constexpr size_type find (const char *s, size_type pos, size_type n) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 0b317af9b1f1 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

वर्ग ara::core::StringView ([SWS_CORE_02159]) का सदस्य फ़ंक्शन find स्ट्रिंग व्यू के भीतर किसी वर्ण अनुक्रम की तुल्यकालिक खोज के लिए उपयोग किया जाता है। यह हेडर फ़ाइल ara/core/string_view.h के माध्यम से प्रदान किया जाता है। यह फ़ंक्शन एक वर्ण ऐरे के सूचक (pointer) s, प्रकार size_type की एक प्रारंभिक स्थिति pos और खोजे जाने वाले वर्णों की संख्या n को स्वीकार करता है और मिली स्थिति को size_type के रूप में लौटाता है। व्याख्या: [string.view] से संदर्भित सिमेंटिक्स के अनुसार, s को कम से कम n वर्णों वाले फ़ील्ड को संदर्भित करना चाहिए और असफल खोज के मामले में मान npos लौटाया जाना चाहिए। प्रश्न Q-e7f54bb1b42a99d8 (खुला)

त्रुटि हैंडलिंग और समवर्तीता

विधि को noexcept के रूप में घोषित किया गया है और exception safe के रूप में निर्दिष्ट किया गया है ([SWS_CORE_02159])। इसलिए त्रुटि स्थितियों को C++ अपवादों के माध्यम से संकेतित नहीं किया जाता है। चूंकि फ़ंक्शन को const और constexpr के रूप में परिभाषित किया गया है, यह इंस्टेंस को संशोधित नहीं करता है और संकलन-समय मूल्यांकनों के साथ-साथ समवर्ती रीड एक्सेस के लिए उपयुक्त है।

इंटरैक्शन

ara::core::StringView के भीतर यह फ़ंक्शन आगे के खोज ओवरलोड्स को पूरक बनाता है:

  • StringView ([SWS_CORE_02157]) अथवा किसी एकल वर्ण ([SWS_CORE_02158]) की खोज,
  • शून्य-समाप्त C-स्ट्रिंग ([SWS_CORE_02160]) के आधार पर खोज, जिसमें कोई स्पष्ट लंबाई n निर्दिष्ट नहीं की जाती है।

ara::core::BasicString ([SWS_CORE_03409]) में संबंधित हस्ताक्षर की तुलना में, जिसे not exception safe के रूप में घोषित किया गया है और कोई noexcept की गारंटी नहीं देता है, StringView ([SWS_CORE_02159]) में संस्करण बिना आवंटन ओवरहेड के सख्त अपवाद-सुरक्षा प्रदान करता है।

यह उपयोग नोट AUTOSAR Adaptive R25-11 के विनिर्देश के आधार पर एक AI द्वारा तैयार किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02159
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02159@rel:R25-11#7421a265
Content hash
7421a265
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02159
Status: valid/unmigrated Version: rel:R25-11#c17459d4 Versionshistorie & Revisions (1 transition, 3 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_02159@rel:R25-11#c17459d4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bdbbef632026-09-30
  • R24-11rel:R24-11#6676259f2026-10-14
  • R25-11rel:R25-11#c17459d42026-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

फ़ंक्शन find [SWS_CORE_02160]

constexpr size_type find (const char *s, size_type pos=0) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: f16e74818d29 उद्गम खुले प्रश्न (2)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

हेडर #include "ara/core/string_view.h" से वर्ग ara::core::StringView ([SWS_CORE_02160]) का तुल्यकालिक सदस्य फ़ंक्शन find प्रारंभिक स्थिति pos से निर्दिष्ट C-स्ट्रिंग s के पहले उद्भव की खोज करता है। कार्यात्मक व्यवहार C++ मानक [string.view] का अनुसरण करता है, लेकिन noexcept ([SWS_CORE_02160]) के रूप में स्पष्ट अंकन के कारण भिन्न है।

त्रुटि प्रबंधन

फ़ंक्शन को exception safe के रूप में परिभाषित किया गया है और यह किसी भी अपवाद के न होने की गारंटी देता है ([SWS_CORE_02160])। विशिष्ट त्रुटि कोड और DET या DEM को संदेश मौजूद नहीं हैं। व्याख्या: यदि खोजी गई स्ट्रिंग समाविष्ट नहीं है, तो खोज की विफलता को [string.view] के मानक व्यवहार के अनुरूप रिटर्न मान npos द्वारा दर्शाया जाना चाहिए। प्रश्न Q-febde79f1c992c2a (खुला)

समवर्तीता और सीमांत शर्तें

चूंकि find को constexpr और const के रूप में घोषित किया गया है ([SWS_CORE_02160]), कॉल StringView ऑब्जेक्ट की स्थिति को संशोधित नहीं करता है और इसे संकलन-समय पर ही मूल्यांकित किया जा सकता है। व्याख्या: कई थ्रेड्स में समवर्ती रीड एक्सेस बिना किसी अतिरिक्त सिंक्रोनाइज़ेशन उपायों के रीएंट्रेंट और समवर्ती-सुरक्षित होने चाहिए। प्रश्न (खुला)

इंटरैक्शन

ara::core::StringView के भीतर StringView-पैरामीटरों ([SWS_CORE_02157]), एकल वर्णों ([SWS_CORE_02158]) के साथ-साथ स्पष्ट लंबाई सीमा n वाले सबस्ट्रिंग्स ([SWS_CORE_02159]) के लिए find के अतिरिक्त ओवरलोड मौजूद हैं। ara::core::BasicString ([SWS_CORE_03408], [SWS_CORE_03409]) में अनुरूप C-स्ट्रिंग खोज संक्रियाओं के विपरीत, जिन्हें not exception safe के रूप में वर्गीकृत किया गया है, ara::core::StringView में कार्यान्वयन पूर्ण अपवाद-सुरक्षा सुनिश्चित करता है ([SWS_CORE_02160])।

यह उपयोग नोट AUTOSAR Adaptive R25-11 के विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02160
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02160@rel:R25-11#44284658
Content hash
44284658
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02160
Status: valid/unmigrated Version: rel:R25-11#90fc90fe Versionshistorie & Revisions (1 transition, 3 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_02160@rel:R25-11#90fc90fe
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#064ea5bc2026-09-30
  • R24-11rel:R24-11#4ea581dd2026-10-14
  • R25-11rel:R25-11#90fc90fe2026-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

फ़ंक्शन find_first_not_of [SWS_CORE_02173]

constexpr size_type find_first_not_of (StringView s, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: fb4804b1c5ba उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView ([SWS_CORE_02173]) का मेम्बर फ़ंक्शन find_first_not_of स्ट्रिंग दृश्य के भीतर उस पहले वर्ण की सिंक्रोनस खोज के लिए कार्य करता है, जो पास किए गए StringView s में शामिल नहीं है। दूसरे पैरामीटर के रूप में वैकल्पिक रूप से प्रारंभ स्थिति pos निर्दिष्ट की जा सकती है (डिफ़ॉल्ट मान pos=0)। फ़ंक्शन मिली हुई इंडेक्स स्थिति को size_type के रूप में लौटाता है। व्यवहार [string.view] में संगत सिमेंटिक्स के अनुसार निर्देशित होता है। Interpretation: यदि कोई भिन्न वर्ण नहीं मिलता है, तो फ़ंक्शन को इस मानक सिमेंटिक्स के अनुसार मान npos लौटाना चाहिए। प्रश्न Q-8f55419868615e5a (खुला)

त्रुटि हैंडलिंग और समवर्तीता

यह फ़ंक्शन noexcept के रूप में घोषित है और अपवाद-सुरक्षित (“exception safe”) के रूप में निर्दिष्ट है ([SWS_CORE_02173])। कोई अपवाद ट्रिगर नहीं होते हैं और DET या DEM के माध्यम से कोई विशिष्ट त्रुटि संदेश परिभाषित नहीं हैं। क्वालिफायर const और constexpr के माध्यम से, यह कॉल साइड-इफ़ेक्ट-मुक्त रूप से कंपाइल-टाइम पर या अपरिवर्तित ऑब्जेक्ट्स पर समानांतर रूप से हो सकती है।

पारस्परिक क्रिया और ओवरलोडिंग

ara::core::StringView के भीतर, यह फ़ंक्शन अन्य noexcept-ओवरलोड्स द्वारा पूरक होता है:

  • एकल वर्ण char c ([SWS_CORE_02174]) के असमान वर्ण की खोज।
  • लंबाई सीमा n ([SWS_CORE_02175]) के साथ या प्रारंभ स्थिति ([SWS_CORE_02176]) से C-स्ट्रिंग const char *s के आधार पर खोज।

एक समान खोज पैटर्न ara::core::BasicString के लिए मौजूद है, जिसमें अन्य के अलावा StringView ([SWS_CORE_03319]) और BasicString ([SWS_CORE_03337]) शामिल हैं। StringView के विपरीत, पॉइंटर्स और वर्णों ([SWS_CORE_03338], [SWS_CORE_03339], [SWS_CORE_03340]) के लिए वहाँ के ओवरलोड्स को गैर-अपवाद-सुरक्षित के रूप में वर्गीकृत किया गया है।

यह पाठ एक AI द्वारा तैयार किया गया था; यह संदर्भित विनिर्देशों के अध्ययन का स्थान नहीं लेता है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02173
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02173@rel:R25-11#561adb0c
Content hash
561adb0c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02173
Status: valid/unmigrated Version: rel:R25-11#1ce3807a Versionshistorie & Revisions (1 transition, 3 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_02173@rel:R25-11#1ce3807a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#68d44c142026-09-30
  • R24-11rel:R24-11#396f73c12026-10-14
  • R25-11rel:R25-11#1ce3807a2026-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

फ़ंक्शन find_first_not_of [SWS_CORE_02174]

constexpr size_type find_first_not_of (char c, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: d93e1265f673 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

कक्षा ara::core::StringView का सदस्य फलन find_first_not_of वर्ण अनुक्रम के भीतर पहले वर्ण की स्थिति को सिंक्रोनस रूप से निर्धारित करता है जो पास किए गए वर्ण c के बराबर नहीं है [SWS_CORE_02174]। खोज डिफ़ॉल्ट रूप से दृश्य की शुरुआत में या वैकल्पिक ऑफ़सेट pos से शुरू होती है। मानक [string.view] के संदर्भ के माध्यम से, फलन संभवतः पाए गए वर्ण के size_type प्रकार का शून्य-आधारित इंडेक्स लौटाता है या मान npos लौटाता है यदि कोई भिन्न वर्ण मौजूद नहीं है। प्रश्न Q-9f3eeedf35e475e7 (खुला)

त्रुटि प्रबंधन के संबंध में, फलन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CORE_02174]। इस प्रकार यह कोई अपवाद नहीं फेंकता है, किसी भी DET या DEM संदेश का उपयोग नहीं करता है और केवल अपने रिटर्न मान के माध्यम से किसी वर्ण के न मिलने की रिपोर्ट करता है।

constexpr और const मेथड के रूप में, find_first_not_of का मूल्यांकन संकलन समय पर ही किया जा सकता है और यह अंतर्निहित वर्ण फ़ील्ड के लिए स्थितिहीन, दुष्प्रभाव-मुक्त रीड एक्सेस की गारंटी देता है। इसलिए एक ही StringView इंस्टेंस पर समवर्ती कॉल पुन: प्रवेशी (reentrant) हैं और अतिरिक्त सिंक्रोनाइज़ेशन के बिना सुरक्षित हैं।

फलन ara::core::StringView में खोज परिचालनों के एक परिवार का हिस्सा है और StringView [SWS_CORE_02173] के साथ-साथ पॉइंटर-लंबाई युग्मों या नल-टर्मिनेटेड C-स्ट्रिंग्स [SWS_CORE_02175] [SWS_CORE_02176] का उपयोग करके भिन्न उप-अनुक्रमों की खोज के लिए ओवरलोड को पूरा करता है। परिवर्तनशील स्ट्रिंग्स के लिए एक कार्यात्मक समकक्ष ara::core::BasicString [SWS_CORE_03340] में मौजूद है, जिसे StringView के विपरीत अपवाद-सुरक्षित नहीं के रूप में घोषित किया गया है।

यह पाठ एक AI द्वारा बनाया गया था; सभी विवरण विनिर्देश पर आधारित हैं।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02174
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02174@rel:R25-11#a083f83e
Content hash
a083f83e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02174
Status: valid/unmigrated Version: rel:R25-11#2d0f4a99 Versionshistorie & Revisions (1 transition, 3 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_02174@rel:R25-11#2d0f4a99
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f2e5d2f02026-09-30
  • R24-11rel:R24-11#ac2cf4862026-10-14
  • R25-11rel:R25-11#2d0f4a992026-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

फ़ंक्शन find_first_not_of [SWS_CORE_02175]

constexpr size_type find_first_not_of (const char *s, size_type pos, size_type n) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 0b62a700470a उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

कक्षा ara::core::StringView का सदस्य फलन find_first_not_of, [SWS_CORE_02175] के अनुसार, स्ट्रिंग के भीतर पहले वर्ण को सिंक्रोनस रूप से खोजने का कार्य करता है जो किसी दिए गए वर्ण अनुक्रम में प्रकट नहीं होता है। व्यवहार मूल रूप से [string.view] में उपयोग से मेल खाता है, जिसमें प्रलेखित विचलन यह है कि फलन को noexcept [SWS_CORE_02175] के रूप में घोषित किया गया है। व्याख्या: [string.view] के संदर्भ के माध्यम से, पैरामीटर s, pos और n संभवतः खोज को स्थिति pos से सरणी s के पहले n वर्णों तक सीमित करते हैं [SWS_CORE_02175]। प्रश्न Q-745f5bc9246c11a2 (खुला)

उपयोग और त्रुटि हैंडलिंग

फलन को constexpr और const के रूप में परिभाषित किया गया है, हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से प्रदान किया जाता है और size_type प्रकार का एक इंडेक्स लौटाता है [SWS_CORE_02175]। विनिर्देश विधि को exception safe [SWS_CORE_02175] के रूप में वर्गीकृत करता है। चूँकि इसे noexcept के रूप में निर्दिष्ट किया गया है, यह कोई अपवाद नहीं फेंकता है; त्रुटि कोड या DET अथवा DEM को संदेश परिभाषित नहीं हैं [SWS_CORE_02175]।

पारस्परिक क्रिया और विकल्प

ara::core::StringView में, भिन्न खोज पैटर्नों के लिए संबंधित ओवरलोड उपलब्ध हैं:

  • [SWS_CORE_02173] के अनुसार किसी अन्य स्ट्रिंग दृश्य StringView के माध्यम से खोज,
  • [SWS_CORE_02174] के अनुसार किसी एकल वर्ण c से पहले विचलन की खोज और
  • [SWS_CORE_02176] के अनुसार स्पष्ट लंबाई विनिर्देश के बिना नल-टर्मिनेटेड पॉइंटर const char *s के आधार पर खोज।

ara::core::BasicString [SWS_CORE_03338] में संरचनात्मक रूप से समान हस्ताक्षर के विपरीत, जिसे not exception safe के रूप में वर्गीकृत किया गया है और इसमें noexcept नहीं है, StringView में वेरिएंट पूर्ण अपवाद सुरक्षा प्रदान करता है [SWS_CORE_02175]।

यह उपयोग नोट विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02175
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02175@rel:R25-11#68e9fd6e
Content hash
68e9fd6e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02175
Status: valid/unmigrated Version: rel:R25-11#37315b78 Versionshistorie & Revisions (1 transition, 3 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_02175@rel:R25-11#37315b78
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0789a6a52026-09-30
  • R24-11rel:R24-11#979df1152026-10-14
  • R25-11rel:R25-11#37315b782026-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

फ़ंक्शन find_first_not_of [SWS_CORE_02176]

constexpr size_type find_first_not_of (const char *s, size_type pos=0) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 6459da1476d6 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

हेडर ara/core/string_view.h से कक्षा ara::core::StringView ([SWS_CORE_02176]) का सदस्य फलन find_first_not_of आरंभिक स्थिति pos से पहले वर्ण के लिए सिंक्रोनस रूप से खोज करता है जो स्ट्रिंग s में मौजूद नहीं है। व्यवहार [string.view] में परिभाषा से मेल खाता है, लेकिन noexcept ([SWS_CORE_02176]) के रूप में स्पष्ट अंकन के कारण भिन्न है। व्याख्या: [string.view] के मानक संदर्भ से यह निष्कर्ष निकलना चाहिए कि s को एक मान्य, नल-टर्मिनेटेड वर्ण सरणी को संदर्भित करना चाहिए और विफलता की स्थिति में npos लौटाया जाता है। प्रश्न Q-aa48a331975274a1 (खुला)

त्रुटि प्रबंधन के संबंध में, फलन को अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है ([SWS_CORE_02176])। कोई अपवाद नहीं फेंके जाते हैं; DET या DEM जैसे AUTOSAR तंत्रों के माध्यम से रनटाइम त्रुटि संदेश पेलोड में इस फलन के लिए परिभाषित नहीं हैं।

constexpr और const ([SWS_CORE_02176]) के रूप में योग्यता के कारण, खोज कार्रवाई StringView ऑब्जेक्ट की स्थिति को नहीं बदलती है। यह पुन: प्रवेशी (reentrant) है और मनमाने थ्रेड्स में और साथ ही संकलन समय पर स्थिर अभिव्यक्तियों में निष्पादित किया जा सकता है।

संबंधित इंटरफ़ेस के साथ संयोजन में, यह फलन ara::core::StringView के भीतर आगे के ओवरलोड को पूरा करता है, विशेष रूप से StringView ([SWS_CORE_02173]), एक एकल वर्ण char ([SWS_CORE_02174]) या लंबाई सीमा वाले बफ़र n ([SWS_CORE_02175]) के साथ खोज के लिए। ara::core::BasicString ([SWS_CORE_03338], [SWS_CORE_03339]) में पॉइंटर-आधारित ओवरलोड के विपरीत, जिन्हें not exception safe के रूप में वर्गीकृत किया गया है, StringView पर यह वेरिएंट पूर्ण अपवाद सुरक्षा सुनिश्चित करता है।

यह उपयोग नोट स्वचालित रूप से जनरेट किया गया था और AUTOSAR Adaptive R25-11 की आवश्यकताओं पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02176
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02176@rel:R25-11#56ba9178
Content hash
56ba9178
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02176
Status: valid/unmigrated Version: rel:R25-11#088ec6f3 Versionshistorie & Revisions (1 transition, 3 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_02176@rel:R25-11#088ec6f3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bafb32832026-09-30
  • R24-11rel:R24-11#de0195822026-10-14
  • R25-11rel:R25-11#088ec6f32026-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

फ़ंक्शन find_first_of [SWS_CORE_02165]

constexpr size_type find_first_of (StringView s, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: ac2c1254417a उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

वर्ग ara::core::StringView ([SWS_CORE_02165]) का सदस्य फ़ंक्शन find_first_of इंडेक्स pos से पास किए गए वर्ण दृश्य s के किसी भी वर्ण की पहली उपस्थिति के लिए एक वर्ण अनुक्रम को समकालिक रूप से खोजता है। विधि पाए गए स्थान को प्रकार size_type के इंडेक्स के रूप में लौटाती है।

विनिर्देश के अनुसार, फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है ([SWS_CORE_02165])। यह कोई अपवाद ट्रिगर नहीं करता है और DET या DEM को किसी त्रुटि की रिपोर्ट नहीं करता है। व्याख्या: यदि कोई मिलान वर्ण नहीं मिलता है या प्रारंभिक इंडेक्स मान्य सीमा से बाहर है, तो [string.view] के मानक सिमेंटिक्स के अनुरूप परिणाम मान npos के बराबर होने की संभावना है। प्रश्न Q-ad877979579b5bd1 (खुला)

चूंकि find_first_of को const के रूप में निर्दिष्ट किया गया है, कॉल कोई स्थिति परिवर्तन नहीं करता है ([SWS_CORE_02165])। अतिरिक्त सिंक्रोनाइज़ेशन के बिना उसी इंस्टेंस पर समवर्ती रीड एक्सेस संभव है। constexpr के रूप में अंकन के लिए धन्यवाद, खोज का मूल्यांकन अनुवाद समय पर भी किया जा सकता है।

मॉड्यूल core में ara::core::StringView के लिए आगे के ओवरलोड मौजूद हैं, जिनमें एकल वर्णों ([SWS_CORE_02166]), स्पष्ट वर्ण गणना वाले पॉइंटर्स ([SWS_CORE_02167]) और साथ ही नल-टर्मिनेटेड स्ट्रिंग्स ([SWS_CORE_02168]) शामिल हैं। वर्ग ara::core::BasicString में [SWS_CORE_03317] के साथ StringView के लिए एक तुलनीय ओवरलोड उपलब्ध है; StringView के विपरीत, वहां के पॉइंटर-आधारित खोज फ़ंक्शनों को अपवाद-सुरक्षित नहीं के रूप में घोषित किया गया है ([SWS_CORE_03330])।

यह पाठ एक AI द्वारा उत्पन्न किया गया था और AUTOSAR विनिर्देश के आधार पर मार्गदर्शन प्रदान करता है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02165
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02165@rel:R25-11#362f2cb3
Content hash
362f2cb3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02165
Status: valid/unmigrated Version: rel:R25-11#64f2bd5c Versionshistorie & Revisions (1 transition, 3 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_02165@rel:R25-11#64f2bd5c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f273ce892026-09-30
  • R24-11rel:R24-11#372e9b2c2026-10-14
  • R25-11rel:R25-11#64f2bd5c2026-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

फ़ंक्शन find_first_of [SWS_CORE_02166]

constexpr size_type find_first_of (char c, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 7942ee3cb4b2 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

कक्षा ara::core::StringView का सदस्य फलन find_first_of संदर्भित स्ट्रिंग [SWS_CORE_02166] के भीतर किसी वर्ण की पहली उपस्थिति को सिंक्रोनस रूप से खोजने का कार्य करता है। यह हेडर ara/core/string_view.h के माध्यम से उपलब्ध है और खोजे जाने वाले वर्ण c के साथ-साथ वैकल्पिक रूप से आरंभिक स्थिति pos को स्वीकार करता है, जो डिफ़ॉल्ट रूप से 0 पर सेट होती है। फलन [string.view] में व्यवहार के अनुसार size_type प्रकार के पाए गए स्थान का इंडेक्स लौटाता है [SWS_CORE_02166]। एक constexpr मेथड के रूप में, इसे रनटाइम के साथ-साथ संकलन के दौरान भी निष्पादित किया जा सकता है।

त्रुटि प्रबंधन

फलन को noexcept के रूप में घोषित किया गया है और स्पष्ट रूप से अपवाद-सुरक्षित (“exception safe”) के रूप में वर्गीकृत किया गया है [SWS_CORE_02166]। कोई अपवाद ट्रिगर नहीं होते हैं, और विनिर्देश कोई विशिष्ट त्रुटि कोड या विकास त्रुटि ट्रैकिंग (DET) या त्रुटि मेमोरी प्रबंधन (DEM) को संदेश परिभाषित नहीं करता है।

समवर्तीता और प्रतिबंध

एक कॉन्स्टेंट सदस्य फलन (const) के रूप में, कॉल ara::core::StringView के इंस्टेंस को संशोधित नहीं करता है [SWS_CORE_02166]। व्याख्या: एकाधिक थ्रेड्स से एक ही ऑब्जेक्ट पर समानांतर, रीड कॉल इसलिए पुन: प्रवेशी (reentrant) और समवर्ती रूप से सुरक्षित होने चाहिए, जब तक कि अंतर्निहित वर्ण बफ़र अपरिवर्तित रहता है। प्रश्न Q-b86dddc1a54a05e1 (खुला)

इंटरैक्शन

फलन ara::core::StringView के खोज इंटरफ़ेस का हिस्सा है। अलग-अलग वर्णों की खोज के अलावा, StringView [SWS_CORE_02165] का उपयोग करके सबस्ट्रिंग्स के लिए और पॉइंटर अभ्यावेदन [SWS_CORE_02167], [SWS_CORE_02168] के लिए समान, noexcept के रूप में भी निर्दिष्ट ओवरलोड मौजूद हैं। इसके विपरीत, कक्षा ara::core::BasicString एकल वर्णों [SWS_CORE_03332] और पॉइंटर्स [SWS_CORE_03330], [SWS_CORE_03331] के लिए संबंधित ओवरलोड को बिना noexcept के घोषित करती है और इन्हें अपवाद-सुरक्षित नहीं (“not exception safe”) के रूप में वर्गीकृत करती है, जबकि BasicString [SWS_CORE_03329] और StringView [SWS_CORE_03317] वाले स्ट्रिंग वेरिएंट अपवाद-सुरक्षित बने रहते हैं।

यह उपयोग नोट विनिर्देश आवश्यकताओं के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02166
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02166@rel:R25-11#d6ce39a0
Content hash
d6ce39a0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02166
Status: valid/unmigrated Version: rel:R25-11#23a60a74 Versionshistorie & Revisions (1 transition, 3 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_02166@rel:R25-11#23a60a74
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bf206aed2026-09-30
  • R24-11rel:R24-11#7a1c0d2e2026-10-14
  • R25-11rel:R25-11#23a60a742026-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

फ़ंक्शन find_first_of [SWS_CORE_02167]

constexpr size_type find_first_of (const char *s, size_type pos, size_type n) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 4de0774d92b5 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

हेडर फ़ाइल #include "ara/core/string_view.h" से कक्षा ara::core::StringView ([SWS_CORE_02167]) का सदस्य फलन find_first_of स्थिति pos से वर्ण अनुक्रम s से किसी वर्ण की पहली उपस्थिति के लिए सिंक्रोनस रूप से खोज करता है। पैरामीटर n पास किए गए पॉइंटर के ध्यान में रखे जाने वाले वर्णों की संख्या को सीमित करता है। फलन पाई गई स्थिति को size_type के रूप में लौटाता है; यदि कोई वर्ण नहीं मिलता है, तो [string.view] के अनुसार मान npos लौटाया जाना चाहिए। प्रश्न Q-eac57a47043e5b33 (खुला)

कॉल संदर्भ और त्रुटि प्रबंधन के लिए निम्नलिखित आवश्यकताएं लागू होती हैं:

  • अपवाद सुरक्षा और संकलन समय मूल्यांकन: मेथड को constexpr और const के रूप में परिभाषित किया गया है। मानक [string.view] से विचलन के रूप में, इसे स्पष्ट रूप से noexcept के साथ घोषित किया गया है और अपवाद-सुरक्षित (“exception safe”) के रूप में निर्दिष्ट किया गया है ([SWS_CORE_02167])। कोई अपवाद ट्रिगर नहीं होते हैं और कोई त्रुटि कोड रिपोर्ट नहीं किए जाते हैं।
  • StringView में संबंधित ओवरलोड: इसके अतिरिक्त, लंबाई सीमा के बिना स्ट्रिंग पॉइंटर्स ([SWS_CORE_02168]), ara::core::StringView ऑब्जेक्ट्स ([SWS_CORE_02165]) के साथ-साथ एकल वर्णों ([SWS_CORE_02166]) के लिए वेरिएंट उपलब्ध हैं, जो noexcept भी हैं।
  • BasicString से अंतर: ara::core::BasicString ([SWS_CORE_03330]) में संबंधित ओवरलोड के विपरीत, जिसे अपवाद-सुरक्षित नहीं (“not exception safe”) और बिना noexcept के सूचीबद्ध किया गया है, StringView कार्यान्वयन पूर्ण अपवाद-मुक्तता सुनिश्चित करता है ([SWS_CORE_02167])।

यह उपयोग नोट स्वचालित रूप से बनाया गया था और विशेष रूप से adaptive R25-11 के लिए AUTOSAR विनिर्देश पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02167
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02167@rel:R25-11#cb157bcb
Content hash
cb157bcb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02167
Status: valid/unmigrated Version: rel:R25-11#25686111 Versionshistorie & Revisions (1 transition, 3 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_02167@rel:R25-11#25686111
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2b1154372026-09-30
  • R24-11rel:R24-11#d22b7d8e2026-10-14
  • R25-11rel:R25-11#256861112026-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

फ़ंक्शन find_first_of [SWS_CORE_02168]

constexpr size_type find_first_of (const char *s, size_type pos=0) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 729a0ca675d4 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

हेडर ara/core/string_view.h से वर्ग ara::core::StringView का सदस्य फ़ंक्शन find_first_of स्थिति pos से वर्ण दृश्य में स्ट्रिंग s [SWS_CORE_02168] के किसी भी वर्ण के पहले उद्भव के लिए तुल्यकालिक रूप से खोज करता है। रिटर्न मान के रूप में यह संबंधित इंडेक्स को size_type के रूप में लौटाता है। constexpr के रूप में विनिर्देश के कारण, यह खोज प्रक्रिया संकलन-समय पर ही निष्पादित की जा सकती है [SWS_CORE_02168]।

त्रुटि हैंडलिंग और समवर्तीता

फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CORE_02168]। विशिष्ट त्रुटि कोड या DET अथवा DEM को संदेश मौजूद नहीं हैं। चूंकि यह विधि इंस्टेंस की स्थिति को नहीं बदलती है (const), इसलिए कई थ्रेड्स से समकालिक रीड एक्सेस सुरक्षित है। व्याख्या: चूंकि हस्ताक्षर कोई लंबाई पैरामीटर प्रदान नहीं करता है, इसलिए अपरिभाषित व्यवहार से बचने के लिए कॉलर को s को एक मान्य शून्य-समाप्त C-स्ट्रिंग पास करने के लिए बाध्य होना चाहिए। प्रश्न Q-6b692ff18063aef5 (खुला)

इंटरैक्शन

ara::core::StringView के भीतर यह फ़ंक्शन StringView [SWS_CORE_02165], एकल वर्णों [SWS_CORE_02166] और स्पष्ट लंबाई सीमा n [SWS_CORE_02167] वाले वर्ण अनुक्रमों के लिए ओवरलोड को पूरा करता है, जो सभी constexpr और noexcept के रूप में परिभाषित हैं। ara::core::BasicString में अनुरूप सूचक खोज फ़ंक्शनों के विपरीत, जिन्हें अपवाद-सुरक्षित नहीं (not exception safe) के रूप में वर्गीकृत किया गया है [SWS_CORE_03330], [SWS_CORE_03331], ara::core::StringView में कार्यान्वयन पूर्ण अपवाद-मुक्ति की गारंटी देता है [SWS_CORE_02168]।

यह पाठ एक AI द्वारा तैयार और संकलित किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02168
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02168@rel:R25-11#c28912e5
Content hash
c28912e5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02168
Status: valid/unmigrated Version: rel:R25-11#c96dbb77 Versionshistorie & Revisions (1 transition, 3 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_02168@rel:R25-11#c96dbb77
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b20a397c2026-09-30
  • R24-11rel:R24-11#9429ef932026-10-14
  • R25-11rel:R25-11#c96dbb772026-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

फ़ंक्शन find_last_not_of [SWS_CORE_02177]

constexpr size_type find_last_not_of (StringView s, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 3dd613d4243d उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का मेम्बर फ़ंक्शन find_last_not_of स्ट्रिंग के भीतर उस अंतिम वर्ण की सिंक्रोनस खोज के लिए कार्य करता है, जो पास किए गए वर्ण अनुक्रम s में शामिल नहीं है ([SWS_CORE_02177])। व्यवहार C++ मानक अनुभाग [string.view] ([SWS_CORE_02177]) के अनुसार निर्देशित होता है। फ़ंक्शन मिली हुई इंडेक्स स्थिति को size_type के रूप में लौटाता है।

निष्पादन और सुरक्षा के संबंध में, मेथड निम्नलिखित विशेषताओं द्वारा विशिष्ट है:

  • कंपाइल-टाइम और अपवाद सुरक्षा: फ़ंक्शन को constexpr और noexcept के रूप में घोषित किया गया है तथा “exception safe” के रूप में वर्गीकृत किया गया है ([SWS_CORE_02177]); त्रुटि कोड या त्रुटि संदेश (जैसे DET/DEM) इस C++ सहायक प्रकार के लिए प्रदान नहीं किए गए हैं।
  • पैरामीटर और खोज स्थिति: सिग्नेचर में प्रारंभ इंडेक्स के रूप में pos=0 संग्रहीत है ([SWS_CORE_02177])। Interpretation: pos के स्पष्ट विनिर्देश के बिना, खोज संभवतः स्थिति 0 से पीछे की ओर होगी, यही कारण है कि कॉलर्स को संपूर्ण स्ट्रिंग में खोज के लिए आमतौर पर एक संगत अंतिम स्थिति पास करनी होगी। प्रश्न Q-35ba83bfea4c90c0 (खुला)
  • समवर्तीता (Concurrency): चूंकि यह एक कॉन्स्टेंट मेम्बर फ़ंक्शन (const) है, इसलिए समान StringView इंस्टेंस पर समवर्ती रीड एक्सेस साइड इफेक्ट्स के बिना संभव है।

मॉड्यूल core में, find_last_not_of को ara::core::StringView के लिए एकल वर्णों char ([SWS_CORE_02178]) तथा स्ट्रिंग्स के पॉइंटर्स const char* ([SWS_CORE_02179], [SWS_CORE_02180]) के लिए अतिरिक्त रूप से ओवरलोड किया गया है। ara::core::BasicString पर एक संबंधित खोज ऑपरेशन StringView पैरामीटर ([SWS_CORE_03320]) के लिए भी मौजूद है।

यह पाठ एक AI द्वारा तैयार किया गया था और यह AUTOSAR मानक रिलीज R25-11 पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02177
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02177@rel:R25-11#3b6e4ad5
Content hash
3b6e4ad5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02177
Status: valid/unmigrated Version: rel:R25-11#900f4d21 Versionshistorie & Revisions (1 transition, 3 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_02177@rel:R25-11#900f4d21
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#fc7953eb2026-09-30
  • R24-11rel:R24-11#fd03fedc2026-10-14
  • R25-11rel:R25-11#900f4d212026-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

फ़ंक्शन find_last_not_of [SWS_CORE_02178]

constexpr size_type find_last_not_of (char c, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 392e437f1cb7 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का फ़ंक्शन find_last_not_of एक स्ट्रिंग दृश्य को पश्चगामी रूप से उस अंतिम वर्ण के लिए खोजता है, जो पास किए गए वर्ण c से मेल नहीं खाता है [SWS_CORE_02178]। यह फ़ंक्शन constexpr और noexcept के रूप में घोषित है और सिंक्रोनस रूप से निष्पादित होता है। यह मिली हुई स्थिति को size_type के रूप में लौटाता है; वैकल्पिक पैरामीटर pos पश्चगामी खोज की प्रारंभ स्थिति निर्धारित करता है और इसका डिफ़ॉल्ट मान 0 है [SWS_CORE_02178]।

त्रुटि प्रबंधन के संबंध में, ऑपरेशन को अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है; इस तत्व के लिए विशिष्ट AUTOSAR त्रुटि कोड या DET या DEM को संदेश प्रदान नहीं किए गए हैं [SWS_CORE_02178]। चूंकि यह एक अपरिवर्तनीय दृश्य पर स्टेटलेस const मेम्बर फ़ंक्शन है, इसलिए समान इंस्टेंस पर समवर्ती रीड एक्सेस थ्रेड-सुरक्षित होनी चाहिए (Interpretation)। प्रश्न Q-6de8853198b2238d (खुला)

ara::core::StringView के भीतर, यह फ़ंक्शन अतिरिक्त ओवरलोड्स को पूरा करता है, जो किसी अन्य StringView [SWS_CORE_02177] के आधार पर या स्ट्रिंग्स के पॉइंटर्स [SWS_CORE_02179], [SWS_CORE_02180] के माध्यम से खोज को सक्षम करते हैं। संगत खोज फ़ंक्शंस क्लास ara::core::BasicString द्वारा भी प्रदान किए जाते हैं, जैसे कि एकल वर्णों [SWS_CORE_03344] या स्ट्रिंग दृश्यों [SWS_CORE_03320] की खोज के लिए, जहाँ वर्ण अनुक्रमों के मामले में वे आंशिक रूप से अपवाद-सुरक्षित के रूप में चिह्नित नहीं हैं [SWS_CORE_03342]।

यह उपयोग संबंधी नोट R25-11 के लिए AUTOSAR विनिर्देश के आधार पर स्वचालित रूप से उत्पन्न किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02178
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02178@rel:R25-11#51fd6593
Content hash
51fd6593
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02178
Status: valid/unmigrated Version: rel:R25-11#90fd2d25 Versionshistorie & Revisions (1 transition, 3 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_02178@rel:R25-11#90fd2d25
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0cd1a7802026-09-30
  • R24-11rel:R24-11#7574854f2026-10-14
  • R25-11rel:R25-11#90fd2d252026-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

फ़ंक्शन find_last_not_of [SWS_CORE_02179]

constexpr size_type find_last_not_of (const char *s, size_type pos, size_type n) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 8368e2692a37 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView ([SWS_CORE_02179]) का मेम्बर फ़ंक्शन find_last_not_of स्थिति pos तक वर्ण दृश्य के भीतर किसी वर्ण की उस अंतिम स्थिति को निर्धारित करता है, जो पास किए गए वर्ण ऐरे s के पहले n वर्णों में उपस्थित नहीं है। व्यवहार C++ मानक संदर्भ [string.view] ([SWS_CORE_02179]) से मेल खाता है। फ़ंक्शन सिंक्रोनस रूप से काम करता है और size_type प्रकार का एक इंडेक्स लौटाता है; यदि कोई भिन्न वर्ण नहीं मिलता है, तो परंपरा के अनुसार npos जैसा एक अमान्य इंडेक्स मान परिणामित होना चाहिए। प्रश्न Q-ac62917eff214d0b (खुला)

त्रुटि हैंडलिंग और समवर्तीता

विनिर्देश के अनुसार, फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है ([SWS_CORE_02179])। पेलोड के अनुसार विशिष्ट त्रुटि कोड, DET या DEM संदेश मौजूद नहीं हैं। const और constexpr फ़ंक्शन के रूप में, कॉल StringView ऑब्जेक्ट की स्थिति को नहीं बदलती है और यह कंपाइल-टाइम पर मूल्यांकनों के साथ-साथ समान इंस्टेंस पर समवर्ती रीड एक्सेस के लिए उपयुक्त है।

पारस्परिक क्रिया और ओवरलोडिंग

यह फ़ंक्शन ara::core::StringView के अन्य खोज फ़ंक्शंस के संयोजन में है, जिनमें StringView ऑब्जेक्ट्स ([SWS_CORE_02177]), एकल वर्णों ([SWS_CORE_02178]) तथा शून्य-समाप्त स्ट्रिंग्स ([SWS_CORE_02180]) की खोज के प्रकार शामिल हैं। ara::core::BasicString ([SWS_CORE_03342]) में संगत समकक्ष के विपरीत, जिसे अपवाद-सुरक्षित के रूप में इंगित नहीं किया गया है, StringView प्रकार पूर्ण अपवाद-मुक्तता ([SWS_CORE_02179]) की गारंटी देता है।

यह पाठ एक AI द्वारा तैयार किया गया था। AUTOSAR विनिर्देश प्राथमिक संदर्भ सामग्री हैं।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02179
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02179@rel:R25-11#33f44a90
Content hash
33f44a90
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02179
Status: valid/unmigrated Version: rel:R25-11#4f63c0a8 Versionshistorie & Revisions (1 transition, 3 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_02179@rel:R25-11#4f63c0a8
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0473290e2026-09-30
  • R24-11rel:R24-11#5e1376c92026-10-14
  • R25-11rel:R25-11#4f63c0a82026-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

फ़ंक्शन find_last_not_of [SWS_CORE_02180]

constexpr size_type find_last_not_of (const char *s, size_type pos=0) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 0106d9b9a697 उद्गम
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView का मेम्बर फ़ंक्शन find_last_not_of वर्ण दृश्य के भीतर उस अंतिम वर्ण की सिंक्रोनस खोज करता है, जो पास की गई स्ट्रिंग s में उपस्थित नहीं है [SWS_CORE_02180]। फ़ंक्शन को constexpr और const के रूप में निर्दिष्ट किया गया है और यह हेडर फ़ाइल ara/core/string_view.h के माध्यम से प्रदान किया जाता है [SWS_CORE_02180]। यह कॉल तुलनात्मक वर्णों के पॉइंटर s के साथ-साथ वैकल्पिक रूप से प्रारंभ स्थिति pos को स्वीकार करती है और प्रकार size_type की मिली हुई स्थिति लौटाती है [SWS_CORE_02180]।

त्रुटि प्रबंधन और अपवाद-सुरक्षा

फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में परिभाषित किया गया है [SWS_CORE_02180]। कोई विशिष्ट त्रुटि कोड वापस नहीं किए जाते हैं और कोई अपवाद नहीं फेंके जाते हैं। अंतर्निहित विनिर्देश [string.view] की तुलना में, गारंटीकृत noexcept विशेषता [SWS_CORE_02180] में स्पष्ट विचलन मौजूद है।

संबंधित फ़ंक्शंस के साथ परस्पर क्रिया

ara::core::StringView के भीतर खोज के लिए संबंधित ओवरलोड्स मौजूद हैं:

  • StringView के एक इंस्टेंस के साथ [SWS_CORE_02177],
  • एकल वर्ण char के साथ [SWS_CORE_02178],
  • n वर्णों की अतिरिक्त सीमा के साथ [SWS_CORE_02179]।

संबंधित क्लास ara::core::BasicString में समरूप खोज फ़ंक्शन उपलब्ध हैं [SWS_CORE_03320], जहाँ वहाँ के पॉइंटर ओवरलोड्स विचलित रूप से गैर-अपवाद-सुरक्षित (not exception safe) के रूप में वर्गीकृत हैं [SWS_CORE_03343]।

यह उपयोग नोट AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से उत्पन्न किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02180
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02180@rel:R25-11#f0f2ef84
Content hash
f0f2ef84
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02180
Status: valid/unmigrated Version: rel:R25-11#75e15f4c Versionshistorie & Revisions (1 transition, 3 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_02180@rel:R25-11#75e15f4c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#70baa39a2026-09-30
  • R24-11rel:R24-11#ddba2e792026-10-14
  • R25-11rel:R25-11#75e15f4c2026-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

फ़ंक्शन find_last_of [SWS_CORE_02169]

constexpr size_type find_last_of (StringView s, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 6bb48053b1d5 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

ara::core::StringView का सदस्य फ़ंक्शन find_last_of [string.view] [SWS_CORE_02169] के अनुसार वर्तमान वर्ण अनुक्रम दृश्य के भीतर पास किए गए स्ट्रिंग व्यू s से किसी भी वर्ण के अंतिम उद्भव को तुल्यकालिक रूप से निर्धारित करता है। पैरामीटर के रूप में एक स्ट्रिंग व्यू s और एक वैकल्पिक प्रारंभिक स्थिति pos पास की जाती है, जिसका डिफ़ॉल्ट मान हस्ताक्षर के अनुसार 0 पर निर्धारित है [SWS_CORE_02169]। रिटर्न मान प्रकार size_type का है और अंतिम मिलान वाले वर्ण [SWS_CORE_02169] का इंडेक्स प्रदान करता है।

त्रुटि हैंडलिंग और समवर्तीता

विधि को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है; इस फ़ंक्शन के लिए DET या DEM को विशिष्ट त्रुटि कोड या संदेश मौजूद नहीं हैं [SWS_CORE_02169]। constexpr के रूप में योग्यता के कारण, मूल्यांकन संकलन-समय पर ही हो सकता है [SWS_CORE_02169]। चूंकि यह एक अपरिवर्तनीय दृश्य पर केवल-पढ़ने की संक्रिया है, इसलिए फ़ंक्शन बिना किसी सिंक्रोनाइज़ेशन प्रयास के समवर्ती रीड एक्सेस के लिए सुरक्षित होना चाहिए। प्रश्न Q-eb7f34ac11d0aa6f (खुला)

इंटरैक्शन

ara::core::StringView के भीतर find_last_of के अतिरिक्त ओवरलोड मौजूद हैं, जो एकल वर्णों char [SWS_CORE_02170] या लंबाई विनिर्देश [SWS_CORE_02171] अथवा शून्य-समाप्ति [SWS_CORE_02172] वाले C-स्ट्रिंग्स को स्वीकार करते हैं। इसी तरह, स्वामी वर्ग ara::core::BasicString संबंधित समकक्ष प्रदान करता है, जैसे कि StringView [SWS_CORE_03318] और BasicString [SWS_CORE_03333] के लिए ओवरलोड, जहाँ pos के लिए डिफ़ॉल्ट मान के रूप में npos मान का उपयोग किया जाता है।

यह पाठ एक AI प्रणाली द्वारा तैयार किया गया था और यह पूरी तरह से AUTOSAR R25-11 के विनिर्देश डेटा पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02169
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02169@rel:R25-11#2cdf73b6
Content hash
2cdf73b6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02169
Status: valid/unmigrated Version: rel:R25-11#2a03c520 Versionshistorie & Revisions (1 transition, 3 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_02169@rel:R25-11#2a03c520
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#3a8597882026-09-30
  • R24-11rel:R24-11#6d01cb3a2026-10-14
  • R25-11rel:R25-11#2a03c5202026-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

फ़ंक्शन find_last_of [SWS_CORE_02170]

constexpr size_type find_last_of (char c, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: daacb511fb62 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

वर्ग ara::core::StringView का सदस्य फ़ंक्शन find_last_of एकल वर्ण [SWS_CORE_02170] के अंतिम उद्भव को तुल्यकालिक रूप से खोजने का काम करता है। यह हेडर <ara/core/string_view.h> में घोषित है और constexpr और noexcept के रूप में निर्दिष्ट है [SWS_CORE_02170]।

उपयोग और सिमेंटिक्स

विधि पास किए गए वर्ण c के लिए वर्ण दृश्य को खोजती है, जिसमें खोज स्थिति pos से पीछे की ओर की जाती है [SWS_CORE_02170]। फ़ंक्शन हस्ताक्षर में डिफ़ॉल्ट मान के रूप में pos = 0 संग्रहीत है [SWS_CORE_02170]। [string.view] के मानक संदर्भ के अनुसार, कॉल मिलने वाले स्थान का शून्य-आधारित इंडेक्स प्रदान करती है; व्याख्या: यदि वर्ण खोजे गए क्षेत्र में नहीं मिलता है, तो विधि को StringView::npos लौटाना चाहिए। प्रश्न Q-099400a9a1a73c09 (खुला)

त्रुटि हैंडलिंग और समवर्तीता

संक्रिया को noexcept के रूप में घोषित किया गया है और इसे पूरी तरह से अपवाद-सुरक्षित (exception safe) माना जाता है [SWS_CORE_02170]। विशिष्ट त्रुटि कोड, AUTOSAR DET- या DEM-संदेश मौजूद नहीं हैं। चूंकि यह एक अपरिवर्तनीय दृश्य पर एक गैर-संशोधन संक्रिया है, इसलिए इसका उपयोग समवर्ती पठन परिदृश्यों में या संकलन-समय पर बिना किसी दुष्प्रभाव के किया जा सकता है।

संबंधित ओवरलोड के साथ अंतःक्रिया

ara::core::StringView के भीतर, यह फ़ंक्शन find_last_of के अन्य ओवरलोड को पूरक बनाता है, जो खोज पैटर्न को StringView [SWS_CORE_02169] के रूप में या C-स्ट्रिंग पॉइंटर [SWS_CORE_02171], [SWS_CORE_02172] के रूप में स्वीकार करते हैं। संबंधित वर्ग ara::core::BasicString के विपरीत, जिसका वर्ण-आधारित संस्करण [SWS_CORE_03336] अपवाद-सुरक्षित नहीं के रूप में वर्गीकृत है और डिफ़ॉल्ट के रूप में pos = npos का उपयोग करता है, यह कार्यान्वयन सख्त अपवाद-सुरक्षा की गारंटी देता है।

यह पाठ एक AI द्वारा तैयार किया गया था और केवल मार्गदर्शन के लिए है। केवल AUTOSAR विनिर्देश ही बाध्यकारी है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02170
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02170@rel:R25-11#a4d266ea
Content hash
a4d266ea
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02170
Status: valid/unmigrated Version: rel:R25-11#3cda8191 Versionshistorie & Revisions (1 transition, 3 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_02170@rel:R25-11#3cda8191
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5804ed432026-09-30
  • R24-11rel:R24-11#ccdccbf92026-10-14
  • R25-11rel:R25-11#3cda81912026-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

फ़ंक्शन find_last_of [SWS_CORE_02171]

constexpr size_type find_last_of (const char *s, size_type pos, size_type n) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 06784379044e उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

वर्ग ara::core::StringView ([SWS_CORE_02171]) का सदस्य फ़ंक्शन find_last_of n वर्णों के एक समुच्चय से किसी भी वर्ण के अंतिम उद्भव के लिए तुल्यकालिक खोज का कार्य करता है, जिसकी ओर पॉइंटर s इंगित करता है। खोज स्थिति pos से पीछे की ओर की जाती है। यह फ़ंक्शन हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से प्रदान किया जाता है और constexpr के रूप में घोषणा के कारण इसे संकलन-समय मूल्यांकनों के संदर्भ में भी निष्पादित किया जा सकता है।

त्रुटि प्रबंधन और अपवाद सुरक्षा

यह फ़ंक्शन स्पष्ट रूप से noexcept के रूप में घोषित है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट है ([SWS_CORE_02171])। त्रुटि की स्थिति में या न मिलने पर कोई अपवाद ट्रिगर नहीं होते हैं और कोई DET या DEM संदेश उत्पन्न नहीं होते हैं; व्यवहार [string.view] के सिमेंटिक्स का अनुसरण करता है।

सीमाएँ और समवर्तीता (concurrency)

एक const-योग्य (qualified) मेथड के रूप में, find_last_of अंतर्निहित StringView ऑब्जेक्ट को संशोधित नहीं करता है। Interpretation: कॉलर को संभवतः यह सुनिश्चित करना होगा कि पॉइंटर s कम से कम n मान्य वर्णों को संदर्भित करता है, क्योंकि विनिर्देश स्वतंत्र बफ़र जाँच परिभाषित नहीं करता है। प्रश्न Q-8d6241b8e7adc61d (खुला)

इंटरैक्शन

यह मेथड ara::core::StringView के भीतर find_last_of के अन्य ओवरलोड्स को पूरा करता है, जिनमें StringView ([SWS_CORE_02169]), एकल वर्णों ([SWS_CORE_02170]) और शून्य-समाप्त स्ट्रिंग्स ([SWS_CORE_02172]) के प्रकार शामिल हैं। ara::core::BasicString ([SWS_CORE_03334]) के ओवरलोड के विपरीत, जिसे गैर-अपवाद-सुरक्षित के रूप में वर्गीकृत किया गया है, StringView कार्यान्वयन पूर्ण noexcept सिमेंटिक्स की गारंटी देता है।

यह उपयोग संबंधी निर्देश AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02171
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02171@rel:R25-11#2ca97853
Content hash
2ca97853
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02171
Status: valid/unmigrated Version: rel:R25-11#abf4737c Versionshistorie & Revisions (1 transition, 3 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_02171@rel:R25-11#abf4737c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#29d746622026-09-30
  • R24-11rel:R24-11#d5158f122026-10-14
  • R25-11rel:R25-11#abf4737c2026-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

फ़ंक्शन find_last_of [SWS_CORE_02172]

constexpr size_type find_last_of (const char *s, size_type pos=0) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 8e0d3d1f38ec उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का मेम्बर फ़ंक्शन find_last_of किसी निर्दिष्ट वर्ण अनुक्रम [SWS_CORE_02172] से किसी भी वर्ण की अंतिम उपस्थिति को खोजने का काम करता है। यह हेडर #include "ara/core/string_view.h" में परिभाषित है और C++ मानक [string.view] के सिमेंटिक्स पर आधारित है, जिसमें विशिष्ट विचलन यह है कि फ़ंक्शन को noexcept के रूप में निर्दिष्ट किया गया है [SWS_CORE_02172]।

उपयोग और पैरामीटर

यह फ़ंक्शन किसी वर्ण अनुक्रम के पॉइंटर const char *s के साथ-साथ पश्चगामी खोज (backward search) प्रारंभ करने के लिए एक वैकल्पिक प्रारंभ स्थिति size_type pos = 0 को स्वीकार करता है [SWS_CORE_02172]। Interpretation: पैरामीटर s को एक मान्य, शून्य-समाप्त स्ट्रिंग को इंगित करना चाहिए, क्योंकि ओवरलोड [SWS_CORE_02171] के विपरीत लंबाई अलग से निर्दिष्ट नहीं की गई है। प्रश्न Q-52f8ae523925f82b (खुला) size_type प्रकार का रिटर्न मान मिले हुए वर्ण का इंडेक्स लौटाता है, जहाँ constexpr के रूप में कॉल को कंपाइल-टाइम पर भी मूल्यांकित किया जा सकता है [SWS_CORE_02172]।

त्रुटि हैंडलिंग और समवर्तीता

यह फ़ंक्शन noexcept और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट है [SWS_CORE_02172]। यह कोई C++ अपवाद ट्रिगर नहीं करता है और कोई DET या DEM संदेश उत्पन्न नहीं करता है। एक कॉन्स्टेंट मेम्बर फ़ंक्शन (const) के रूप में, यह अंतर्निहित StringView इंस्टेंस को संशोधित नहीं करता है [SWS_CORE_02172]।

इंटरैक्शन

ara::core::StringView के भीतर, एक StringView ऑब्जेक्ट [SWS_CORE_02169], एक एकल वर्ण char [SWS_CORE_02170], तथा स्पष्ट लंबाई सीमा वाले पॉइंटर्स n [SWS_CORE_02171] के लिए निकट संबंधित ओवरलोड्स उपलब्ध हैं। समरूप इंटरफेस ara::core::BasicString ([SWS_CORE_03318], [SWS_CORE_03335]) में मिलते हैं, जहाँ वहाँ के पॉइंटर ऑपरेशन्स विचलित रूप से not exception safe के रूप में घोषित हैं [SWS_CORE_03335]।

यह पाठ AUTOSAR विनिर्देश R25-11 के आधार पर एक AI द्वारा जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02172
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02172@rel:R25-11#269d3795
Content hash
269d3795
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02172
Status: valid/unmigrated Version: rel:R25-11#f2ed8d65 Versionshistorie & Revisions (1 transition, 3 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_02172@rel:R25-11#f2ed8d65
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0e4b27072026-09-30
  • R24-11rel:R24-11#3d9606592026-10-14
  • R25-11rel:R25-11#f2ed8d652026-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

फ़ंक्शन front [SWS_CORE_02134]

constexpr const_reference front () const noexcept;

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

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Exception-Sicherheitexception safe
Undefiniertes VerhaltenThe behavior of this function is undefined if: (empty() == true)

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

Record
AUTOSAR/AP/record/SWS_CORE_02134
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02134@rel:R25-11#9bc25f13
Content hash
9bc25f13
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02134
Status: valid/unmigrated Version: rel:R25-11#7eb16d28 Versionshistorie & Revisions (1 transition, 3 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_02134@rel:R25-11#7eb16d28
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#062b83472026-09-30
  • R24-11rel:R24-11#e4ea223b2026-10-14
  • R25-11rel:R25-11#7eb16d282026-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

फ़ंक्शन length [SWS_CORE_02129]

constexpr size_type length () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02129
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02129@rel:R25-11#a5ac4d35
Content hash
a5ac4d35
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02129
Status: valid/unmigrated Version: rel:R25-11#ad8f44cd Versionshistorie & Revisions (1 transition, 3 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_02129@rel:R25-11#ad8f44cd
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f18abc3c2026-09-30
  • R24-11rel:R24-11#1b5c3ba12026-10-14
  • R25-11rel:R25-11#ad8f44cd2026-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

फ़ंक्शन max_size [SWS_CORE_02130]

constexpr size_type max_size () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02130
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02130@rel:R25-11#8dc72e9c
Content hash
8dc72e9c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02130
Status: valid/unmigrated Version: rel:R25-11#ba5261b2 Versionshistorie & Revisions (1 transition, 3 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_02130@rel:R25-11#ba5261b2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#7cb038d22026-09-30
  • R24-11rel:R24-11#65d6d7692026-10-14
  • R25-11rel:R25-11#ba5261b22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator= [SWS_CORE_02116] Upstream: RS_AP_00145

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

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02116
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02116@rel:R25-11#b7de6e2b
Content hash
b7de6e2b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02116
Status: valid/unmigrated Version: rel:R25-11#474dfff5 Versionshistorie & Revisions (1 transition, 3 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_02116@rel:R25-11#474dfff5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#07f45d522026-09-30
  • R24-11rel:R24-11#5feb99a32026-10-14
  • R25-11rel:R25-11#474dfff52026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator= [SWS_CORE_02118] Upstream: RS_AP_00145

constexpr StringView & operator= (StringView &&other) noexcept=default;

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02118
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02118@rel:R25-11#41c882c6
Content hash
41c882c6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02118
Status: valid/unmigrated Version: rel:R25-11#c1fe1b68 Versionshistorie & Revisions (1 transition, 3 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_02118@rel:R25-11#c1fe1b68
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#94f1be952026-09-30
  • R24-11rel:R24-11#604b81ec2026-10-14
  • R25-11rel:R25-11#c1fe1b682026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator[] [SWS_CORE_02132]

constexpr const_reference operator[] (size_type pos) const noexcept;

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02132
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02132@rel:R25-11#24d7f3d0
Content hash
24d7f3d0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02132
Status: valid/unmigrated Version: rel:R25-11#48ad2cf7 Versionshistorie & Revisions (1 transition, 3 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_02132@rel:R25-11#48ad2cf7
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1f32ca172026-09-30
  • R24-11rel:R24-11#3e2e7dd12026-10-14
  • R25-11rel:R25-11#48ad2cf72026-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

फ़ंक्शन rbegin [SWS_CORE_02124]

constexpr const_reverse_iterator rbegin () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02124
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02124@rel:R25-11#c4a7209f
Content hash
c4a7209f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02124
Status: valid/unmigrated Version: rel:R25-11#220a6a7e Versionshistorie & Revisions (1 transition, 3 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_02124@rel:R25-11#220a6a7e
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#05584e392026-09-30
  • R24-11rel:R24-11#6630fc1a2026-10-14
  • R25-11rel:R25-11#220a6a7e2026-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

फ़ंक्शन remove_prefix [SWS_CORE_02137]

constexpr void remove_prefix (size_type n) noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 718964f271f2 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView ([SWS_CORE_02137]) का सदस्य फ़ंक्शन remove_prefix हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से प्रदान किया जाता है। इसका सिग्नेचर constexpr void remove_prefix (size_type n) noexcept; ([SWS_CORE_02137]) है। फ़ंक्शन size_type प्रकार का पैरामीटर n स्वीकार करता है और कोई रिटर्न मान नहीं लौटाता है। सिमेंटिक्स [string.view] में मानक उपयोग से मेल खाता है, लेकिन इस बात में भिन्न है कि फ़ंक्शन को noexcept के रूप में घोषित किया गया है ([SWS_CORE_02137])। एक व्याख्या के रूप में, constexpr विनिर्देश के कारण मेथड को कंपाइल-टाइम पर भी मूल्यांकित किया जा सकता है। प्रश्न Q-52b1ae9faeef8180 (खुला)

त्रुटि प्रबंधन और सीमाएँ

फ़ंक्शन को अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है और यह कोई अपवाद नहीं फेंकता है ([SWS_CORE_02137])। DET या DEM के माध्यम से विशिष्ट त्रुटि कोड या सूचनाएं परिभाषित नहीं हैं। हालांकि, एक महत्वपूर्ण प्रतिबंध लागू होता है: यदि n > size() है तो फ़ंक्शन का व्यवहार अपरिभाषित है ([SWS_CORE_02137])। निष्पादन से पहले, कॉलिंग पक्षों को यह सुनिश्चित करना चाहिए कि हटाए जाने वाले वर्णों की संख्या स्ट्रिंग व्यू की वर्तमान लंबाई से अधिक न हो। रीएंट्रेंसी या समवर्तीता पर आगे के विनिर्देश मानक में वर्णित नहीं हैं।

यह उपयोग नोट विनिर्देश के आधार पर एक AI द्वारा जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02137
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02137@rel:R25-11#48d71a70
Content hash
48d71a70
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02137
Status: valid/unmigrated Version: rel:R25-11#ec454e9c Versionshistorie & Revisions (1 transition, 3 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_02137@rel:R25-11#ec454e9c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#25a72b182026-09-30
  • R24-11rel:R24-11#33b8e6a82026-10-14
  • R25-11rel:R25-11#ec454e9c2026-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

फ़ंक्शन remove_suffix [SWS_CORE_02138]

constexpr void remove_suffix (size_type n) noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 23bb3382cb4c उद्गम
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का सदस्य फ़ंक्शन remove_suffix हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से प्रदान किया जाता है [SWS_CORE_02138]। यह व्यू द्वारा संदर्भित वर्ण विंडो को दाएं किनारे (प्रत्यय) पर वर्णों की निर्दिष्ट n संख्या से छोटा करने का कार्य करता है। ऑपरेशन बिना किसी रिटर्न मान (void) के सीधे कॉलिंग इंस्टेंस पर सिंक्रोनस रूप से निष्पादित होता है [SWS_CORE_02138]। constexpr के रूप में अंकन के कारण, फ़ंक्शन को कंपाइल-टाइम संदर्भों में अनुवाद के समय भी कॉल किया जा सकता है [SWS_CORE_02138]।

त्रुटि प्रबंधन, अपवाद सुरक्षा और सीमा शर्तों के संबंध में निम्नलिखित विनिर्देश प्रावधान लागू होते हैं [SWS_CORE_02138]:

  • अपवाद सुरक्षा और मानक विचलन: सिमेंटिक्स मूल रूप से C++ मानक के [string.view] में संबंधित उपयोग पर आधारित है, लेकिन एक स्पष्ट विचलन के रूप में यह प्रदर्शित करता है कि फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CORE_02138]। इसलिए यह कभी भी अपवाद नहीं फेंकता है और कोई त्रुटि कोड वापस रिपोर्ट नहीं करता है।
  • अमान्य पैरामीटर पर अपरिभाषित व्यवहार: फ़ंक्शन का व्यवहार स्पष्ट रूप से अपरिभाषित के रूप में निर्दिष्ट है यदि पास किया गया पैरामीटर n व्यू की वर्तमान लंबाई (n > size()) से अधिक है [SWS_CORE_02138]।
  • कॉलर की ज़िम्मेदारी: चूंकि न तो अपवाद प्रबंधन और न ही रनटाइम जाँच का प्रावधान किया गया है, इसलिए यह सुनिश्चित करना पूरी तरह से कॉलिंग कोड की ज़िम्मेदारी है कि कॉल होने से पहले पूर्वशर्त n <= size() हमेशा पूरी हो।

यह उपयोग नोट स्वचालित रूप से जनरेट किया गया था और केवल R25-11 के लिए AUTOSAR विनिर्देश पर निर्भर करता है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02138
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02138@rel:R25-11#8deb58f5
Content hash
8deb58f5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02138
Status: valid/unmigrated Version: rel:R25-11#f46ba019 Versionshistorie & Revisions (1 transition, 3 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_02138@rel:R25-11#f46ba019
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#423ca1252026-09-30
  • R24-11rel:R24-11#1835e3b62026-10-14
  • R25-11rel:R25-11#f46ba0192026-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

फ़ंक्शन rend [SWS_CORE_02125]

constexpr const_reverse_iterator rend () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02125
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02125@rel:R25-11#1e39dea5
Content hash
1e39dea5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02125
Status: valid/unmigrated Version: rel:R25-11#8c33f37b Versionshistorie & Revisions (1 transition, 3 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_02125@rel:R25-11#8c33f37b
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#6da2191a2026-09-30
  • R24-11rel:R24-11#201552182026-10-14
  • R25-11rel:R25-11#8c33f37b2026-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

फ़ंक्शन rfind [SWS_CORE_02161]

constexpr size_type rfind (StringView s, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 5f33ccf3504d उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView ([SWS_CORE_02161]) का फ़ंक्शन rfind पैरामीटर s (प्रकार StringView) द्वारा निर्दिष्ट सबस्ट्रिंग की अंतिम उपस्थिति को सिंक्रोनस रूप से खोजने के लिए कार्य करता है। डिफ़ॉल्ट मान 0 के साथ प्रकार size_type के पैरामीटर pos के माध्यम से खोज स्थिति नियंत्रित की जाती है। रिटर्न मान के रूप में, विधि मिली स्थिति को size_type के रूप में लौटाती है। सिमेंटिक्स [string.view] ([SWS_CORE_02161]) में परिभाषा का अनुसरण करता है। फ़ंक्शन को constexpr के रूप में परिभाषित किया गया है और हेडर फ़ाइल #include "ara/core/string_view.h" के माध्यम से शामिल किया गया है ([SWS_CORE_02161])।

त्रुटि प्रबंधन

इंटरफ़ेस को noexcept के रूप में घोषित किया गया है और exception safe ([SWS_CORE_02161]) के रूप में निर्दिष्ट किया गया है। कोई अपवाद नहीं फेंका जाता है और DET या DEM इंस्टेंस के माध्यम से कोई त्रुटि रिपोर्ट नहीं की जाती है। यदि सबस्ट्रिंग नहीं मिलती है, तो [string.view] के अनुसार रिटर्न मान के माध्यम से सिग्नल दिया जाता है।

समवर्तीता और प्रतिबंध

चूंकि rfind को const के रूप में घोषित किया गया है, कॉल ऑब्जेक्ट को संशोधित नहीं करता है। Interpretation: इसलिए, बाहरी सिंक्रोनाइज़ेशन के बिना एक ही StringView इंस्टेंस पर कई थ्रेड्स का समवर्ती, केवल-पढ़ने के लिए एक्सेस थ्रेड-सुरक्षित होना चाहिए। प्रश्न Q-95c78858675b63cf (खुला)

इंटरैक्शन

ara::core::StringView के भीतर, एकल वर्णों ([SWS_CORE_02162]) के साथ-साथ लंबाई विनिर्देश ([SWS_CORE_02163]) या प्रारंभ स्थिति ([SWS_CORE_02164]) वाले रॉ पॉइंटर्स के लिए ओवरलोड मौजूद हैं, जिन्हें constexpr और noexcept के रूप में भी डिज़ाइन किया गया है। इसके अतिरिक्त, ara::core::BasicString StringView ([SWS_CORE_03316]) या स्ट्रिंग ऑब्जेक्ट्स ([SWS_CORE_03325], [SWS_CORE_03326], [SWS_CORE_03327], [SWS_CORE_03328]) पास करने के लिए संगत rfind विधियाँ प्रदान करता है।

यह पाठ एक AI द्वारा बनाया गया था। सभी विवरण पूरी तरह से AUTOSAR रिलीज़ R25-11 के विनिर्देशों पर आधारित हैं।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02161
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02161@rel:R25-11#e5ac2cef
Content hash
e5ac2cef
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02161
Status: valid/unmigrated Version: rel:R25-11#6f3374cf Versionshistorie & Revisions (1 transition, 3 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_02161@rel:R25-11#6f3374cf
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ffac9f6a2026-09-30
  • R24-11rel:R24-11#98774dfb2026-10-14
  • R25-11rel:R25-11#6f3374cf2026-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

फ़ंक्शन rfind [SWS_CORE_02162]

constexpr size_type rfind (char c, size_type pos=0) const noexcept;

As per corresponding usage in [string.view]

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 23fce4770293 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

वर्ग ara::core::StringView का सदस्य फ़ंक्शन rfind एक स्ट्रिंग दृश्य [SWS_CORE_02162] के भीतर किसी एकल वर्ण को पीछे की ओर खोजने का कार्य करता है। इसे हेडर ara/core/string_view.h के माध्यम से प्रदान किया जाता है और यह [string.view] [SWS_CORE_02162] में संबंधित सिमेंटिक्स का अनुसरण करता है।

कॉल संदर्भ और पैरामीटर के संबंध में निम्नलिखित लागू होता है:

  • पैरामीटर: फ़ंक्शन प्रकार char का खोजा गया वर्ण c और वैकल्पिक रूप से प्रकार size_type की प्रारंभिक स्थिति pos लेता है, जिसका डिफ़ॉल्ट मान हस्ताक्षर के अनुसार 0 है [SWS_CORE_02162]।
  • रिटर्न मान: परिणाम प्रकार size_type के स्थिति इंडेक्स के रूप में लौटाया जाता है [SWS_CORE_02162]।
  • निष्पादन: कॉल समकालिक रूप से होता है और इसे constexpr और const के रूप में निर्दिष्ट किया गया है, ताकि मूल्यांकन अनुवाद समय पर भी हो सके [SWS_CORE_02162]।

अपवाद प्रबंधन और समवर्तीता के लिए, विधि को noexcept और "exception safe" के रूप में वर्गीकृत किया गया है [SWS_CORE_02162]। विशिष्ट DET या DEM त्रुटि संदेश परिभाषित नहीं हैं। चूंकि यह ara::core::StringView पर एक दुष्प्रभाव-मुक्त रीड ऑपरेशन है, इसलिए इस फ़ंक्शन को कई थ्रेड्स द्वारा समवर्ती रूप से पढ़ने के लिए कॉल किए जाने की संभावना है। प्रश्न Q-b8c95a8d62b4d144 (खुला)

संबंधित इंटरफ़ेस के संयोजन में, फ़ंक्शन सबव्यू खोज StringView [SWS_CORE_02161] के ओवरलोड के साथ-साथ लंबाई सीमा [SWS_CORE_02163] या डिफ़ॉल्ट ऑफ़सेट [SWS_CORE_02164] वाले C-स्ट्रिंग पॉइंटर्स के ओवरलोड को पूरक बनाता है। एकल वर्णों [SWS_CORE_03328] के लिए ara::core::BasicString::rfind के विपरीत, जिसे अपवाद-सुरक्षित नहीं के रूप में वर्गीकृत किया गया है और pos = npos को डिफ़ॉल्ट के रूप में उपयोग करता है, StringView-कार्यान्वयन पूर्ण अपवाद-मुक्तता की गारंटी देता है [SWS_CORE_02162]।

यह पाठ एक AI द्वारा स्वचालित रूप से उत्पन्न किया गया था और पूरी तरह से विनिर्देश के पेलोड पर आधारित है।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02162
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02162@rel:R25-11#ac51be54
Content hash
ac51be54
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02162
Status: valid/unmigrated Version: rel:R25-11#138147bd Versionshistorie & Revisions (1 transition, 3 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_02162@rel:R25-11#138147bd
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d63df6882026-09-30
  • R24-11rel:R24-11#c5eb2fbd2026-10-14
  • R25-11rel:R25-11#138147bd2026-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

फ़ंक्शन rfind [SWS_CORE_02163]

constexpr size_type rfind (const char *s, size_type pos, size_type n) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 9ad4b80679fa उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

हेडर ara/core/string_view.h से क्लास ara::core::StringView का सदस्य फ़ंक्शन [SWS_CORE_02163] किसी सबस्ट्रिंग के लिए सिंक्रोनस बैकवर्ड खोज निष्पादित करता है। यह खोजे जाने वाले वर्णों के लिए एक पॉइंटर s, एक आरंभिक स्थिति pos और वर्णों की संख्या n स्वीकार करता है। सिमेंटिक्स [string.view] में दिए गए निर्धारण के अनुरूप हैं, लेकिन noexcept के रूप में स्पष्ट विनिर्देश के कारण भिन्न हैं। पाए गए स्थान size_type प्रकार के मान के रूप में लौटाए जाते हैं।

त्रुटि प्रबंधन के लिए, विनिर्देश यह प्रावधान करता है कि फ़ंक्शन अपवाद-सुरक्षित (exception safe) है और कोई अपवाद नहीं फेंकता है [SWS_CORE_02163]। पेलोड में DET या DEM के माध्यम से त्रुटि संदेश और विशेष त्रुटि कोड मौजूद नहीं हैं।

चूँकि ऑपरेशन constexpr और const के साथ योग्य (qualified) है, इसलिए इसका मूल्यांकन कंपाइल-टाइम पर ही किया जा सकता है [SWS_CORE_02163]। व्याख्या: समान StringView इंस्टेंस पर एकाधिक समवर्ती रीड एक्सेस थ्रेड-सुरक्षित रूप से निष्पादित होने में सक्षम होने चाहिए, क्योंकि मेथड कॉल ऑब्जेक्ट की स्थिति को संशोधित नहीं करता है। प्रश्न Q-6d5648c4365cf55d (खुला)

खोज फ़ंक्शनों के समूह में, [SWS_CORE_02163] StringView-ऑब्जेक्ट [SWS_CORE_02161], एकल वर्णों [SWS_CORE_02162] और बिना लंबाई सीमा वाले पॉइंटर्स [SWS_CORE_02164] के लिए संबंधित ओवरलोड को पूरा करता है। ara::core::BasicString [SWS_CORE_03326] में पॉइंटर-आधारित वेरिएंट की तुलना में, [SWS_CORE_02163] की विशेषता गारंटीकृत अपवाद सुरक्षा है, जबकि स्ट्रिंग कार्यान्वयन को not exception safe घोषित किया गया है।

यह उपयोग नोट विनिर्देश के आधार पर एक AI द्वारा जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02163
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02163@rel:R25-11#3ecd5747
Content hash
3ecd5747
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02163
Status: valid/unmigrated Version: rel:R25-11#ba9e060c Versionshistorie & Revisions (1 transition, 3 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_02163@rel:R25-11#ba9e060c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#7c539bb22026-09-30
  • R24-11rel:R24-11#773b57db2026-10-14
  • R25-11rel:R25-11#ba9e060c2026-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

फ़ंक्शन rfind [SWS_CORE_02164]

constexpr size_type rfind (const char *s, size_type pos=0) const noexcept;

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

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: e69f05c5c49b उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView का सिंक्रोनस मेंबर फ़ंक्शन rfind, [SWS_CORE_02164] के अनुसार स्ट्रिंग व्यू के भीतर किसी स्ट्रिंग की अंतिम उपस्थिति को खोजने का काम करता है। फ़ंक्शन हेडर ara/core/string_view.h के माध्यम से घोषित किया गया है। यह खोजी गई सबस्ट्रिंग के लिए एक पॉइंटर const char *s और वैकल्पिक रूप से बैकवर्ड खोज के लिए प्रारंभ इंडेक्स size_type pos = 0 की अपेक्षा करता है। परिणाम size_type के रूप में लौटाया जाता है। चूंकि फ़ंक्शन को constexpr के रूप में परिभाषित किया गया है, खोज रनटाइम पर या पहले से ही संकलन समय पर निष्पादित की जा सकती है।

त्रुटि प्रबंधन और अपवाद सुरक्षा

[SWS_CORE_02164] के अनुसार, rfind को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है, जो [string.view] की तुलना में एक स्पष्ट विचलन का प्रतिनिधित्व करता है। इसलिए C++ अपवादों को फेंकना बाहर रखा गया है। विनिर्देश के दायरे में विशिष्ट त्रुटि कोड के साथ-साथ DEM या DET को सूचनाएं प्रदान नहीं की गई हैं।

समवर्तीता और प्रतिबंध

चूंकि यह एक const मेथड है, इसलिए कॉल से ara::core::StringView ऑब्जेक्ट पर कोई संशोधनकारी दुष्प्रभाव नहीं पड़ता है ([SWS_CORE_02164])। व्याख्या: अतिरिक्त लंबाई पैरामीटर की कमी के कारण, कार्यान्वयन को उम्मीद होनी चाहिए कि s एक मान्य, नल-टर्मिनेटेड स्ट्रिंग की ओर इंगित करता है। प्रश्न Q-58b14518a8202703 (खुला)

इंटरैक्शन

ara::core::StringView के भीतर, rfind StringView तर्कों ([SWS_CORE_02161]), एकल वर्णों ([SWS_CORE_02162]) और लंबाई विनिर्देश n ([SWS_CORE_02163]) वाले पॉइंटर्स के लिए ओवरलोड के संयोजन में है। जबकि क्लास ara::core::BasicString तुलनीय खोज संचालन प्रदान करती है (जैसे [SWS_CORE_03316]), वहां के पॉइंटर ओवरलोड आंशिक रूप से अपवाद-सुरक्षित नहीं हैं ([SWS_CORE_03327])।

यह उपयोग नोट रिलीज़ R25-11 के विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02164
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02164@rel:R25-11#0a9608a4
Content hash
0a9608a4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02164
Status: valid/unmigrated Version: rel:R25-11#d63db259 Versionshistorie & Revisions (1 transition, 3 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_02164@rel:R25-11#d63db259
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ddbe1f912026-09-30
  • R24-11rel:R24-11#631953d62026-10-14
  • R25-11rel:R25-11#d63db2592026-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

फ़ंक्शन size [SWS_CORE_02128]

constexpr size_type size () const noexcept;

As per corresponding usage in [string.view]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02128
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02128@rel:R25-11#26a254b2
Content hash
26a254b2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02128
Status: valid/unmigrated Version: rel:R25-11#46ad2812 Versionshistorie & Revisions (1 transition, 3 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_02128@rel:R25-11#46ad2812
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#12a9ac462026-09-30
  • R24-11rel:R24-11#e864df132026-10-14
  • R25-11rel:R25-11#46ad28122026-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

फ़ंक्शन starts_with [SWS_CORE_02148]

constexpr bool starts_with (StringView sv) const noexcept;

As per corresponding usage in [string.view] in [15]

Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: dbcec7b2a013 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

क्लास ara::core::StringView का मेंबर फ़ंक्शन starts_with सिंक्रोनस रूप से जाँचता है कि क्या स्ट्रिंग प्रकार StringView के निर्दिष्ट उपसर्ग sv से शुरू होती है ([SWS_CORE_02148])। इसे हेडर ara/core/string_view.h में घोषित किया गया है। constexpr-विधि के रूप में, कॉल को रनटाइम और संकलन समय दोनों पर मूल्यांकित किया जा सकता है। सिमेंटिक्स C++20 मानक से [string.view] के विनिर्देश से मेल खाते हैं ([SWS_CORE_02148])।

त्रुटि प्रबंधन

फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (“exception safe”) के रूप में निर्दिष्ट किया गया है ([SWS_CORE_02148])। कोई अपवाद नहीं फेंके जाते हैं और DET या DEM के माध्यम से कोई त्रुटि संदेश नहीं भेजा जाता है। यदि वर्ण अनुक्रम मेल नहीं खाते हैं, तो नियमित रूप से false लौटाया जाता है।

समवर्तीता और प्रतिबंध

थ्रेड सुरक्षा के संबंध में, विनिर्देश कोई स्पष्ट विवरण नहीं देता है। व्याख्या: अपरिवर्तनीय दृश्य पर एक स्टेटलेस const-विधि के रूप में, कई थ्रेड्स से समवर्ती रीड एक्सेस सुरक्षित और रीएंट्रेंट होना चाहिए। प्रश्न Q-24f102c9029c95ba (खुला) कोई विशेष कॉल संदर्भ या अनुक्रम शर्तें निर्दिष्ट नहीं हैं।

इंटरैक्शन

उपसर्गों के लचीले सत्यापन के लिए, StringView के वेरिएंट के अतिरिक्त दो अन्य ओवरलोड उपलब्ध हैं: एक एकल वर्णों char ([SWS_CORE_02149]) के लिए और एक नल-टर्मिनेटेड स्ट्रिंग्स const char* ([SWS_CORE_02150]) के लिए।

यह उपयोग नोट एक AI द्वारा बनाया गया था और रिलीज़ R25-11 के विनिर्देशों पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02148
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02148@rel:R25-11#8e095bc6
Content hash
8e095bc6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02148
Status: valid/unmigrated Version: rel:R25-11#4c6a7c7f Versionshistorie & Revisions (1 transition, 3 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_02148@rel:R25-11#4c6a7c7f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1b8596c12026-09-30
  • R24-11rel:R24-11#253a8a532026-10-14
  • R25-11rel:R25-11#4c6a7c7f2026-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

फ़ंक्शन starts_with [SWS_CORE_02149]

constexpr bool starts_with (char c) const noexcept;

As per corresponding usage in [string.view] in [15]

Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: cbd4b1c50f57 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का सदस्य फ़ंक्शन starts_with सिंक्रोनस रूप से जाँच करता है कि क्या वर्ण अनुक्रम पास किए गए एकल वर्ण c से शुरू होता है [SWS_CORE_02149]। घोषणा हेडर ara/core/string_view.h के माध्यम से उपलब्ध है और C++ मानक ISO/IEC 14882:2020 [SWS_CORE_02149] से [string.view] के व्यवहार का पालन करती है।

उपयोग और सिमेंटिक्स

प्रकार char का एक एकल वर्ण पैरामीटर के रूप में पास किया जाता है। फ़ंक्शन एक बूलियन मान लौटाता है: true, यदि अंतर्निहित स्ट्रिंग खाली नहीं है और इसका पहला वर्ण c से मेल खाता है, अन्यथा false। constexpr के रूप में चिह्नांकन के कारण, तुलना का मूल्यांकन कंपाइल-टाइम पर ही किया जा सकता है [SWS_CORE_02149]।

त्रुटि प्रबंधन और अपवाद-सुरक्षा

विनिर्देश फ़ंक्शन को अपवाद-सुरक्षित (exception safe) और स्पष्ट रूप से noexcept के रूप में निर्दिष्ट करता है [SWS_CORE_02149]। कोई अपवाद ट्रिगर नहीं होते हैं और DET या DEM के माध्यम से कोई त्रुटि कोड रिपोर्ट नहीं किए जाते हैं। एक खाली वर्ण अनुक्रम के मामले में, कोई त्रुटि नहीं होती है, बल्कि फ़ंक्शन नियमित रूप से false लौटाता है।

समवर्तीता और प्रतिबंध

व्याख्या: चूंकि यह एक साइड-इफ़ेक्ट-मुक्त सत्यापन फ़ंक्शन है जिसे const के रूप में घोषित किया गया है, समान StringView इंस्टेंस पर समवर्ती रीड कॉल थ्रेड-सुरक्षित होना चाहिए। प्रश्न Q-4b87a6891c7abb18 (खुला) कोई विशिष्ट अनुक्रम शर्तें नहीं हैं।

इंटरैक्शन

यह फ़ंक्शन ara::core::StringView में starts_with के दो अन्य ओवरलोड का पूरक है:

  • किसी अन्य वर्ण दृश्य starts_with(StringView sv) [SWS_CORE_02148] के विरुद्ध जाँच और
  • एक नल-टर्मिनेटेड स्ट्रिंग starts_with(const char *str) [SWS_CORE_02150] के विरुद्ध जाँच।

यह नोट AUTOSAR R25-11 के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02149
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02149@rel:R25-11#dfad358f
Content hash
dfad358f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02149
Status: valid/unmigrated Version: rel:R25-11#28a30a0f Versionshistorie & Revisions (1 transition, 3 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_02149@rel:R25-11#28a30a0f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#fa0c3b732026-09-30
  • R24-11rel:R24-11#ea854d512026-10-14
  • R25-11rel:R25-11#28a30a0f2026-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

फ़ंक्शन starts_with [SWS_CORE_02150]

constexpr bool starts_with (const char *str) const noexcept;

As per corresponding usage in [string.view] in [15] 1. The function is noexcept

Literaturverzeichnis SWS Core: [15] ISO/IEC 14882:2020, Programming languages – C++ – www.iso.org

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 6c99bbc1721d उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

कक्षा ara::core::StringView का सिंक्रोनस सदस्य फलन starts_with जाँचता है कि संदर्भित स्ट्रिंग नल-टर्मिनेटेड C-स्ट्रिंग str से शुरू होती है या नहीं ([SWS_CORE_02150])। परीक्षण परिणाम bool के रूप में लौटाया जाता है ([SWS_CORE_02150])। फलन को constexpr के रूप में परिभाषित किया गया है और यह हेडर फ़ाइल ara/core/string_view.h के माध्यम से उपलब्ध है ([SWS_CORE_02150])।

त्रुटि प्रबंधन के संबंध में, ऑपरेशन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है ([SWS_CORE_02150])। तदनुसार, यह कोई अपवाद नहीं फेंकता है। इस फलन के लिए विशिष्ट त्रुटि कोड, त्रुटि की स्थिति में रिटर्न मान, या DET अथवा DEM को संदेश प्रदान नहीं किए गए हैं।

चूँकि यह एक const मेथड है, इसलिए कॉल StringView ऑब्जेक्ट को संशोधित नहीं करता है ([SWS_CORE_02150])। constexpr के रूप में चिह्नित होने के कारण, मूल्यांकन संकलन समय पर ही हो सकता है ([SWS_CORE_02150])। व्याख्या: पॉइंटर str एक मान्य स्ट्रिंग को संदर्भित करना चाहिए और संभवतः nullptr नहीं होना चाहिए, क्योंकि सिमेंटिक्स C++ मानक ISO/IEC 14882:2020 ([SWS_CORE_02150]) से मेल खाते हैं। प्रश्न Q-2d35e65360268387 (खुला)

अन्य इंटरफ़ेस के साथ संयोजन में, यह ओवरलोड starts_with के दो अन्य रूपों को पूरा करता है: StringView ऑब्जेक्ट के आधार पर परीक्षण ([SWS_CORE_02148]) और char प्रकार के एकल वर्ण के आधार पर परीक्षण ([SWS_CORE_02149])। तीनों ओवरलोड में C++ मानक के [string.view] के अनुसार समान सिमेंटिक्स हैं और वे अपवाद-सुरक्षित हैं ([SWS_CORE_02148], [SWS_CORE_02149], [SWS_CORE_02150])।

यह उपयोग नोट AUTOSAR Adaptive R25-11 के विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02150
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02150@rel:R25-11#93c8548a
Content hash
93c8548a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02150
Status: valid/unmigrated Version: rel:R25-11#54439b97 Versionshistorie & Revisions (1 transition, 3 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_02150@rel:R25-11#54439b97
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0a20559c2026-09-30
  • R24-11rel:R24-11#5d9dc57c2026-10-14
  • R25-11rel:R25-11#54439b972026-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

फ़ंक्शन substr [SWS_CORE_02141]

constexpr StringView substr (size_type pos=0, size_type n=npos) const noexcept;

As per corresponding usage in [string.view] except for the following deviations: 1. if (pos > size()) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 9aff7896b6f5 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::core::StringView का सदस्य फ़ंक्शन substr ISO-C++ [string.view] [SWS_CORE_02141] के अनुसार अंतर्निहित वर्ण परास का एक आंशिक दृश्य प्रदान करता है। फ़ंक्शन हेडर #include "ara/core/string_view.h" के माध्यम से प्रदान किया जाता है और इसे constexpr तथा noexcept के रूप में घोषित किया गया है [SWS_CORE_02141]।

सिंक्रोनस इंटरफ़ेस के पैरामीटर निम्नानुसार परिभाषित हैं:

  • pos: डिफ़ॉल्ट मान 0 के साथ प्रकार size_type का वर्ण दृश्य के भीतर प्रारंभिक स्थिति [SWS_CORE_02141]।
  • n: डिफ़ॉल्ट मान npos के साथ प्रकार size_type का शामिल किए जाने वाले वर्णों की अधिकतम संख्या [SWS_CORE_02141]।

रिटर्न मान के रूप में एक नया StringView ऑब्जेक्ट उत्पन्न होता है, जो निर्दिष्ट वर्ण परास को संदर्भित करता है [SWS_CORE_02141]।

त्रुटि की स्थिति में, विनिर्देश C++ मानक से एक लक्षित विचलन प्रदान करता है: यदि pos > size() लागू होता है, तो std::out_of_range के बजाय उल्लंघन IsoStdOutOfRangeViolation ट्रिगर किया जाता है [SWS_CORE_02141]। चूंकि substr को exception safe और noexcept के रूप में घोषित किया गया है, इस उल्लंघन का ट्रिगर होना संभवतः प्लेटफ़ॉर्म-व्यापी उल्लंघन प्रबंधन तंत्र के रूप में लागू किया गया है, न कि फेंके गए C++ अपवाद के रूप में [SWS_CORE_02141]। प्रश्न Q-1d2b8ad65de74e05 (खुला)

#include "ara/core/string.h" से ara::core::BasicString::substr [SWS_CORE_03345] के साथ परस्पर क्रिया में, एक कार्यात्मक अंतर दिखाई देता है: जबकि BasicString::substr को not exception safe के रूप में वर्गीकृत किया गया है और एक कॉपी की गई स्ट्रिंग आवंटित करता है, StringView::substr पूरी तरह से अपवाद-सुरक्षित और आवंटन-मुक्त रूप से काम करता है [SWS_CORE_02141]। हालाँकि, दोनों फ़ंक्शन IsoStdOutOfRangeViolation [SWS_CORE_02141] [SWS_CORE_03345] के माध्यम से परास उल्लंघनों को समान रूप से संभालते हैं।

यह पाठ AUTOSAR विनिर्देश R25-11 के आधार पर एक AI द्वारा जनरेट किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02141
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02141@rel:R25-11#d50628a9
Content hash
d50628a9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02141
Status: valid/unmigrated Version: rel:R25-11#d8086c78 Versionshistorie & Revisions (1 transition, 3 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_02141@rel:R25-11#d8086c78
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#52917eba2026-09-30
  • R24-11rel:R24-11#692e60132026-10-14
  • R25-11rel:R25-11#d8086c782026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन swap [SWS_CORE_02139]

constexpr void swap (StringView &other) noexcept;

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02139
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02139@rel:R25-11#fe3eb08b
Content hash
fe3eb08b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02139
Status: valid/unmigrated Version: rel:R25-11#036336f9 Versionshistorie & Revisions (1 transition, 3 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_02139@rel:R25-11#036336f9
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#c30837122026-09-30
  • R24-11rel:R24-11#9bbb741c2026-10-14
  • R25-11rel:R25-11#036336f92026-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

फ़ंक्शन ~StringView [SWS_CORE_02119] Upstream: RS_AP_00145

~StringView () noexcept=default;

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_02119
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02119@rel:R25-11#658ca852
Content hash
658ca852
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02119
Status: valid/unmigrated Version: rel:R25-11#f8fc337d Versionshistorie & Revisions (1 transition, 3 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_02119@rel:R25-11#f8fc337d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2419cd1d2026-09-30
  • R24-11rel:R24-11#0a6aa3182026-10-14
  • R25-11rel:R25-11#f8fc337d2026-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

टाइप उपनामों का प्रलेखन

टाइप उपनाम const_iterator [SWS_CORE_02105]

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

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

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolconst_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_02105
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02105@rel:R25-11#5b971526
Content hash
5b971526
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02105
Status: valid/unmigrated Version: rel:R25-11#57ae7667 Versionshistorie & Revisions (1 transition, 3 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_02105@rel:R25-11#57ae7667
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#29abb2092026-09-30
  • R24-11rel:R24-11#d0e8c2622026-10-14
  • R25-11rel:R25-11#57ae76672026-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

टाइप उपनाम const_pointer [SWS_CORE_02102]

using const_pointer = const value_type*;

As per corresponding usage in [string.view] except for the following deviations: 1. Pointer type shall be specialized to value_type

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolconst_pointer

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

Record
AUTOSAR/AP/record/SWS_CORE_02102
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02102@rel:R25-11#3628e470
Content hash
3628e470
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02102
Status: valid/unmigrated Version: rel:R25-11#a03963eb Versionshistorie & Revisions (1 transition, 3 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_02102@rel:R25-11#a03963eb
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#946a93e72026-09-30
  • R24-11rel:R24-11#32b2624c2026-10-14
  • R25-11rel:R25-11#a03963eb2026-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

टाइप उपनाम const_reference [SWS_CORE_02104]

using const_reference = const value_type&;

As per corresponding usage in [string.view] except for the following deviations: 1. Reference type shall be specialized to value_type

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolconst_reference

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

Record
AUTOSAR/AP/record/SWS_CORE_02104
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02104@rel:R25-11#3d926be0
Content hash
3d926be0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02104
Status: valid/unmigrated Version: rel:R25-11#72824c0c Versionshistorie & Revisions (1 transition, 3 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_02104@rel:R25-11#72824c0c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#eb936d1a2026-09-30
  • R24-11rel:R24-11#d77f02742026-10-14
  • R25-11rel:R25-11#72824c0c2026-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

टाइप उपनाम const_reverse_iterator [SWS_CORE_02107]

using const_reverse_iterator = std::reverse_iterator<const_iterator>;

As per corresponding usage in [string.view]

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolconst_reverse_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_02107
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02107@rel:R25-11#1e920bd6
Content hash
1e920bd6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02107
Status: valid/unmigrated Version: rel:R25-11#b02c8f44 Versionshistorie & Revisions (1 transition, 3 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_02107@rel:R25-11#b02c8f44
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b18572d72026-09-30
  • R24-11rel:R24-11#f82317ce2026-10-14
  • R25-11rel:R25-11#b02c8f442026-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

टाइप उपनाम difference_type [SWS_CORE_02110]

using difference_type = std::ptrdiff_t;

As per corresponding usage in [string.view]

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symboldifference_type

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

Record
AUTOSAR/AP/record/SWS_CORE_02110
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02110@rel:R25-11#945f12d7
Content hash
945f12d7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02110
Status: valid/unmigrated Version: rel:R25-11#21b119d1 Versionshistorie & Revisions (1 transition, 3 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_02110@rel:R25-11#21b119d1
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#21f01c1c2026-09-30
  • R24-11rel:R24-11#6fa74d6b2026-10-14
  • R25-11rel:R25-11#21b119d12026-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

टाइप उपनाम iterator [SWS_CORE_02106]

using iterator = const_iterator;

As per corresponding usage in [string.view]

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symboliterator

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

Record
AUTOSAR/AP/record/SWS_CORE_02106
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02106@rel:R25-11#a6fe5e49
Content hash
a6fe5e49
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02106
Status: valid/unmigrated Version: rel:R25-11#a4d2487b Versionshistorie & Revisions (1 transition, 3 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_02106@rel:R25-11#a4d2487b
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cae576322026-09-30
  • R24-11rel:R24-11#ebc3107a2026-10-14
  • R25-11rel:R25-11#a4d2487b2026-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

टाइप उपनाम pointer [SWS_CORE_02101]

using pointer = value_type*;

As per corresponding usage in [string.view] except for the following deviations: 1. Pointer type shall be specialized to value_type

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolpointer

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

Record
AUTOSAR/AP/record/SWS_CORE_02101
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02101@rel:R25-11#8981505c
Content hash
8981505c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02101
Status: valid/unmigrated Version: rel:R25-11#d83b69d9 Versionshistorie & Revisions (1 transition, 3 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_02101@rel:R25-11#d83b69d9
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#8021c0d02026-09-30
  • R24-11rel:R24-11#7d5c10e22026-10-14
  • R25-11rel:R25-11#d83b69d92026-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

टाइप उपनाम reference [SWS_CORE_02103]

using reference = value_type&;

As per corresponding usage in [string.view] except for the following deviations: 1. Reference type shall be specialized to value_type

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolreference

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

Record
AUTOSAR/AP/record/SWS_CORE_02103
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02103@rel:R25-11#89475a7f
Content hash
89475a7f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02103
Status: valid/unmigrated Version: rel:R25-11#6295c4c4 Versionshistorie & Revisions (1 transition, 3 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_02103@rel:R25-11#6295c4c4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#08440c982026-09-30
  • R24-11rel:R24-11#43b2a6bd2026-10-14
  • R25-11rel:R25-11#6295c4c42026-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

टाइप उपनाम reverse_iterator [SWS_CORE_02108]

using reverse_iterator = const_reverse_iterator;

As per corresponding usage in [string.view]

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolreverse_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_02108
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02108@rel:R25-11#d8010cbe
Content hash
d8010cbe
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02108
Status: valid/unmigrated Version: rel:R25-11#be77757e Versionshistorie & Revisions (1 transition, 3 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_02108@rel:R25-11#be77757e
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#c4d309332026-09-30
  • R24-11rel:R24-11#b77ec8aa2026-10-14
  • R25-11rel:R25-11#be77757e2026-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

टाइप उपनाम size_type [SWS_CORE_02109]

using size_type = std::size_t;

As per corresponding usage in [string.view]

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolsize_type

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

Record
AUTOSAR/AP/record/SWS_CORE_02109
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02109@rel:R25-11#812f5d30
Content hash
812f5d30
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02109
Status: valid/unmigrated Version: rel:R25-11#31265ae6 Versionshistorie & Revisions (1 transition, 3 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_02109@rel:R25-11#31265ae6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#63eba7d62026-09-30
  • R24-11rel:R24-11#6c191f7d2026-10-14
  • R25-11rel:R25-11#31265ae62026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

टाइप उपनाम value_type [SWS_CORE_02100]

using value_type = char;

As per corresponding usage in [string.view] except for the following deviations: 1. Type shall be specialized to char

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolvalue_type

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

Record
AUTOSAR/AP/record/SWS_CORE_02100
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02100@rel:R25-11#76c4c32e
Content hash
76c4c32e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02100
Status: valid/unmigrated Version: rel:R25-11#722cbdec Versionshistorie & Revisions (1 transition, 3 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_02100@rel:R25-11#722cbdec
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#a24c5b762026-09-30
  • R24-11rel:R24-11#a2c0151c2026-10-14
  • R25-11rel:R25-11#722cbdec2026-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

स्थिरांकों / चरों का प्रलेखन

चर npos [SWS_CORE_02111]

static constexpr size_type npos = size_type(-1);

As per corresponding usage in [string.view]

Header-Datei#include "ara/core/string_view.h"
Scopeclass ara::core::StringView
Symbolnpos
Typsize_type

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

Record
AUTOSAR/AP/record/SWS_CORE_02111
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_02111@rel:R25-11#f02e035e
Content hash
f02e035e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_02111
Status: valid/unmigrated Version: rel:R25-11#0d95b796 Versionshistorie & Revisions (1 transition, 3 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_02111@rel:R25-11#0d95b796
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#065634ff2026-09-30
  • R24-11rel:R24-11#4180de922026-10-14
  • R25-11rel:R25-11#0d95b7962026-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