DEENESPTFRRUARHIKOZHNL

클래스 ara::core::BasicString

[SWS_CORE_03000]

template <typename Allocator = {<fq-allocator>}> class BasicString {...};

Implementation of std::pmr::basic_string type from [basic.string]

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

사용자 가이드AI 생성

할당자를 통해 동적 문자열을 관리하고 StringView 뷰를 매끄럽게 통합합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: a5b143bf326f 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

할당자를 통해 동적 문자열을 관리하고 StringView 뷰를 매끄럽게 통합합니다.

ara::core::BasicString 클래스는 core 모듈에서 C++ PMR 표준을 기반으로 메모리 할당자를 인식하는 문자열 구현을 제공합니다[SWS_CORE_03005]. 이 클래스는 동적 버퍼 관리를 담당하고 예약부터 추가에 이르는 작업을 지원하며 StringView과(와) 매끄럽게 연동됩니다. 중요한 안전 관련 제약 조건으로서, 잘못된 접근은 STL 예외가 아닌 IsoStdOutOfRangeViolation과(와) 같은 AUTOSAR 전용 Violation을 통해 보고됩니다[SWS_CORE_03063].

컨텍스트

ara::core::BasicString 클래스는 AUTOSAR Adaptive Platform의 core 모듈에서 C++ 표준 타입 std::pmr::basic_string의 구현을 나타냅니다(헤더 파일 #include "ara/core/string.h"에 정의됨). 이는 타입 파라미터 Allocator을(를) 통해 매개변수화되는 동적 문자열 클래스 템플릿입니다[SWS_CORE_03005]. 일반 표준 [basic.string]과 비교하여 AUTOSAR 규격은 중요한 특수화를 포함합니다. 즉, 문자 타입 traits_type은(는) 필수적으로 std::char_traits<char>(으)로 고정되고[SWS_CORE_03003], size_type은(는) std::size_t(으)로 특수화되며[SWS_CORE_03012], charT은(는) value_type(으)로 대체됩니다[SWS_CORE_03004]. 가장 중요한 상호작용 대상은 할당을 수행하는 메모리 관리자(allocator_type을 통해) 및 직접 변환 연산자 [SWS_CORE_03301]과(와) 생성자 [SWS_CORE_03302]을(를) 통해 BasicString이(가) 긴밀히 협력하는 참조 클래스 StringView입니다.

수명 주기

인스턴스의 수명 주기는 생성과 함께 시작됩니다. 기본 생성 [SWS_CORE_03024] 외에도 특정 할당자를 명시적으로 전달할 수 있습니다[SWS_CORE_03025]. 또한 문자열은 C 문자열 [SWS_CORE_03029], 부분 문자열 [SWS_CORE_03026], 초기화 목록 [SWS_CORE_03032], 반복자 [SWS_CORE_03031] 또는 StringView [SWS_CORE_03302]과(와) 같은 뷰로부터 생성할 수 있습니다. 복사 작업 [SWS_CORE_03020]은(는) 할당자를 통해 새로운 동적 메모리를 요청합니다. 자원 절약적인 소유권 이전을 위해 noexcept(으)로 선언된 이동 생성을 사용할 수 있습니다[SWS_CORE_03022].

수명 동안 인스턴스는 자신의 메모리 영역을 독립적으로 관리합니다. 내용은 할당([SWS_CORE_03021], [SWS_CORE_03084]), resize([SWS_CORE_03058], [SWS_CORE_03059])를 통한 크기 조정, 또는 clear [SWS_CORE_03057]을(를) 사용한 재설정을 통해 수정할 수 있습니다. 두 문자열은 swap을(를) 통해 효율적으로 맞바꿀 수 있으며, 이는 조건부로 예외에 안전합니다[SWS_CORE_03412]. 수명 주기가 끝날 때 소멸자 ~BasicString() [SWS_CORE_03038]은(는) 할당된 메모리를 연결된 할당자를 통해 해제합니다. 동시성과 관련하여 BasicString은(는) 자체 스레드 동기화를 제공하지 않으므로, 동일한 인스턴스에 대한 동시 수정 접근에는 외부적인 보호 조치가 필요합니다.

사용 경로

일반적인 사용 경로는 인스턴스화, 선택적 버퍼 예약, 단계별 수정 및 최종 읽기 접근 또는 전달로 구성됩니다:

Typischer Nutzungspfad von BasicString애플리케이션BasicStringAllocatorBasicString(alloc)allocate(...)Speicher bereitgestelltInstanz bereitreserve(64)append(sv)operator StringView()StringView Instanz

시퀀스 다이어그램: 초기화부터 버퍼 예약, 텍스트 수정 및 뷰 변환에 이르는 일반적인 상호작용 순서. 출처: [SWS_CORE_03025], [SWS_CORE_03054], [SWS_CORE_03308], [SWS_CORE_03301].

오류 시나리오

규격은 허용되지 않은 호출에 대해 표준 예외 대신 특정 Violation 타입을 정의합니다:

예외 안전성과 관련하여, 메모리 부족이나 잘못된 매개변수로 인해 작업 실패가 발생할 수 있으므로 대부분의 할당 및 수정 메서드는 예외에 안전하지 않음(“not exception safe”)으로 명시되어 있습니다. 예외 보장은 주로 이동 생성 [SWS_CORE_03022]과(와) 같이 noexcept(으)로 선언된 작업과 조건부 이동 할당 [SWS_CORE_03023] 및 swap [SWS_CORE_03412]에서 제공됩니다. 표준 예외를 IsoStdOutOfRangeViolation 및 IsoStdLengthErrorViolation(으)로 대체한 것은 안전 관련 실행 환경에서 오류를 결정론적으로 매핑하기 위한 플랫폼 전반의 접근 방식에 기인한 것으로 추정됩니다. 질문 Q-0406eab8e8556fcd (열림)

이 가이드는 AUTOSAR Adaptive Platform R25-11의 ara::core::BasicString 규격을 기반으로 합니다.

멤버 맵

클래스 다이어그램

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

G nara__core__BasicString716 BasicString + npos + BasicString() + Basic() + operator=() + ~BasicString() + capacity() + clear() + empty() + length() + max_size() + reserve() + resize() + shrink_() + size() + at() + back() + c_str() … 32 weitere

상세 보기

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

생성자 및 소멸자

BasicString 함수 4

≙ [basic.string]

오버로드 BasicString 4
BasicString (const BasicString &str); SWS_CORE_03020
BasicString (BasicString &&str) noexcept=default; SWS_CORE_03022
explicit BasicString (StringView sv, const Allocator &a=Allocator()); SWS_CORE_03302
template <class T> BasicString (const T &t, size_type pos, size_type n, const Allocator &a=Allocator()); SWS_CORE_03303

≙ [basic.string]

메서드

append 함수 9

≙ [basic.string]

오버로드 append 9
BasicString & append (const BasicString &str); SWS_CORE_03076
template <class InputIterator> BasicString & append (InputIterator first, InputIterator last); SWS_CORE_03081
template <class T> BasicString & append (const T &t, size_type pos, size_type n=npos); SWS_CORE_03309
assign 함수 10

≙ [basic.string]

오버로드 assign 10
BasicString & assign (const BasicString &str); SWS_CORE_03084
BasicString & assign (BasicString &&str) noexcept(std::allocator_ traits< Allocator >::propagate_on_container_move_ assignment::value||std::allocator_traits< Allocator >::is_always_ equal::value); SWS_CORE_03085
template <class InputIterator> BasicString & assign (InputIterator first, InputIterator last); SWS_CORE_03091
template <class T> BasicString & assign (const T &t, size_type pos, size_type n=npos); SWS_CORE_03306
at 함수 2

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

오버로드 at 2
back 함수 2

≙ [basic.string]

오버로드 back 2
Basic 함수 16

≙ [basic.string]

오버로드 Basic 16
begin 함수 2

≙ [basic.string]

오버로드 begin 2
iterator begin () noexcept; SWS_CORE_03039
const_iterator begin () const noexcept; SWS_CORE_03040
c_str 함수

except for the following deviations: 1. charT replaced with value_type ≙ [basic.string]

const value_type * c_str () const noexcept;
capacity 함수

≙ [basic.string]

size_type capacity () const noexcept;
cbegin 함수

≙ [basic.string]

const_iterator cbegin () const noexcept;
cend 함수

≙ [basic.string]

const_iterator cend () const noexcept;
clear 함수

≙ [basic.string]

void clear () noexcept;
compare 함수 9

≙ [basic.string]

오버로드 compare 9
int compare (StringView sv) const noexcept; SWS_CORE_03321
int compare (size_type pos1, size_type n1, StringView sv) const; SWS_CORE_03322
template <typename T> int compare (size_type pos1, size_type n1, const T &t, size_type pos2, size_type n2=npos) const; SWS_CORE_03323
int compare (const BasicString &str) const noexcept; SWS_CORE_03346
int compare (size_type pos1, size_type n1, const BasicString &str) const; SWS_CORE_03347
int compare (size_type pos1, size_type n1, const BasicString &str, size_type pos2, size_type n2=npos) const; SWS_CORE_03348
int compare (const value_type *s) const; SWS_CORE_03349
int compare (size_type pos1, size_type n1, const value_type *s) const; SWS_CORE_03350
int compare (size_type pos1, size_type n1, const value_type *s, size_type n2) const; SWS_CORE_03351
copy 함수

except for the following deviations: 1. charT replaced with value_type 2. if ( pos > size() ) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range ≙ [basic.string]

size_type copy (value_type *s, size_type n, size_type pos=0) const;
crbegin 함수

≙ [basic.string]

const_reverse_iterator crbegin () const noexcept;
crend 함수

≙ [basic.string]

const_reverse_iterator crend () const noexcept;
data 함수 2

except for the following deviations: 1. charT replaced with value_type ≙ [basic.string]

오버로드 data 2
const value_type * data () const noexcept; SWS_CORE_03070
value_type * data () noexcept; SWS_CORE_03071
empty 함수

≙ [basic.string]

bool empty () const noexcept;
end 함수 2

≙ [basic.string]

오버로드 end 2
iterator end () noexcept; SWS_CORE_03041
const_iterator end () const noexcept; SWS_CORE_03042
erase 함수 3

except for the following deviations: 1. charT replaced with value_type 2. if ( pos > size() ) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range ≙ [basic.string]

오버로드 erase 3
find 함수 5

except for the following deviations: 1. charT replaced with value_type ≙ [basic.string]

오버로드 find 5
size_type find (StringView sv, size_type pos=0) const noexcept; SWS_CORE_03315
size_type find (const BasicString &str, size_type pos=0) const noexcept; SWS_CORE_03407
size_type find (const value_type *s, size_type pos=0) const; SWS_CORE_03408
size_type find (const value_type *s, size_type pos, size_type n) const; SWS_CORE_03409
find_first_ 함수 8

≙ [basic.string]

오버로드 find_first_ 8
size_type find_first_of (const BasicString &str, size_type pos=0) const noexcept; SWS_CORE_03329
size_type find_first_of (const value_type *s, size_type pos, size_type n) const; SWS_CORE_03330
size_type find_first_of (const value_type *s, size_type pos=0) const; SWS_CORE_03331
size_type find_first_of (value_type c, size_type pos=0) const; SWS_CORE_03332
size_type find_first_not_of (const BasicString &str, size_type pos=0) const noexcept; SWS_CORE_03337
size_type find_first_not_of (const value_type *s, size_type pos, size_type n) const; SWS_CORE_03338
size_type find_first_not_of (const value_type *s, size_type pos=0) const; SWS_CORE_03339
size_type find_first_not_of (value_type c, size_type pos=0) const; SWS_CORE_03340

≙ [basic.string]

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

except for the following deviations: 1. charT replaced with value_type ≙ [basic.string]

size_type find_first_of (StringView sv, size_type pos=0) const noexcept;
find_last_ 함수 8

≙ [basic.string]

오버로드 find_last_ 8
size_type find_last_of (const BasicString &str, size_type pos=npos) const noexcept; SWS_CORE_03333
size_type find_last_of (const value_type *s, size_type pos, size_type n) const; SWS_CORE_03334
size_type find_last_of (const value_type *s, size_type pos=npos) const; SWS_CORE_03335
size_type find_last_of (value_type c, size_type pos=npos) const; SWS_CORE_03336
size_type find_last_not_of (const BasicString &str, size_type pos=npos) const noexcept; SWS_CORE_03341
size_type find_last_not_of (const value_type *s, size_type pos, size_type n) const; SWS_CORE_03342
size_type find_last_not_of (const value_type *s, size_type pos=npos) const; SWS_CORE_03343
size_type find_last_not_of (value_type c, size_type pos=npos) const; SWS_CORE_03344

≙ [basic.string]

size_type find_last_not_of (StringView sv, size_type pos=npos) const noexcept;

≙ [basic.string]

size_type find_last_of (StringView sv, size_type pos=npos) const noexcept;
front 함수 2

≙ [basic.string]

오버로드 front 2

≙ [basic.string]

allocator_type get_allocator () const noexcept;
insert 함수 11

≙ [basic.string]

오버로드 insert 11
BasicString & insert (size_type pos, const BasicString &str); SWS_CORE_03093
template <class InputIterator> iterator insert (const_iterator p, InputIterator first, InputIterator last); SWS_CORE_03100
template <class T> BasicString & insert (size_type pos1, const T &t, size_type pos2, size_type n=npos); SWS_CORE_03311
length 함수

≙ [basic.string]

size_type length () const noexcept;
max_size 함수

≙ [basic.string]

size_type max_size () const noexcept;
pop_back 함수

≙ [basic.string]

void pop_back ();
push_ 함수

≙ [basic.string]

void push_back (value_type c);
rbegin 함수 2

≙ [basic.string]

오버로드 rbegin 2
reverse_iterator rbegin () noexcept; SWS_CORE_03043
const_reverse_iterator rbegin () const noexcept; SWS_CORE_03044
rend 함수 2

≙ [basic.string]

오버로드 rend 2
const_reverse_iterator rend () const noexcept; SWS_CORE_03046
replace 함수 14

≙ [basic.string]

오버로드 replace 14
reserve 함수

except for the following deviations: 1. if (res_arg > max_size()) IsoStdLengthErrorViolation is raised instead of std:: length_error ≙ [basic.string]

void reserve (size_type res_arg=0);
resize 함수 2

except for the following deviations: 1. if (sz > max_size()) IsoStdLengthErrorViolation is raised instead of std:: length_error ≙ [basic.string]

오버로드 resize 2
void resize (size_type sz); SWS_CORE_03058
void resize (size_type sz, value_type c); SWS_CORE_03059
rfind 함수 5

except for the following deviations: 1. charT replaced with value_type ≙ [basic.string]

오버로드 rfind 5
size_type rfind (StringView sv, size_type pos=npos) const noexcept; SWS_CORE_03316
size_type rfind (const BasicString &str, size_type pos=npos) const noexcept; SWS_CORE_03325
size_type rfind (const value_type *s, size_type pos, size_type n) const; SWS_CORE_03326
size_type rfind (const value_type *s, size_type pos=npos) const; SWS_CORE_03327
shrink_ 함수

≙ [basic.string]

void shrink_to_fit ();
size 함수

≙ [basic.string]

size_type size () const noexcept;
substr 함수

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

BasicString substr (size_type pos=0, size_type n=npos) const;
swap 함수

≙ [basic.string]

void swap (BasicString &str) noexcept(std::allocator_traits< Allocator >::propagate_on_container_swap::value||std::allocator_traits< Allocator >::is_always_equal::value);

연산자

operator= 함수 6

≙ [basic.string]

오버로드 = 6
BasicString & operator= (const BasicString &str); SWS_CORE_03021
BasicString & operator= (BasicString &&str) noexcept(std::allocator_ traits< Allocator >::propagate_on_container_move_ assignment::value||std::allocator_traits< Allocator >::is_always_ equal::value); SWS_CORE_03023
BasicString & operator= (const value_type *s); SWS_CORE_03035
operator[] 함수 2

≙ [basic.string]

오버로드 [] 2

≙ [basic.string]

operator StringView () const noexcept;

타입 별칭

allocator_type 타입 별칭

≙ [basic.string]

using allocator_type = Allocator;
const_iterator 타입 별칭

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

using const_iterator = {<const-iterator-type>};
const_pointer 타입 별칭

≙ [basic.string]

using const_pointer = typename std::allocator_ traits<Allocator>::const_pointer;
const_reference 타입 별칭

≙ [basic.string]

using const_reference = const value_type&;

≙ [basic.string]

using const_reverse_iterator = std::reverse_iterator<const_iterator>;
difference_type 타입 별칭

≙ [basic.string]

using difference_type = typename std::allocator_ traits<Allocator>::difference_type;
iterator 타입 별칭

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

using iterator = {<iterator-type>};
pointer 타입 별칭

≙ [basic.string]

using pointer = typename std::allocator_traits<Allocator>::pointer;
reference 타입 별칭

≙ [basic.string]

reverse_iterator 타입 별칭

≙ [basic.string]

using reverse_iterator = std::reverse_iterator<iterator>;
size_type 타입 별칭

As per corresponding member in [basic.string] except for the following deviations: 1. Type shall be specialized to std::size_t ≙ std::size_t

using size_type = typename std::allocator_traits<Allocator>::size_ type;
traits_type 타입 별칭

except for the following deviations: 1. Type shall be specialized to std::char_traits<char> ≙ std::char_traits

using traits_type = typename std::char_traits<char>;
value_type 타입 별칭

except for the following deviations: 1. Type shall be specialized to std::allocator_traits<Allocator>::value_type ≙ std::allocator_traits

using value_type = typename std::allocator_traits<Allocator>::value_ type;

상수

npos 변수

≙ [basic.string]

static constexpr size_type const npos = size_type(-1);

메서드 문서

함수 Basic [SWS_CORE_03072]

BasicString & operator+= (const BasicString &str);

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스(#include "ara/core/string.h"의 [SWS_CORE_03072])의 대입 연산자 operator+=은(는) 전달된 BasicString 인스턴스의 내용을 현재 객체에 동기식으로 추가합니다. 이때 기능적 시맨틱은 [basic.string]([SWS_CORE_03072])의 해당 용도를 따릅니다. 이 호출은 수정된 인스턴스(*this)에 대한 참조를 반환하므로 연쇄 대입이 가능합니다.

오류 처리와 관련하여 이 작업은 사양에서 명시적으로 “not exception safe”로 선언되어 있습니다([SWS_CORE_03072]). 이 요소에 대해 DET 또는 DEM을 통한 특정 오류 코드나 알림 메커니즘은 정의되어 있지 않습니다. 따라서 내부 메모리 할당이 실패할 경우 이 메서드는 예외 안전성 보장을 제공하지 않습니다.

동시성 및 제약 조건과 관련하여, 이 호출이 인스턴스의 상태를 직접 수정한다는 점에 유의해야 합니다. 페이로드에 동기화 메커니즘이 언급되어 있지 않으므로 외부 동기화 없이 여러 스레드에서 동일한 객체에 동시 읽기 또는 쓰기 접근을 수행하는 것은 스레드 안전하지 않을 것으로 추정됩니다. 질문 Q-352f9d72ad3dfdbd (열림)

이 연산자는 operator+=의 다른 오버로드와 함께 단일 문자([SWS_CORE_03074]), 원시 문자 포인터([SWS_CORE_03073]), 초기화 목록([SWS_CORE_03075]) 및 StringView([SWS_CORE_03307])에 대한 문자열 확장 인터페이스를 구성합니다. 이러한 모든 수정 연산자는 “not exception safe” 속성을 공유하며 ara::core::BasicString([SWS_CORE_03024], [SWS_CORE_03025])의 기본 생성자를 보완합니다.

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

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

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

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

함수 Basic [SWS_CORE_03073]

BasicString & operator+= (const value_type *s);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

클래스 ara::core::BasicString의 할당 연산자 operator+=은(는) 포인터 기반 문자열을 기존 문자열에 동기식으로 추가하고 수정된 객체에 대한 참조를 반환합니다 [SWS_CORE_03073]. 이 함수는 헤더 파일 #include "ara/core/string.h"을(를) 통해 포함되며 매개변수로 const value_type * 유형의 포인터 s을(를) 받습니다 [SWS_CORE_03073]. 기능적 의미 체계는 [basic.string]의 표준화된 정의를 따르며, 주요 차이점으로 표준 문자 유형 charT이(가) value_type(으)로 대체되었습니다 [SWS_CORE_03073].

오류 처리 및 제한 사항

예외 안전성과 관련하여 멤버 함수는 명시적으로 예외 안전하지 않음(“not exception safe”)으로 선언되어 있습니다 [SWS_CORE_03073]. 이 연산자에 대해 특정 오류 코드, 오류 표시를 위한 반환값 또는 DET나 DEM으로의 오류 메시지는 지정되어 있지 않습니다. 해석: 결과적으로 문자열 확장 중 필요한 내부 메모리 할당에 실패할 경우 일관된 객체 상태가 보장되지 않을 것으로 추정되며 AUTOSAR Adaptive 환경에 별도의 오류 채널이 존재하지 않습니다. 질문 Q-a1498ddbc09bcfa9 (열림)

상호 작용

이 메서드는 완전한 문자열 인스턴스 [SWS_CORE_03072], 개별 문자 [SWS_CORE_03074], 초기화 목록 [SWS_CORE_03075] 또는 StringView 개체 [SWS_CORE_03307]의 추가를 구현하는 ara::core::BasicString 내의 다른 할당 연산자들을 보완합니다. 원시 문자 포인터에 대한 생성자 [SWS_CORE_03028] [SWS_CORE_03029]과(와) 마찬가지로 이러한 모든 변형은 예외 안전하지 않은 것으로 지정되어 있습니다.

이 텍스트는 AI에 의해 생성되었으며 가이드 역할을 합니다.

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

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

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

함수 Basic [SWS_CORE_03074]

BasicString & operator+= (value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

클래스 ara::core::BasicString의 멤버 함수 operator+=은(는) 호출하는 문자열 객체 [SWS_CORE_03074]에 value_type 유형의 단일 문자 c을(를) 동기식으로 추가할 수 있도록 합니다. 선언은 헤더 ara/core/string.h에 포함되어 있습니다 [SWS_CORE_03074]. 동작은 [basic.string]의 사양과 일치하지만 매개변수 유형 charT이(가) value_type(으)로 대체되었습니다 [SWS_CORE_03074]. 반환값으로 수정된 객체에 대한 참조(BasicString &)가 제공되어 연쇄 호출을 지원합니다.

견고성 및 오류 처리와 관련하여 이 작업은 not exception safe(으)로 분류됩니다 [SWS_CORE_03074]. 이 함수에 대해 특정 오류 코드 및 DET 또는 DEM으로의 메시지는 정의되어 있지 않습니다. 해석: 예외 안전하지 않음으로의 분류는 현재 버퍼 용량을 초과할 때 기본 할당자를 통해 동적 할당을 트리거해야 하며, 메모리가 부족할 경우 이 할당이 실패할 수 있다는 점에 기인하는 것으로 추정됩니다. 질문 Q-d74ec80829327ce0 (열림)

동시성 및 제약 조건과 관련하여, 이 함수는 인스턴스를 직접 수정하므로 외부 동기화 없는 동시 읽기 또는 쓰기 접근은 안전하지 않습니다. 다른 인터페이스와의 상호작용 측면에서 이 연산자는 [SWS_CORE_03024] 또는 [SWS_CORE_03025]과 같은 생성자를 통한 인스턴스화뿐만 아니라 전체 문자열 [SWS_CORE_03072], 문자열 포인터 [SWS_CORE_03073], 초기화 리스트 [SWS_CORE_03075] 및 문자열 뷰 [SWS_CORE_03307]에 대한 대체 복합 대입을 보완합니다.

이 텍스트는 AUTOSAR 사양을 기반으로 AI에 의해 생성되었습니다.

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

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

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

함수 Basic [SWS_CORE_03075]

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

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString([SWS_CORE_03075])의 멤버 함수 operator+=은 std::initializer_list<value_type>의 문자들을 기존 문자열 객체에 동기적으로 추가합니다. 이 메서드는 반환값으로 수정된 문자열에 대한 참조(*this)를 반환합니다. 동작은 [basic.string]에 대한 C++ 표준을 따르며, charT은 value_type로 대체되었습니다([SWS_CORE_03075]). 사용하려면 헤더 ara/core/string.h를 포함해야 합니다([SWS_CORE_03075]).

오류 처리 및 견고성 측면에서 이 함수는 not exception safe로 분류됩니다([SWS_CORE_03075]). 해석: 필요한 재할당 중에 메모리가 부족할 경우 기존 버퍼 내용에 대한 강력한 예외 보증을 제공하지 않고 예외가 발생할 수 있다고 추정할 수 있습니다. 질문 Q-0f3d6328fb6bfd73 (열림)

동시성 및 제한 사항과 관련하여, 호출은 호출 스레드의 컨텍스트에서 동기적으로 수행됩니다. 호출된 인스턴스가 직접 수정되므로, 외부 동기화 없는 여러 스레드의 동시 접근은 스레드 안전하지 않습니다.

다른 인터페이스와의 상호작용 측면에서 이 오버로드는 문자열([SWS_CORE_03072]), 문자 배열([SWS_CORE_03073]), 단일 문자([SWS_CORE_03074]) 또는 StringView([SWS_CORE_03307]) 추가를 포함하여 ara::core::BasicString의 추가적인 추가 연산자들을 보완합니다. 또한 초기화 리스트는 해당 생성자([SWS_CORE_03032])와 의미상 일치합니다.

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

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

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

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

함수 Basic [SWS_CORE_03307]

BasicString & operator+= (StringView sv);

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 멤버 함수 operator+=은 StringView sv를 통해 전달된 문자 시퀀스를 호출 문자열 객체에 동기식으로 추가하고 이 수정된 객체에 대한 참조를 반환합니다 [SWS_CORE_03307]. 이 작업은 헤더 파일 #include "ara/core/string.h"를 통해 정의되며, 기능적 동작은 [basic.string]의 일반적인 규칙을 따릅니다 [SWS_CORE_03307].

오류 처리 및 동시성

실행과 관련하여 이 함수는 명시적으로 not exception safe로 분류되어 있습니다 [SWS_CORE_03307]. DET 또는 DEM에 대한 특정 오류 코드는 지정되어 있지 않습니다. 문자열 연장 중 내부 메모리 할당이 실패할 경우 인스턴스의 내부 상태가 변경되지 않은 채 유지된다고 보장할 수 없을 것으로 보입니다. 통합된 동기화 메커니즘이 없으므로 동일한 인스턴스에 대한 여러 스레드의 경쟁적인 쓰기 또는 읽기 접근 시 스레드 안전성이 결여된 것으로 간주해야 합니다(해석). 질문 Q-1bed85bd42475f62 (열림)

상호 작용

이 연산자는 ara::core::BasicString 클래스의 구조에 원활하게 통합되며 전체 문자열 [SWS_CORE_03072], 문자 포인터 const value_type* [SWS_CORE_03073], 단일 문자 [SWS_CORE_03074] 및 초기화 리스트 [SWS_CORE_03075]에 대한 operator+=의 대체 오버로드를 보완합니다. 관련된 문자열 인스턴스의 생성은 클래스의 해당 생성자, 예를 들어 기본 생성자 [SWS_CORE_03024] 또는 복사 및 이동 생성자 [SWS_CORE_03033], [SWS_CORE_03034]를 통해 수행됩니다.

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03307
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03307@rel:R25-11#82544347
Content hash
82544347
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03307
Status: valid/unmigrated Version: rel:R25-11#49ff1728 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03307@rel:R25-11#49ff1728
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#dff07d2b2026-09-30
  • R19-11rel:R19-11#f3a51ca72026-10-14
  • R20-11rel:R20-11#eb9911662026-10-14
  • R21-11rel:R21-11#643b959e2026-10-14
  • R22-11rel:R22-11#62cca0c72026-10-14
  • R23-11rel:R23-11#94c578d72026-10-14
  • R24-11rel:R24-11#7d330f2f2026-10-14
  • R25-11rel:R25-11#49ff17282026-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

함수 Basic [SWS_CORE_03024]

BasicString () noexcept(noexcept(Allocator()));

As per corresponding usage in [basic.string]

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

사용

헤더 파일 #include "ara/core/string.h"의 BasicString() 함수는 ara::core::BasicString 클래스의 파라미터가 없는 기본 생성자입니다([SWS_CORE_03024]). 호출은 동기식으로 수행되며 생성자이므로 반환값을 제공하지 않습니다. 동작은 [basic.string]([SWS_CORE_03024])의 해당 정의를 따르며, 따라서 생성된 인스턴스는 빈 문자열을 나타내는 것으로 보입니다. 질문 Q-f36b11fa590a6111 (열림)

오류 처리 및 예외 안전성

이 요소는 조건부 예외 안전(conditionally exception safe)으로 지정되어 있습니다([SWS_CORE_03024]). 사양에 따르면 특정 오류 코드, DET 또는 DEM 메시지는 존재하지 않습니다. 시그니처 BasicString () noexcept(noexcept(Allocator()));을 통해 예외 안전성은 할당자의 기본 생성자에 직접 연결됩니다([SWS_CORE_03024]). Allocator() 생성 시 예외가 발생하지 않으면 BasicString 생성 또한 예외 없이 수행됨이 보장됩니다.

상호작용 및 제약사항

ara::core::BasicString의 다른 인터페이스 맥락에서는 다음 종속성이 중요합니다:

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

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

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

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

함수 Basic [SWS_CORE_03025]

explicit BasicString (const Allocator &a) noexcept;

As per corresponding usage in [basic.string]

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

헤더 파일 #include "ara/core/string.h"의 명시적 생성자 BasicString(const Allocator &a)은(는) 전달된 할당자 [SWS_CORE_03025]을(를) 사용하여 ara::core::BasicString의 빈 인스턴스를 초기화합니다. 시맨틱 동작은 C++ 표준 섹션 [basic.string] [SWS_CORE_03025]을(를) 따릅니다. explicit 키워드 덕분에 할당자 인스턴스로부터의 의도치 않은 암시적 타입 변환이 방지됩니다 [SWS_CORE_03025].

오류 처리 및 예외 처리와 관련하여 이 함수는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)한 것으로 명시되어 있습니다 [SWS_CORE_03025]. 예외 안전성이 조건부로 noexcept(noexcept(Allocator()))에 의존하는 기본 생성자 [SWS_CORE_03024]과(와) 달리, 이 호출은 항상 예외 없이 오류 없는 생성을 보장합니다 [SWS_CORE_03025], [SWS_CORE_03024]. 해석: 무조건적인 예외 안전성은 빈 문자열 초기화 시 메모리 집약적인 할당 단계를 실행할 필요가 없다는 사실에 기반한 것으로 추정됩니다. 질문 Q-88df57e7a9c2abda (열림)

데이터를 복사하며 예외 안전하지 않은 것(not exception safe)으로 분류된 [SWS_CORE_03026] 또는 [SWS_CORE_03028]과(와) 같은 클래스의 다른 생성자와의 상호 작용에서, 이 생성자는 안전한 시작점 역할을 합니다. 생성된 문자열은 이후 operator+=([SWS_CORE_03072], [SWS_CORE_03307])과(와) 같은 수정자를 통해 동적으로 확장되거나 Bitset [SWS_CORE_01749]과(와) 같은 타입의 입력으로 사용될 수 있습니다.

이 텍스트는 AI에 의해 작성되었으며 큐레이팅된 사용 지원 도구 역할을 합니다. 모든 규범적 요구 사항은 참조된 AUTOSAR 사양에서 확인해야 합니다.

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

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

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

함수 Basic [SWS_CORE_03026]

BasicString (const BasicString &str, size_type pos, const Allocator &a=Allocator());

As per corresponding usage in [basic.string]

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

사용

함수 Basic은 헤더 파일 #include "ara/core/string.h"를 통해 제공되는 ara::core::BasicString 클래스의 생성자를 나타냅니다 [SWS_CORE_03026]. [basic.string] [SWS_CORE_03026]의 시맨틱에 따라 인덱스 위치 pos부터 소스 객체 str에서 새로운 문자열을 부분 문자열로 동기식 생성합니다. 이때 다음 매개변수가 처리됩니다:

  • str: BasicString [SWS_CORE_03026] 타입의 복사할 소스 인스턴스에 대한 참조.
  • pos: size_type [SWS_CORE_03026] 타입의 부분 문자열의 0 기반 시작 위치.
  • a: 기본값으로 Allocator()이 할당된 메모리 관리용 할당자 [SWS_CORE_03026].

오류 처리 및 예외 안전성

이 함수에 대해 사양에는 not exception safe 속성이 명시되어 있습니다 [SWS_CORE_03026]. 특정 오류 코드나 DET 또는 DEM 메시지는 정의되어 있지 않습니다. 해석: 생성자가 [basic.string]의 표준 동작을 따르고 예외 안전성을 보장하지 않으므로 pos에 대한 유효하지 않은 인덱스 값과 메모리 할당 실패로 인해 예외가 발생할 것으로 보입니다 [SWS_CORE_03026]. 질문 Q-7ea120ac992dc5ac (열림)

상호 작용 및 관련 요구사항

ara::core::BasicString 내에서 이 생성자는 추가적인 길이 제한이 있는 변형 n [SWS_CORE_03027] 및 포인터, 반복자, 초기화 리스트를 위한 오버로드 [SWS_CORE_03028], [SWS_CORE_03031], [SWS_CORE_03032]를 보완합니다. 조건부 예외 안전 [SWS_CORE_03024]이거나 noexcept로 선언된 [SWS_CORE_03025] 소스 문자열이 없는 생성자와 달리, 부분 문자열의 동적 인수는 발생 가능한 할당 오류에 대한 별도의 주의가 필요합니다. 또한 BasicString는 Bitset [SWS_CORE_01749]과 같은 다른 모듈 구성요소에서 매개변수 기반으로 사용됩니다.

이 텍스트는 AI에 의해 작성되었으며 AUTOSAR 릴리스 R25-11의 사양 데이터에만 기반합니다.

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

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

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

함수 Basic [SWS_CORE_03027]

BasicString (const BasicString &str, size_type pos, size_type n, const Allocator &a=Allocator());

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 생성자 [SWS_CORE_03027]은(는) 소스 문자열 str에서 부분 시퀀스로서 새로운 문자열을 동기식으로 생성하는 데 사용됩니다. 인덱스 pos부터 시작하여 최대 n개의 문자가 복사됩니다. 선택적 매개변수 a을(를) 통해 사용자 정의 할당자를 전달할 수 있으며, 그렇지 않은 경우 기본적으로 표준 할당자 인스턴스가 생성됩니다. 정의는 헤더 #include "ara/core/string.h"을(를) 통해 제공됩니다.

견고성과 관련하여 이 함수는 not exception safe로 선언되어 있습니다([SWS_CORE_03027]). [basic.string]에 따른 명세에 따르면 pos이(가) 원본 문자열의 길이를 초과하거나 새 버퍼 할당에 실패할 경우 이 생성자가 실패할 가능성이 높습니다. 질문 Q-31041ea019720daf (열림) 이는 조건부 예외 안전이거나 명시적으로 noexcept(으)로 명시된 [SWS_CORE_03024] 및 [SWS_CORE_03025]와(과) 같은 기본 생성자 및 할당자 생성자와 대조적입니다.

ara::core::BasicString 내의 상호 작용에서 이 함수는 대체 오버로드를 보완합니다. [SWS_CORE_03026]이(가) pos부터 문자열 끝까지 부분 문자열을 복사하는 반면, [SWS_CORE_03027]은(는) 명시적인 길이 제한을 허용합니다. 생성을 위한 추가 대안으로는 반복자 기반([SWS_CORE_03031]) 또는 포인터 기반 초기화([SWS_CORE_03028])가 있습니다. 또한 pos 및 n을(를) 사용하는 동일한 부분 문자열 패턴은 [SWS_CORE_01749]의 Bitset과(와) 같은 관련 클래스에서도 사용됩니다.

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

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

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

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

함수 Basic [SWS_CORE_03028]

BasicString (const value_type *s, size_type n, const Allocator &a=Allocator());

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

헤더 ara/core/string.h에 포함된 ara::core::BasicString 클래스의 생성자 함수는 문자 배열에 대한 포인터 s 및 명시적 길이 지정 n으로부터 문자열을 동기식으로 생성합니다[SWS_CORE_03028]. 매개변수 a를 통해 사용자 정의 할당자를 선택적으로 전달할 수 있으며, 이는 기본적으로 Allocator()으로 폴백됩니다[SWS_CORE_03028]. 시맨틱은 [basic.string]의 규정에 따르며, 차이점으로는 매개변수 타입 charT가 value_type으로 대체되어 있습니다[SWS_CORE_03028].

사양에서 이 함수는 예외 안전하지 않은 것(not exception safe)으로 명시되어 있습니다[SWS_CORE_03028]. 이는 할당자 생성자 [SWS_CORE_03025]나 조건부 예외 안전 기본 생성자 [SWS_CORE_03024]과 같은 예외 안전 초기화와 차별화됩니다. 특정 오류 코드, 반환값 또는 DEM이나 DET에 대한 진단 메시지는 제공되지 않습니다. 주요 사전 조건으로서 호출자는 정의되지 않은 동작을 방지하기 위해 s가 최소 n개의 연속된 요소를 가진 유효한 메모리 영역을 가리키도록 보장해야 할 것으로 보입니다(해석). 질문 Q-957a57c885a2e702 (열림)

ara::core::BasicString 클래스 내에서 이 오버로드는 널 종료 문자열을 위한 길이 지정 없는 생성 [SWS_CORE_03029]과 동일한 문자로 이루어진 문자 시퀀스 [SWS_CORE_03030] 또는 부분 문자열 [SWS_CORE_03027]을 위한 생성자를 보완합니다. 생성 후 객체는 대입 및 연결 연산자를 통해 수정될 수 있습니다[SWS_CORE_03072]. 또한 결과 문자열은 관련 데이터 타입의 인터페이스를 위한 입력(예: Bitset의 초기화[SWS_CORE_01749])으로 사용됩니다.

이 텍스트는 AI에 의해 작성되었으며 릴리스 R25-11의 사양만을 기반으로 합니다.

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

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

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

함수 Basic [SWS_CORE_03029]

BasicString (const value_type *s, const Allocator &a=Allocator());

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

생성자 [SWS_CORE_03029]은(는) const value_type* 유형의 널 종료 문자열 포인터와 선택적 할당자로부터 ara::core::BasicString의 인스턴스를 초기화합니다. 해당 의미 체계는 [basic.string]의 표준 정의를 따르며, charT이(가) value_type(으)로 대체되었습니다 [SWS_CORE_03029]. 헤더 파일은 #include "ara/core/string.h" [SWS_CORE_03029]입니다.

오류 동작 및 예외 안전성과 관련하여 이 함수는 명시적으로 not exception safe로 지정되어 있습니다 [SWS_CORE_03029]. 생성 중에 메모리 할당이나 오류가 발생하는 경우 예외 보장이 제공되지 않습니다. 이와 대조적으로 [SWS_CORE_03025]과(와) 같은 기본 생성자는 noexcept 및 exception safe로 지정되거나 [SWS_CORE_03024]은(는) 조건부 예외 안전(conditionally exception safe)으로 분류됩니다.

사양은 BasicString 생성자 제품군 내의 상호 작용을 정의합니다.

  • 문자 수가 명시적으로 지정된 경우 [SWS_CORE_03028]에 따라 길이 매개변수가 있는 오버로드 (const value_type *s, size_type n, ...)을(를) 사용해야 합니다.
  • 다른 대안으로는 기존 문자열 기반의 부분 범위 생성자 [SWS_CORE_03026], [SWS_CORE_03027], 채우기 생성자 [SWS_CORE_03030], 반복자 목록 [SWS_CORE_03031] 및 초기화 목록 [SWS_CORE_03032]이(가) 있습니다.
  • 원시 문자열 포인터와의 사후 연결을 위해 [SWS_CORE_03073]에 따른 operator+=이(가) 대응합니다.
  • 또한 BasicString은(는) [SWS_CORE_01749]에 따라 Bitset과(와) 같은 다른 도우미 클래스에서 매개변수 기반 역할을 합니다.

호출자는 포인터 s이(가) 유효하고 올바르게 널 종료되었는지 확인해야 합니다(해석: 길이 지정이 없는 경우 표준 동작에 따라 종료 문자가 길이를 결정하는 데 사용되기 때문임). 질문 Q-7e0172674e115dea (열림) 생성자가 동기식으로 실행되므로 안전이 중요한 컨텍스트에서는 할당자를 통해 잠재적으로 동적 메모리가 획득된다는 점을 고려해야 합니다.

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

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

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

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

함수 Basic [SWS_CORE_03030]

BasicString (size_type n, value_type c, const Allocator &a=Allocator());

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스(헤더 ara/core/string.h에 정의됨)의 생성자 [SWS_CORE_03030]은 value_type 타입의 문자 c의 n개 복사본으로 구성된 문자열을 동기식으로 생성합니다. 기능적 동작은 charT이 value_type로 대체되었다는 차이점을 제외하고 C++ 표준 사양 [basic.string]을 따릅니다. 선택적으로 사용자 정의 할당자 a를 전달할 수 있으며, 기본적으로 Allocator()이 인스턴스화됩니다.

오류 처리 및 예외 안전성

사양에서는 이 생성자를 not exception safe로 분류하므로, [SWS_CORE_03025]과 같은 보장된 noexcept 생성자나 조건부로 안전한 기본 생성자 [SWS_CORE_03024]과 구별됩니다. 해석: 예외 안전성의 결여는 주로 n개 문자에 대한 동적 메모리 할당 실패에 기인하는 것으로 추정됩니다. 질문 Q-87ae8b5cae690fdb (열림) 이 호출에 대해 특정 AUTOSAR 오류 코드나 DET 또는 DEM에 대한 보고는 지정되어 있지 않습니다.

동시성 및 상호 작용

외부 동기화 없이 여러 스레드가 동일한 인스턴스에 동시 접근하는 것은 스레드 안전하지 않습니다. 생성 후에는 단일 문자([SWS_CORE_03074]) 또는 문자열([SWS_CORE_03072])에 대한 operator+=과 같은 연결 연산자를 통해 문자열을 수정할 수 있습니다. 생성된 문자열은 [SWS_CORE_01749]에 따라 ara::core::Bitset을 초기화하는 데에도 사용할 수 있습니다. 대체 생성을 위해 포인터([SWS_CORE_03028], [SWS_CORE_03029]) 또는 초기화 리스트([SWS_CORE_03032])를 통한 생성자가 제공됩니다.

이 텍스트는 AI에 의해 생성되었으며 참고용으로 제공됩니다. 구속력을 갖는 것은 AUTOSAR 사양입니다.

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

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

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

함수 Basic [SWS_CORE_03031]

template <class InputIterator> BasicString (InputIterator begin, InputIterator end, const Allocator &a=Allocator());

As per corresponding usage in [basic.string]

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

사용

이 템플릿 함수는 헤더 <ara/core/string.h>에 있는 클래스 ara::core::BasicString의 범위 생성자를 나타냅니다 [SWS_CORE_03031]. InputIterator 유형의 입력 반복자 begin 및 end에 의해 정의된 시퀀스로부터 문자열을 동기식으로 초기화하는 역할을 합니다 [SWS_CORE_03031]. 선택적으로 매개변수 a을(를) 통해 사용자 정의 할당자 인스턴스를 전달할 수 있으며, 이 매개변수를 비워 둘 경우 기본 인스턴스 Allocator()이(가) 생성됩니다 [SWS_CORE_03031]. 기능적 의미 체계는 [basic.string]에 대한 C++ 표준의 사양을 따릅니다 [SWS_CORE_03031].

오류 처리 및 예외 안전성

사양은 이 함수를 명시적으로 not exception safe로 선언합니다 [SWS_CORE_03031]. 동작이 C++ 표준 라이브러리의 동작과 일치하므로 AUTOSAR 관련 DET 또는 DEM 메시지는 발행되지 않습니다 [SWS_CORE_03031]. 해석: 예외 안전성의 결여는 할당자에 의한 잠재적인 메모리 할당 오류 또는 전달된 반복자의 실패한 작업 때문인 것으로 추정됩니다. 질문 Q-676411ee17d37217 (열림)

동시성 및 제약사항

호출은 호출 스레드의 컨텍스트에서 동기식으로 수행됩니다. 기본 생성자 [SWS_CORE_03024] 또는 순수 할당자 생성자 [SWS_CORE_03025]과(와) 달리 이 생성자는 noexcept(으)로 선언되지 않았습니다. 따라서 호출자는 범위 [begin, end)이(가) 유효하고 참조된 요소를 오류 없이 읽을 수 있는지 확인해야 합니다.

상호 작용

이 함수는 동일한 예외 분류를 갖는 부분 문자열 [SWS_CORE_03026], 문자 배열 [SWS_CORE_03028] 및 초기화 목록 오버로드 [SWS_CORE_03032]을(를) 포함하여 ara::core::BasicString의 대체 생성자들을 보완합니다. 생성 후 인스턴스는 operator+=과(와) 같은 연결 연산자를 통해 수정되거나 [SWS_CORE_03072] Bitset과(와) 같은 종속 유형을 초기화하는 데 사용될 수 있습니다 [SWS_CORE_01749].

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

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

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

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

함수 Basic [SWS_CORE_03032]

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

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

생성자 BasicString은(는) 초기화 리스트([SWS_CORE_03032])를 사용하여 ara::core::BasicString 인스턴스를 동기식으로 초기화하는 역할을 합니다. 선언은 ara::core::BasicString 클래스 스코프의 헤더 파일 #include "ara/core/string.h"을(를) 통해 이루어집니다([SWS_CORE_03032]). 동작은 [basic.string]의 정의를 따르며, 표준 준수를 위해 charT은(는) value_type(으)로 대체됩니다([SWS_CORE_03032]). 매개변수로는 std::initializer_list<value_type> 및 선택적으로 할당자가 전달됩니다([SWS_CORE_03032]).

오류 처리 및 예외 처리와 관련하여 생성자는 not exception safe(으)로 명세되어 있습니다([SWS_CORE_03032]). 이는 예외 안전 또는 noexcept(으)로 선언된 기본 생성자([SWS_CORE_03024])나 명시적 할당자 생성자([SWS_CORE_03025])와 차별화됩니다. 특정 AUTOSAR 오류 코드, DET 또는 DEM 메시지는 이 생성자에 대해 정의되어 있지 않습니다. 해석: 초기화 리스트의 요소에 대해 동적 메모리를 할당해야 하므로 메모리가 부족할 경우 객체 생성이 실패할 것으로 보입니다. 질문 Q-7ecc7431c1c2f54c (열림)

core 모듈과의 상호작용 측면에서 이 함수는 부분 문자열([SWS_CORE_03026], [SWS_CORE_03027]), 포인터([SWS_CORE_03028], [SWS_CORE_03029]) 또는 반복자([SWS_CORE_03031])로부터의 생성과 같은 대안적인 생성 방식을 보완합니다. 기존 문자열을 초기화 리스트로 사후 확장하기 위해 해당하는 operator+=이(가) 제공됩니다([SWS_CORE_03075]). 또한 생성된 BasicString 인스턴스는 Bitset과(와) 같은 관련 데이터 타입을 초기화하는 데 사용될 수 있습니다([SWS_CORE_01749]).

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

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

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

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

함수 Basic [SWS_CORE_03033]

BasicString (const BasicString &, const Allocator &);

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 복사 생성자 [SWS_CORE_03033]은 할당자를 명시적으로 전달하여 기존 인스턴스의 복사본인 새 문자열을 동기식으로 생성하는 역할을 합니다. 함수 선언 BasicString (const BasicString &, const Allocator &);는 헤더 #include "ara/core/string.h"을 통해 제공됩니다 [SWS_CORE_03033]. 이때 기능적 시맨틱은 표준 패턴 [basic.string]의 해당 사용법을 따릅니다 [SWS_CORE_03033].

오류 처리와 관련하여 생성자 함수는 사양에서 명시적으로 not exception safe로 분류되어 있습니다 [SWS_CORE_03033]. 이 호출에 대해 특정 AUTOSAR 오류 코드나 DET 또는 DEM과 같은 진단 모듈에 대한 알림은 존재하지 않으며, 따라서 할당자에 의한 동적 메모리 할당 중 발생하는 예외는 [basic.string]의 일반적인 동작을 따를 것으로 추정됩니다. 질문 Q-496b847c39fc25ae (열림)

동시성 및 제약 조건과 관련하여, const BasicString &을 통한 원본 인스턴스 전달은 복사 프로세스 중에 원본 객체가 동시에 수정되지 않을 것을 요구합니다. 여러 스레드로부터의 동시 읽기 접근은 허용되지만, 보호되지 않은 병렬 쓰기 접근은 데이터 불일치를 초래할 것으로 추정됩니다. 질문 Q-daa5ef2c4672b657 (열림)

관련 사양 요소와의 상호작용 측면에서, 이 생성자는 할당자를 사용하는 이동 생성자 [SWS_CORE_03034], 기본 생성자 [SWS_CORE_03024] 또는 할당자 생성자 [SWS_CORE_03025]와 같은 대체 초기화 경로와 함께 제공됩니다. 생성된 객체는 operator+=과 같은 연산자를 통해 원활하게 수정되거나 [SWS_CORE_03072] Bitset와 같은 종속 타입을 초기화하는 데 사용될 수 있습니다 [SWS_CORE_01749].

이 텍스트는 AI 시스템에 의해 생성되었으며 AUTOSAR 사양에 대한 사용 지침 역할을 합니다.

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

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

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

함수 Basic [SWS_CORE_03034]

BasicString (BasicString &&, const Allocator &);

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 이동 생성자 [SWS_CORE_03034]은 헤더 파일 #include "ara/core/string.h"를 통해 제공됩니다. 이 생성자는 기존 인스턴스의 데이터를 인수하고 이를 명시적으로 지정된 할당자에 바인딩하여 새 문자열을 동기식으로 생성합니다. 이때 의미론적 동작과 요구사항은 [basic.string]의 ISO C++ 표준 규정을 따릅니다.

호출 컨텍스트에서 이 함수는 두 개의 매개변수, 즉 원본 객체에 대한 rvalue 참조(BasicString&&)와 할당자 인스턴스(const Allocator&)를 요구합니다. 원본 객체는 이동 작업 후 유효하지만 수정된 상태로 유지됩니다. 오류 처리와 관련하여 이 함수는 [SWS_CORE_03034]에서 not exception safe로 분류됩니다. 해석: 이는 할당자가 다르거나 호환되지 않는 경우 새 메모리를 할당하고 요소를 복사해야 하므로 메모리 부족 시 실패할 수 있기 때문인 것으로 추정됩니다. 질문 Q-2a89ad749ae1b2f6 (열림) 이는 이 생성자를 [SWS_CORE_03025]과 같이 엄격하게 예외 안전한 오버로드나 [SWS_CORE_03024]와 같이 조건부로 예외 안전한 변형과 구별 짓습니다.

core 내의 상호작용 측면에서, 이 시그니처는 할당자를 사용하는 복사 생성자 [SWS_CORE_03033] 및 [SWS_CORE_03026]와 같은 부분 문자열 초기화와 함께 생성 메서드의 범위를 보완합니다. 성공적으로 인스턴스화된 후에는 operator+=([SWS_CORE_03072], [SWS_CORE_03307])을 통해 콘텐츠를 추가하는 등 문자열을 수정하거나, [SWS_CORE_01749]에 따라 Bitset과 같은 종속 데이터 타입의 입력으로 사용할 수 있습니다.

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

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

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

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

함수 BasicString [SWS_CORE_03020] Upstream: RS_AP_00145

BasicString (const BasicString &str);

As per corresponding usage in [basic.string]

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

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

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

함수 BasicString [SWS_CORE_03022] Upstream: RS_AP_00145

BasicString (BasicString &&str) noexcept=default;

As per corresponding usage in [basic.string]

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

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

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

함수 BasicString [SWS_CORE_03302]

explicit BasicString (StringView sv, const Allocator &a=Allocator());

As per corresponding usage in [basic.string]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03302
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03302@rel:R25-11#5d750958
Content hash
5d750958
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03302
Status: valid/unmigrated Version: rel:R25-11#334f5de6 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03302@rel:R25-11#334f5de6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#468764db2026-09-30
  • R19-11rel:R19-11#30ce8b8b2026-10-14
  • R20-11rel:R20-11#f4ee1ffd2026-10-14
  • R21-11rel:R21-11#ae5cbb962026-10-14
  • R22-11rel:R22-11#069325742026-10-14
  • R23-11rel:R23-11#a044a23b2026-10-14
  • R24-11rel:R24-11#2941a9da2026-10-14
  • R25-11rel:R25-11#334f5de62026-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

함수 BasicString [SWS_CORE_03303]

template <class T> BasicString (const T &t, size_type pos, size_type n, const Allocator &a=Allocator());

As per corresponding usage in [basic.string]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03303
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03303@rel:R25-11#9e0d3d89
Content hash
9e0d3d89
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03303
Status: valid/unmigrated Version: rel:R25-11#929f742b Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03303@rel:R25-11#929f742b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#53fb08b22026-09-30
  • R19-11rel:R19-11#c03174142026-10-14
  • R20-11rel:R20-11#0a951e942026-10-14
  • R21-11rel:R21-11#b257a9022026-10-14
  • R22-11rel:R22-11#a7755b0d2026-10-14
  • R23-11rel:R23-11#9e566e1c2026-10-14
  • R24-11rel:R24-11#71521ca52026-10-14
  • R25-11rel:R25-11#929f742b2026-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

함수 append [SWS_CORE_03076]

BasicString & append (const BasicString &str);

As per corresponding usage in [basic.string]

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

사용법 및 의미론

헤더 파일 #include "ara/core/string.h"의 ara::core::BasicString 클래스([SWS_CORE_03076]) 멤버 함수 append은 BasicString 타입의 완전한 문자열 객체 str를 호출 인스턴스에 동기식으로 추가하는 데 사용됩니다. 시맨틱은 [basic.string]의 표준화된 C++ 정의를 따르며, 반환값으로 함수는 변경된 객체에 대한 참조(*this)를 반환합니다([SWS_CORE_03076]).

오류 처리 및 제약 조건

예외 안전성과 관련하여 이 작업은 명시적으로 not exception safe으로 분류되어 있습니다([SWS_CORE_03076]). 해석: 실행 중 오류(예: 메모리 부족)가 발생할 경우 복원 보장이 명시되어 있지 않으므로 문자열의 상태가 결정되지 않을 수 있습니다. 질문 Q-57504af4ee633d0b (열림) [SWS_CORE_03077] 또는 [SWS_CORE_03309]과 같이 위치 인덱스가 있는 변형(IsoStdOutOfRangeViolation 발생)이나 [SWS_CORE_03078]와 같은 버퍼 크기 검사(IsoStdLengthErrorViolation 발생)와 달리, [SWS_CORE_03076]은 별도의 위반 사항을 정의하지 않습니다.

상호작용 및 오버로드

이 함수는 ara::core::BasicString 내의 오버로드 제품군의 일부입니다:

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

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

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

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

함수 append [SWS_CORE_03077]

BasicString & append (const BasicString &str, size_type pos, size_type n=npos);

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

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

ara::core::BasicString 클래스([SWS_CORE_03077], #include "ara/core/string.h"에 선언됨)의 멤버 함수 append은 다른 BasicString 인스턴스 str의 부분 문자열을 현재 객체에 동기식으로 추가합니다. 매개변수 pos 및 n(기본값 npos)은 str 내의 시작 인덱스와 최대 문자 수를 결정합니다. 반환값으로 수정된 대상 객체에 대한 참조(*this)가 제공됩니다.

시맨틱 및 인터페이스 동작 측면에서 이 함수는 C++ 표준의 [basic.string] 정의를 따르지만 오류 처리에서 차이가 있습니다: pos > str.size()이 적용되는 경우 [SWS_CORE_03077]에 따라 IsoStdOutOfRangeViolation이 발생합니다(std::out_of_range와 유사). 사양은 이 작업을 명시적으로 not exception safe로 분류하므로 오류 발생 시 변경되지 않거나 일관된 객체 상태에 대한 보장이 제공되지 않습니다.

문서화된 동기화 메커니즘이 없으므로 동일한 인스턴스에 대한 동시 호출은 스레드 안전하지 않을 것으로 보입니다. 질문 Q-ec3b029fca94ad8a (열림) 대체 데이터 소스를 위해 모듈에는 전체 문자열([SWS_CORE_03076]), 버퍼 및 포인터([SWS_CORE_03078], [SWS_CORE_03079]), 문자 반복([SWS_CORE_03080]), 반복자 쌍([SWS_CORE_03081]), 이니셜라이저 리스트([SWS_CORE_03082]) 및 StringView 객체([SWS_CORE_03308], [SWS_CORE_03309])와 같은 추가 오버로드가 준비되어 있습니다.

이 텍스트는 AI에 의해 작성되었으며 AUTOSAR R25-11 사양 버전을 기반으로 합니다.

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

함수 append [SWS_CORE_03078]

BasicString & append (const value_type *s, size_type n);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type 2. if ( size() > n + max_size() ) IsoStdLengthErrorViolation is raised instead of std::length_error

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

ara::core::BasicString 클래스([SWS_CORE_03078])의 멤버 함수 append은(는) 전달된 const value_type* 타입의 문자 필드 s의 처음 n개 문자를 기존 문자열에 동기적으로 추가합니다. 반환값으로 함수는 수정된 인스턴스(BasicString&)에 대한 참조를 제공하므로 연속적인 호출의 체이닝이 가능합니다. 선언은 헤더 파일 #include "ara/core/string.h"을(를) 통해 사용할 수 있습니다.

기능적 동작은 [basic.string]에 따른 std::basic_string::append의 사양을 따르지만, 특정한 AUTOSAR 편차를 갖습니다([SWS_CORE_03078]):

  • 템플릿 매개변수 charT은(는) value_type 타입으로 대체됩니다.
  • 결과 길이가 용량 제한(조건 size() > n + max_size())을 초과하는 경우 std::length_error 대신 위반 IsoStdLengthErrorViolation이(가) 트리거됩니다.

실행 안전성과 관련하여 이 작업은 명시적으로 not exception safe로 명시되어 있습니다([SWS_CORE_03078]). 메모리 할당 중 또는 복사 시 오류나 위반이 발생하는 경우, 객체는 일관된 중간 상태를 보장하지 않습니다.

이 메서드는 ara::core::BasicString 내에서 append의 다른 오버로드를 보완합니다. 여기에는 완전한 인스턴스 추가([SWS_CORE_03076]), IsoStdOutOfRangeViolation을 통한 범위 검사를 수반하는 부분 문자열 추가([SWS_CORE_03077]), 널 종료 문자열([SWS_CORE_03079]), 동일한 문자의 연속([SWS_CORE_03080]), 반복자 범위([SWS_CORE_03081]), 초기화 리스트([SWS_CORE_03082]) 및 StringView 객체([SWS_CORE_03308], [SWS_CORE_03309]) 추가가 포함됩니다.

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

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception safe
Verletzungen (Violations)IsoStdLengthEr- Description as per std::length_error rorViolation

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

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

함수 append [SWS_CORE_03079]

BasicString & append (const value_type *s);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스([SWS_CORE_03079])의 멤버 함수 append은 포인터 타입 const value_type*의 널로 끝나는 문자열을 기존 문자열에 추가합니다. 시맨틱은 C++ 표준 [basic.string]의 동작에 해당하며, 이때 charT는 value_type으로 대체됩니다. 동기 함수는 호출 객체에 대한 참조(BasicString&)를 반환값으로 제공하므로 연속적인 연산의 체이닝이 가능합니다.

오류 처리 및 예외 안전성 측면에서 이 작업은 명시적으로 not exception safe로 분류되어 있습니다([SWS_CORE_03079]). 최대 길이를 초과할 때 IsoStdLengthErrorViolation를 발생시키는 길이 지정 오버로드 [SWS_CORE_03078]이나 IsoStdOutOfRangeViolation를 사용하는 [SWS_CORE_03077]과 같은 부분 문자열 오버로드와 달리, 이 변형은 특정 위반 클래스를 정의하지 않습니다. 전달된 포인터 s가 유효한 널 종료 문자 시퀀스를 가리키도록 보장하는 것은 호출자의 책임일 것으로 보입니다. 질문 Q-4e959f75f98977eb (열림)

이 함수는 ara::core::BasicString에서 데이터 추가를 위한 오버로드 제품군의 일부입니다:

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

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

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

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

함수 append [SWS_CORE_03080]

BasicString & append (size_type n, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString([SWS_CORE_03080])의 멤버 함수 append은 value_type 타입의 문자(매개변수 c) n개를 기존 문자열에 동기식으로 추가합니다. 헤더 ara/core/string.h을 통해 제공되며 수정된 인스턴스에 대한 참조(*this)를 반환하여 체이닝 호출을 가능하게 합니다.

기능적 동작은 C++ 표준의 [basic.string] 정의를 따르며, 이때 charT은 value_type로 대체됩니다([SWS_CORE_03080]). 예외 안전성 측면에서 이 함수는 명시적으로 not exception safe로 분류되어 있습니다([SWS_CORE_03080]). [SWS_CORE_03077] 또는 [SWS_CORE_03078]과 같은 다른 오버로드와 달리 이 변형에는 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation과 같은 특정 런타임 위반(Violation)이 정의되어 있지 않습니다. 오류 발생 시 메서드는 인스턴스의 변경되지 않은 상태를 보장하지 않을 것으로 보입니다. 질문 Q-15af6c12a1a342a9 (열림)

동시성 및 스레드 안전성 맥락에서 동일한 BasicString 인스턴스에 대한 동시 쓰기 접근은 외부에서 동기화되어야 할 것으로 보입니다. 질문 Q-1e8a1511516e4cd8 (열림) 이 함수는 전체 문자열([SWS_CORE_03076]), 하위 범위([SWS_CORE_03077]), 포인터 버퍼([SWS_CORE_03078], [SWS_CORE_03079]), 반복자 범위([SWS_CORE_03081]), 초기화 리스트([SWS_CORE_03082]) 또는 StringView 객체([SWS_CORE_03308], [SWS_CORE_03309])의 추가를 다루는 ara::core::BasicString 내 append의 다른 오버로드를 보완합니다.

이 텍스트는 AI에 의해 생성되었으며 가이드 역할을 합니다.

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

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

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

함수 append [SWS_CORE_03081]

template <class InputIterator> BasicString & append (InputIterator first, InputIterator last);

As per corresponding usage in [basic.string]

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

사용법 및 의미론

ara::core::BasicString 클래스의 템플릿 멤버 함수 append은 헤더 파일 ara/core/string.h를 통해 제공됩니다 [SWS_CORE_03081]. InputIterator 범주의 반복자 쌍 first 및 last로 한정된 문자 시퀀스를 기존 문자열에 동기식으로 추가합니다 [SWS_CORE_03081]. 기능적 동작은 C++ 표준의 [basic.string]에 있는 해당 정의를 따릅니다 [SWS_CORE_03081]. 반환값으로 이 작업은 변경된 BasicString 객체에 대한 참조(*this)를 반환합니다 [SWS_CORE_03081].

오류 처리 및 예외 안전성

이 함수에 대해 예외 안전성은 명시적으로 not exception safe으로 정의되어 있습니다 [SWS_CORE_03081]. 오류 발생 시(예: 버퍼 확장 중 동적 메모리 고갈 시) 해석상 인스턴스는 유효하지 않은 상태로 남을 것으로 보입니다. 질문 Q-600c7dacc868877c (열림) 메서드의 다른 오버로드 [SWS_CORE_03077], [SWS_CORE_03078]와 달리 이 반복자 오버로드에는 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation과 같은 특정 AUTOSAR Violation이 정의되어 있지 않습니다.

모듈 내 상호 작용

이 함수는 ara::core::BasicString에 데이터를 추가하기 위한 광범위한 오버로드 그룹의 일부입니다:

반복자 변형 [SWS_CORE_03081]은 임의의 제네릭 데이터 소스를 통합하기 위한 최대의 유연성을 제공합니다.

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

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

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

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

함수 append [SWS_CORE_03082]

BasicString & append (std::initializer_list< value_type >);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스의 멤버 함수 append은 std::initializer_list<value_type> 타입의 초기화 리스트 문자를 기존 문자열 객체에 동기식으로 추가합니다 [SWS_CORE_03082]. 동작은 C++ 표준의 [basic.string] 시맨틱을 따르며, 차이점은 charT가 value_type으로 대체되었다는 점입니다 [SWS_CORE_03082]. 호출은 인스턴스를 직접 수정하고 객체에 대한 참조를 반환하므로 메서드 체이닝이 가능합니다.

오류 처리와 관련하여 이 함수는 예외 안전하지 않음(not exception safe)으로 분류되어 있습니다 [SWS_CORE_03082]. [SWS_CORE_03077] 또는 [SWS_CORE_03078]과 같은 관련 오버로드와 달리 이 변형은 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation와 같은 특정 위반을 정의하지 않습니다. 해석: 내부 메모리 할당이 실패하면 객체는 정의되지 않은 상태로 남을 것으로 보입니다. 질문 Q-169750518dc1904b (열림) 내부 상태가 변경되므로 외부 동기화가 없는 동시 호출은 데이터 레이스로 이어질 수 있습니다.

ara::core::BasicString 내의 상호 작용에서 이 함수는 관련 append 연산 그룹의 일부입니다. 이는 전체 문자열([SWS_CORE_03076]), 하위 범위([SWS_CORE_03077]), 문자열 포인터([SWS_CORE_03078], [SWS_CORE_03079]), 반복된 단일 문자([SWS_CORE_03080]), 반복자 범위([SWS_CORE_03081]) 및 StringView 인스턴스([SWS_CORE_03308], [SWS_CORE_03309])를 위한 오버로드를 보완합니다.

이 텍스트는 AI에 의해 작성되었으며 AUTOSAR 환경의 가이드 역할을 합니다.

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

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

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

함수 append [SWS_CORE_03308]

BasicString & append (StringView sv);

As per corresponding usage in [basic.string]

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

사용

ara::core::BasicString 클래스의 동기 멤버 함수 append은(는) 전달된 문자열 뷰(StringView sv)의 문자를 기존 문자열에 추가합니다[SWS_CORE_03308]. 인터페이스는 헤더 #include "ara/core/string.h"을(를) 통해 포함됩니다[SWS_CORE_03308]. 이는 호출 인스턴스(BasicString &)에 대한 참조를 반환하므로 여러 수정을 체이닝할 수 있습니다[SWS_CORE_03308]. 기능적 시맨틱은 C++ [basic.string] [SWS_CORE_03308]의 해당 사양을 따릅니다.

오류 처리 및 예외 안전성

이 함수는 AUTOSAR에서 명시적으로 예외에 안전하지 않음(\"not exception safe\")으로 명시되어 있습니다[SWS_CORE_03308]. 이 호출에 대해서는 특정한 오류 코드, DET 또는 DEM 보고, 명시적인 AUTOSAR Violations가 정의되어 있지 않은 반면, [SWS_CORE_03077] 또는 [SWS_CORE_03309]와(과) 같은 관련 오버로드는 인덱스 초과 시 IsoStdOutOfRangeViolation을(를), [SWS_CORE_03078]은(는) 길이 초과 시 IsoStdLengthErrorViolation을(를) 트리거합니다.

동시성 및 상호 작용

append은(는) 호출된 문자열 객체의 상태를 직접 변경하므로, 외부 동기화 없이 동일한 인스턴스에 여러 스레드가 동시에 액세스하는 것은 스레드 안전하지 않을 것으로 추정됩니다. 질문 Q-814665e285846c8e (열림) 이 메서드는 완전한 BasicString 인스턴스[SWS_CORE_03076], C 문자열[SWS_CORE_03079], 반복되는 단일 문자[SWS_CORE_03080] 및 반복자 범위[SWS_CORE_03081] 또는 초기화 리스트[SWS_CORE_03082]의 추가를 가능하게 하는 ara::core::BasicString의 다른 append 변형들과 함께 제공됩니다.

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03308
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03308@rel:R25-11#82b1a982
Content hash
82b1a982
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03308
Status: valid/unmigrated Version: rel:R25-11#eff6b5dc Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03308@rel:R25-11#eff6b5dc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ca95ba262026-09-30
  • R19-11rel:R19-11#8aab77bd2026-10-14
  • R20-11rel:R20-11#6800f5c02026-10-14
  • R21-11rel:R21-11#ad4c498c2026-10-14
  • R22-11rel:R22-11#498bea932026-10-14
  • R23-11rel:R23-11#bc8b2a142026-10-14
  • R24-11rel:R24-11#6f0af72f2026-10-14
  • R25-11rel:R25-11#eff6b5dc2026-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

함수 append [SWS_CORE_03309]

template <class T> BasicString & append (const T &t, size_type pos, size_type n=npos);

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

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

사용

헤더 파일 #include "ara/core/string.h"에 있는 ara::core::BasicString 클래스([SWS_CORE_03309])의 템플릿 함수 append은 호출 문자열에 객체 t의 하위 범위를 동기식으로 추가하는 역할을 합니다. 동작은 ISO C++ 사양 [basic.string]를 따릅니다. 매개변수 pos은 소스 객체의 시작 인덱스를 지정하고, n은 추가할 최대 문자 수를 결정합니다(기본값 npos). 반환값으로 수정된 문자열 객체에 대한 참조(*this)가 제공됩니다. 해석: 전달된 객체 t은 내부적으로 String-View sv로 해석될 것으로 보입니다. 질문 Q-9752a5eeaf05b684 (열림)

오류 처리

AUTOSAR는 이 함수에 대해 C++ 표준과의 특정 차이점을 정의합니다: 지정된 위치가 소스 범위의 크기보다 큰 경우(pos > sv.size()), std::out_of_range 대신 IsoStdOutOfRangeViolation이 발생합니다([SWS_CORE_03309]). 이 위반의 의미론적 설명은 std::out_of_range의 설명과 일치합니다.

제약 조건 및 예외 안전성

이 작업은 사양에서 명시적으로 not exception safe로 분류되어 있습니다([SWS_CORE_03309]). 따라서 오류 발생 시 이전 상태의 안정적인 보존이 보장되지 않습니다.

상호 작용

이 함수는 ara::core::BasicString에서 문자열 확장을 위한 다른 변형들을 보완합니다. 여기에는 전체 BasicString 인스턴스([SWS_CORE_03076]) 또는 그 하위 범위([SWS_CORE_03077]), 길이 지정이 있거나([SWS_CORE_03078]) 널 종료 포인터인([SWS_CORE_03079]) C 문자열, 문자 반복([SWS_CORE_03080]), 반복자 범위([SWS_CORE_03081]), 초기화 리스트([SWS_CORE_03082]) 및 별도의 StringView 객체([SWS_CORE_03308])를 위한 오버로드가 포함됩니다.

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

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception 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_03309
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03309@rel:R25-11#2a3bbb3c
Content hash
2a3bbb3c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03309
Status: valid/unmigrated Version: rel:R25-11#34725e40 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03309@rel:R25-11#34725e40
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c88e788b2026-09-30
  • R19-11rel:R19-11#a14295422026-10-14
  • R20-11rel:R20-11#f70df1b22026-10-14
  • R21-11rel:R21-11#158fe1c42026-10-14
  • R22-11rel:R22-11#acaa045d2026-10-14
  • R23-11rel:R23-11#66e754de2026-10-14
  • R24-11rel:R24-11#6916df192026-10-14
  • R25-11rel:R25-11#34725e402026-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

함수 assign [SWS_CORE_03084]

BasicString & assign (const BasicString &str);

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 멤버 함수 assign은(는) [basic.string] [SWS_CORE_03084]의 동작에 따라 기존 문자열의 내용을 호출 인스턴스에 동기적으로 할당하는 역할을 합니다. 이 함수는 헤더 ara/core/string.h을(를) 통해 제공되며 BasicString 객체(const BasicString &str)에 대한 상수 참조를 받습니다. 반환값으로 수정된 대상 객체(*this)에 대한 참조를 제공하므로 메서드 체이닝이 가능합니다[SWS_CORE_03084].

견고성과 관련하여 이 함수는 명시적으로 not exception safe로 지정되어 있습니다[SWS_CORE_03084]. 복사 프로세스 중 동적 메모리 할당에서 예외 보증을 통해 포착되지 않는 오류가 발생할 수 있으며, 오류 발생 시 인스턴스는 정의되지 않은 상태로 남을 것으로 추정됩니다. 질문 Q-0ddd5ac03e56490f (열림) 이 할당 함수에 대해서는 특정한 AUTOSAR 오류 코드나 DET 또는 DEM에 대한 보고가 규정되어 있지 않습니다.

다른 인터페이스와의 상호 작용에서 assign은(는) 일련의 할당 함수 제품군 내에서 복사 변형을 나타냅니다. 이동 오버로드 [SWS_CORE_03085]이(가) conditionally exception safe로 선언된 반면, 부분 문자열[SWS_CORE_03086], 문자열 뷰[SWS_CORE_03087] 또는 반복자 범위[SWS_CORE_03091]를 통한 나머지 할당들은 not exception safe 특성을 공유합니다. 스레드 안전성이 명시되어 있지 않으므로, 외부 동기화 없이 동일한 인스턴스에 대한 동시 호출은 재진입이 불가능하고 데이터 안전성이 보장되지 않을 것으로 추정됩니다. 질문 Q-37d67c851a296f55 (열림)

이 사용 지침은 사양 데이터를 바탕으로 자동 생성되었습니다.

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

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

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

함수 assign [SWS_CORE_03085]

BasicString & assign (BasicString &&str) noexcept(std::allocator_ traits< Allocator >::propagate_on_container_move_ assignment::value||std::allocator_traits< Allocator >::is_always_ equal::value);

As per corresponding usage in [basic.string]

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

[SWS_CORE_03085]에 따른 멤버 함수 assign의 이동 오버로드는 우측값 참조 str의 내용을 ara::core::BasicString의 기존 인스턴스에 동기식으로 할당합니다(헤더 파일 ara/core/string.h에 선언됨). 이 함수는 호출 객체에 대한 참조(*this)를 반환합니다. 기능적 동작은 C++ 표준의 [basic.string]에 있는 해당 정의를 따릅니다.

오류 및 예외 처리와 관련하여 메서드는 조건부 예외 안전(conditionally exception safe)으로 선언되어 있습니다 [SWS_CORE_03085]. 할당자가 이동 할당을 전달하거나(propagate_on_container_move_assignment::value) 할당자 인스턴스가 항상 동일한 것으로 간주되는 경우(is_always_equal::value)에만 noexcept에 따라 예외 발생이 배제됩니다. 범위 또는 길이 초과 시 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation과 같은 특정 위반을 발생시키고 예외 안전하지 않은 것으로 간주되는 [SWS_CORE_03086] 또는 [SWS_CORE_03088]와 같은 다른 할당 함수와 달리, 이 작업은 별도의 AUTOSAR Violation을 정의하지 않습니다.

BasicString::assign의 대체 오버로드(예: [SWS_CORE_03084]에 따른 상수 좌측값 참조, [SWS_CORE_03087]를 통한 뷰 또는 [SWS_CORE_03089]에 따른 문자열 버퍼)와의 상호 작용에서 우측값 변형은 메모리 재할당 없이 리소스 효율적인 할당을 가능하게 합니다. 해석: 전달 후 소스 객체 str는 [basic.string]에 따른 이동 연산에서 일반적이듯이 유효하지만 지정되지 않은 상태로 남을 것으로 보입니다. 질문 Q-88c8157963cdd7e0 (열림)

이 텍스트는 AI에 의해 생성되었으며 가이드 역할을 합니다. 참조된 AUTOSAR 사양이 표준입니다.

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

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

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

함수 assign [SWS_CORE_03086]

BasicString & assign (const BasicString &str, size_type pos, size_type n=npos);

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

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

헤더 ara/core/string.h을(를) 통해 제공되는 ara::core::BasicString 클래스([SWS_CORE_03086])의 멤버 함수 assign은(는) 전달된 소스 문자열 str의 일부분을 현재 인스턴스에 동기적으로 할당합니다. 이 호출은 소스 참조 str 외에도 시작 인덱스 pos 및 선택적으로 문자 수 n을(를) 수신하며, 문자 수에 대해서는 기본값으로 npos이(가) 정의되어 있습니다. 할당 후 수정된 객체(*this)에 대한 참조가 반환됩니다. 이때 기능적 시맨틱은 기본적으로 [basic.string]([SWS_CORE_03086])의 요구 사항에 해당합니다.

오류 처리에서는 ISO C++ 표준에 대해 명시적인 편차가 존재합니다: 조건 pos > str.size()이(가) 충족되는 경우 std::out_of_range이(가) 트리거되지 않고 IsoStdOutOfRangeViolation이(가) 발생합니다([SWS_CORE_03086]). 또한 이 함수는 사양에서 명시적으로 예외에 안전하지 않음(not exception safe)으로 분류되어 있습니다([SWS_CORE_03086]).

ara::core::BasicString의 할당 메서드 조합에서 이 부분 문자열 오버로드는 완전한 문자열 할당([SWS_CORE_03084]), 조건부 예외 안전 이동 할당([SWS_CORE_03085]), StringView으로부터의 할당([SWS_CORE_03087]), 그리고 문자 버퍼([SWS_CORE_03088]) 또는 반복자 범위([SWS_CORE_03091])를 사용하는 작업을 보완합니다.

이 텍스트는 AI에 의해 생성되었으며 공식 사양을 대체하지 않습니다.

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

함수 assign [SWS_CORE_03087]

BasicString & assign (StringView sv);

As per corresponding usage in [basic.string]

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

사용

StringView을(를) 위한 멤버 함수 assign([SWS_CORE_03087])은(는) ara::core::BasicString 인스턴스의 내용을 전달된 문자열 뷰의 문자로 동기적으로 대체합니다. 시맨틱은 C++ 표준 라이브러리의 [basic.string]에 있는 해당 정의를 따릅니다. 반환값으로 함수는 수정된 대상 객체(BasicString &)에 대한 참조를 제공하므로 연속적인 메서드 호출의 체이닝이 가능합니다. 선언은 헤더 파일 #include "ara/core/string.h"을(를) 통해 제공됩니다.

오류 처리 및 예외 안전성

이 함수는 사양에서 not exception safe로 표시되어 있습니다([SWS_CORE_03087]). 해석: 할당을 위해 내부 버퍼 용량의 확장이 필요하고 이 메모리 할당이 실패하는 경우, 인스턴스의 변경되지 않은 상태에 대한 보장 없이 예외가 발생할 것으로 추정됩니다. 질문 (열림)

동시성 및 제약사항

해석: ara::core::BasicString의 동일한 인스턴스에 대한 assign 호출은 스레드 안전하지 않으며, 여러 스레드에서 동시에 읽기 또는 쓰기 액세스가 발생하는 경우 외부 동기화가 필요합니다. 질문 Q-12774d6cd363b032 (열림)

상호 작용

이 함수는 타입 안전 뷰를 통해 ara::core::BasicString의 할당 범위를 보완합니다. 이 함수는 복사 및 이동 할당([SWS_CORE_03084], [SWS_CORE_03085]), 부분 문자열([SWS_CORE_03086]), 문자 데이터에 대한 포인터([SWS_CORE_03088], [SWS_CORE_03089]), 문자 반복([SWS_CORE_03090]), 반복자 범위([SWS_CORE_03091]) 및 초기화 리스트([SWS_CORE_03092])를 위한 오버로드와 함께 존재합니다.

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

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

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

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

함수 assign [SWS_CORE_03088]

BasicString & assign (const value_type *s, size_type n);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type 2. if ( n > max_size() ) IsoStdLengthErrorViolation is raised instead of std:: length_error

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

사용

ara::core::BasicString 클래스의 멤버 함수 assign은(는) const value_type* 타입의 전달된 문자 배열 s에서 처음 n개 문자를 현재 문자열 인스턴스에 동기적으로 할당하고 수정된 객체(*this)에 대한 참조를 반환합니다[SWS_CORE_03088]. 기능적 동작은 기본적으로 [basic.string]에 따른 정의에 해당하며, 이때 AUTOSAR는 제네릭 매개변수 타입 charT을(를) value_type(으)로 대체합니다[SWS_CORE_03088].

오류 처리 및 제약 조건

이 할당은 예외에 안전하지 않음(not exception safe)으로 명시되어 있습니다[SWS_CORE_03088]. 지정된 길이 n이(가) 표현 가능한 최대 크기 max_size()을(를) 초과하는 경우(n > max_size()), 함수는 std::length_error 대신 AUTOSAR 위반 IsoStdLengthErrorViolation을(를) 트리거합니다[SWS_CORE_03088]. 해석: 사양에 별도의 버퍼 검사가 정의되어 있지 않으므로, 호출자는 s이(가) 최소 n개의 유효한 문자를 가리키도록 보장해야 할 것으로 추정됩니다. 질문 Q-290c36db79f27a0a (열림)

상호 작용

이 함수는 주로 널 종료되지 않은 버퍼나 배열의 일부분에 적합합니다. 이 함수는 길이가 암시적으로 결정되는 오버로드 assign(const value_type* s) [SWS_CORE_03089]을(를) 보완합니다. ara::core::BasicString의 클래스 조합에는 복사[SWS_CORE_03084] 또는 이동[SWS_CORE_03085]을 통해 기존 문자열을 인수하기 위한, 인덱스 검사를 수반하는 부분 문자열 할당을 위한[SWS_CORE_03086], StringView으로부터의 인수를 위한[SWS_CORE_03087] 추가적인 할당 오버로드와 문자 반복[SWS_CORE_03090], 반복자 범위[SWS_CORE_03091] 및 초기화 리스트[SWS_CORE_03092]를 위한 추가적인 할당 오버로드가 존재합니다.

이 텍스트는 AI에 의해 작성되었으며 AUTOSAR 릴리스 R25-11의 사양 데이터에만 기반합니다.

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception safe
Verletzungen (Violations)IsoStdLengthEr- Description as per std::length_error rorViolation

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

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

함수 assign [SWS_CORE_03089]

BasicString & assign (const value_type *s);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

헤더 ara/core/string.h에 정의된 클래스 ara::core::BasicString의 동기식 멤버 함수 assign([SWS_CORE_03089])은(는) 문자열 객체의 현재 내용을 const value_type* 유형의 전달된 문자 시퀀스 s(으)로 대체합니다. 이 호출은 수정된 객체에 대한 참조(*this)를 반환합니다. 기능적 동작은 문자 유형 charT이(가) value_type(으)로 대체되었다는 문서화된 차이점과 함께 [basic.string]에 대한 ISO C++ 표준의 사양을 따릅니다([SWS_CORE_03089]). 해석: 별도의 길이 매개변수가 없으므로 포인터 s은(는) 널 종료 문자 배열을 가리킬 것으로 보입니다. 질문 Q-eea79e929750c27f (열림)

오류 처리 및 견고성과 관련하여 이 할당 함수는 예외 안전하지 않은 것(not exception safe)(으)로 분류되어 있습니다([SWS_CORE_03089]). assign(const BasicString&, size_type, size_type)([SWS_CORE_03086]) 또는 assign(const value_type*, size_type)([SWS_CORE_03088])와(과) 같은 관련 오버로드와 달리 이 변형에는 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation과(과) 같은 특정 런타임 위반이 정의되어 있지 않습니다.

모듈 core에서 이 함수는 내용 할당을 위한 광범위한 오버로드 패밀리의 일부입니다. 이는 원시 포인터 외에도 완전한 문자열([SWS_CORE_03084]), 이동 의미 체계([SWS_CORE_03085]), StringView 인스턴스([SWS_CORE_03087]), 반복되는 단일 문자([SWS_CORE_03090]), 반복자 범위([SWS_CORE_03091]) 및 초기화자 목록([SWS_CORE_03092])을 다룹니다. AUTOSAR는 ara::core::Vector([SWS_CORE_01328])과(과) 같은 컨테이너 유형에서도 유사한 할당 패턴을 제공합니다.

이 텍스트는 AI에 의해 작성되었습니다. 모든 정보는 AUTOSAR 사양을 기반으로 합니다.

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

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

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

함수 assign [SWS_CORE_03090]

BasicString & assign (size_type n, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

클래스 ara::core::BasicString의 멤버 함수 assign(#include "ara/core/string.h"에 정의됨)은(는) 문자열의 현재 내용을 value_type 유형의 문자 c의 n개 연속 복사본으로 동기식으로 대체합니다 [SWS_CORE_03090]. 의미 체계는 유형 매개변수 charT이(가) value_type(으)로 대체된다는 차이점을 제외하고 [basic.string]에 대한 정의와 일치합니다 [SWS_CORE_03090]. 반환 값으로 이 함수는 수정된 인스턴스에 대한 lvalue 참조(*this)를 반환하므로 추가 작업의 연결이 가능합니다.

오류 처리 및 예외 안전성

이 작업은 사양에 따라 명시적으로 not exception safe로 분류되어 있습니다 [SWS_CORE_03090]. 경계 초과 시 IsoStdOutOfRangeViolation [SWS_CORE_03086] 또는 IsoStdLengthErrorViolation [SWS_CORE_03088]와(과) 같은 정의된 위반을 발생시키는 다른 오버로드와 달리, 이 함수는 특정 위반을 명시하지 않습니다. 필요한 메모리 할당이 실패할 경우 이전 객체 상태의 지속에 대한 어떠한 보장도 존재하지 않습니다.

동시성 및 제약사항

할당이 내부 버퍼를 직접 수정하고 내부 동기화가 지정되어 있지 않으므로, 동일한 인스턴스에 대한 여러 스레드의 동시 접근은 스레드 안전하지 않을 것으로 보입니다(해석). 질문 Q-50f419c4bca5c151 (열림) 병렬 호출은 호출자에 의해 외부에서 조정되어야 합니다.

상호 작용

이 함수는 복사 및 이동 할당 [SWS_CORE_03084], [SWS_CORE_03085] 그리고 반복자 및 초기화자 목록 [SWS_CORE_03091], [SWS_CORE_03092] 외에도 문자열 뷰용 인터페이스를 제공하는 ara::core::BasicString의 할당 포트폴리오를 보완합니다 [SWS_CORE_03087]. 반복 횟수가 있는 유사한 할당 패턴이 ara::core::Vector::assign에 대해서도 유사하게 존재합니다 [SWS_CORE_01329].

이 사용 참고사항은 AUTOSAR Adaptive R25-11 명세를 기반으로 자동 생성되었습니다.

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

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

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

함수 assign [SWS_CORE_03091]

template <class InputIterator> BasicString & assign (InputIterator first, InputIterator last);

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 템플릿 멤버 함수 assign은 [basic.string] [SWS_CORE_03091]의 사양에 따라 문자열의 내용을 [first, last) 범위의 요소로 동기식 교체합니다. 매개변수로 두 개의 입력 반복자를 기대하며 반환값으로 수정된 인스턴스에 대한 참조(BasicString&)를 제공합니다 [SWS_CORE_03091].

오류 안전성과 관련하여 이 함수는 명시적으로 not exception safe로 선언되어 있습니다 [SWS_CORE_03091]. IsoStdOutOfRangeViolation [SWS_CORE_03086] 또는 IsoStdLengthErrorViolation [SWS_CORE_03088]와 같은 특정 오류 검사가 지정된 다른 오버로드와 달리 사양은 이 반복자 범위에 대해 별도의 Violation을 지정하지 않습니다. 할당 중에 메모리 할당 오류가 발생하면 예외 보장이 존재하지 않습니다.

재진입성 및 동시성에 대해 사양은 명시적인 언급을 하지 않습니다. 동일한 BasicString 인스턴스에 대해 여러 스레드의 경쟁적인 읽기 또는 쓰기 접근이 발생하는 경우 이 함수는 스레드 안전하지 않을 것으로 보이며 애플리케이션 측의 동기화가 필요합니다. 질문 Q-1c5502b72f566eda (열림)

모듈에서 이 인터페이스는 복사 할당 [SWS_CORE_03084], 조건부 예외 안전 이동 할당 [SWS_CORE_03085] 및 StringView [SWS_CORE_03087]과 std::initializer_list [SWS_CORE_03092]를 통한 할당을 위한 할당 연산자 및 오버로드를 보완합니다. AUTOSAR Adaptive는 ara::core::Vector에 대해서도 동등한 반복자 할당을 제공합니다 [SWS_CORE_01328].

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 합니다.

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

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

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

함수 assign [SWS_CORE_03092]

BasicString & assign (std::initializer_list< value_type >);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

헤더 파일 ara/core/string.h에 정의된 ara::core::BasicString 클래스([SWS_CORE_03092])의 동기 멤버 함수 assign은 호출 인스턴스의 기존 내용을 전달된 std::initializer_list<value_type>의 값으로 대체합니다. 기능적 동작은 C++ 표준 타입 charT이 value_type로 대체되었다는 유일한 특정 편차([SWS_CORE_03092])를 제외하고는 ISO C++ 표준의 [basic.string]에 대한 규정을 완전히 따릅니다. 성공적인 대입 후 메서드는 수정된 BasicString 객체 자체에 대한 참조를 반환합니다([SWS_CORE_03092]).

실행에 대해서는 not exception safe 분류가 적용됩니다([SWS_CORE_03092]). 오류 발생 시 이 오버로드에 대해 특정 DET 또는 DEM 메시지나 별도의 AUTOSAR 위반은 정의되어 있지 않습니다. 이는 유효하지 않은 위치에서 IsoStdOutOfRangeViolation을 발생시키는 [SWS_CORE_03086]나, max_size() 초과 시 IsoStdLengthErrorViolation으로 반응하는 [SWS_CORE_03088]와 같은 관련 오버로드와 이 함수를 구분 짓습니다.

ara::core::BasicString의 전체 시스템 내에서 이 함수는 대체 대입 인터페이스들과 밀접한 관련이 있습니다. 여기에는 일반 복사 대입([SWS_CORE_03084]), 조건부 예외 안전 이동 대입([SWS_CORE_03085]), StringView을 통한 대입([SWS_CORE_03087]), 포인터([SWS_CORE_03089]), 단일 문자 반복([SWS_CORE_03090]) 또는 반복자 범위([SWS_CORE_03091])가 포함됩니다. 또한 시퀀스 컨테이너 ara::core::Vector도 [SWS_CORE_01330]를 통한 초기화 리스트에 대해 동일한 디자인 패턴을 따릅니다.

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

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

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

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

함수 assign [SWS_CORE_03306]

template <class T> BasicString & assign (const T &t, size_type pos, size_type n=npos);

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

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

클래스 ara::core::BasicString의 템플릿 멤버 함수 assign은(는) 위치 pos부터 최대 n개 문자의 길이를 갖는 객체 t의 부분 시퀀스를 인스턴스에 할당하고, 해당 객체에 대한 참조를 반환합니다 [SWS_CORE_03306]. 이 함수는 헤더 ara/core/string.h에 정의되어 있으며, [basic.string]의 동작을 따릅니다 [SWS_CORE_03306].

오류 처리와 관련하여 특정한 편차가 적용됩니다. pos > sv.size()이(가) 참인 경우, std::out_of_range 대신 IsoStdOutOfRangeViolation이(가) 발생합니다 [SWS_CORE_03306]. 이 함수는 예외 안전하지 않음(not exception safe)으로 분류됩니다 [SWS_CORE_03306].

제한 사항 및 관련 인터페이스와의 상호 작용:

  • 해석: 스레드 안전성이 명시되어 있지 않으므로, 외부 동기화 없이 동일한 인스턴스에 동시에 읽기 및 쓰기 접근을 수행하는 것은 스레드 안전하지 않을 것으로 추정됩니다. 질문 Q-a909f00530d3ada1 (열림)
  • 다른 BasicString의 부분 시퀀스를 할당하는 것은 IsoStdOutOfRangeViolation과(와) 함께 동일한 오류 시맨틱을 따릅니다 [SWS_CORE_03086].
  • ara::core::BasicString의 다른 변형을 통해 StringView [SWS_CORE_03087] 또는 문자 배열 [SWS_CORE_03088]을(를) 할당할 수 있으며, 후자의 경우 길이가 초과되면 IsoStdLengthErrorViolation을(를) 발생시킵니다 [SWS_CORE_03088].

이 텍스트는 AUTOSAR 사양을 기반으로 AI에 의해 생성되었습니다.

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception 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_03306
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03306@rel:R25-11#30a6e6b9
Content hash
30a6e6b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03306
Status: valid/unmigrated Version: rel:R25-11#6d44c82a Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03306@rel:R25-11#6d44c82a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#79fe763c2026-09-30
  • R19-11rel:R19-11#861a90ae2026-10-14
  • R20-11rel:R20-11#d8e748762026-10-14
  • R21-11rel:R21-11#63bad1582026-10-14
  • R22-11rel:R22-11#e94346be2026-10-14
  • R23-11rel:R23-11#9494256b2026-10-14
  • R24-11rel:R24-11#f1c581ec2026-10-14
  • R25-11rel:R25-11#6d44c82a2026-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_03063]

const_reference at (size_type pos) const;

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

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

클래스 ara::core::BasicString([SWS_CORE_03063], 헤더 ara/core/string.h에 선언됨)의 멤버 함수 at은 pos 위치의 문자에 대한 동기식 읽기 직접 액세스를 제공합니다. 반환값으로 주소 지정된 요소에 대한 const_reference가 반환됩니다.

기능적 동작은 원칙적으로 [basic.string]에 따른 C++ 표준을 따르지만 오류 처리에서 차이가 있습니다. 유효한 범위를 벗어난 인덱스(pos >= size())의 경우, 이 함수는 std::out_of_range 대신 IsoStdOutOfRangeViolation를 발생시킵니다 [SWS_CORE_03063]. 예외 안전성과 관련하여 이 함수는 명시적으로 not exception safe로 분류됩니다 [SWS_CORE_03063].

스레드 안전성에 대한 제약 조건은 문서화되어 있지 않습니다. 해석: 동일한 인스턴스에 대한 동시 쓰기 작업이 발생하지 않는 한 상수 읽기 액세스는 재진입 가능할 것으로 추정됩니다. 이 메서드에 대응하는 수정 작업은 비상수 오버로드인 reference at(size_type pos)입니다 [SWS_CORE_03064]. 범위 위반 시 IsoStdOutOfRangeViolation를 사용하는 동일한 오류 개념은 ara::core::Vector([SWS_CORE_01354], [SWS_CORE_01355])뿐만 아니라 ara::core::StringView([SWS_CORE_02133]) 및 ara::core::Array([SWS_CORE_01273], [SWS_CORE_01274])을 비롯한 다른 핵심 컨테이너에서도 사용됩니다. 질문 Q-bda65b88abb531ce (열림)

이 텍스트는 AUTOSAR Adaptive R25-11 명세를 기반으로 AI에 의해 생성되었습니다.

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

함수 at [SWS_CORE_03064]

reference at (size_type pos);

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

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

헤더 #include "ara/core/string.h"([SWS_CORE_03064])을(를) 통해 제공되는 ara::core::BasicString 클래스([SWS_CORE_03064])의 멤버 함수 at은(는) 위치 pos의 문자에 대한 동기 접근을 부여하고 수정 가능한 참조(reference)를 반환합니다([SWS_CORE_03064]). 기본 의미 체계는 표준 [basic.string]([SWS_CORE_03064])을(를) 따릅니다.

오류 처리와 관련하여 이 구현은 의도적으로 C++ 표준과 다릅니다. 조건 pos >= size()이(가) 충족되면 std::out_of_range 예외 대신 위반 IsoStdOutOfRangeViolation이(가) 트리거됩니다([SWS_CORE_03064]). 이 함수는 not exception safe로 분류됩니다([SWS_CORE_03064]). 해석: 범위 위반이 발생하면 AUTOSAR 런타임 시스템에서 종료되거나 AddAbortHandler([SWS_CORE_00054])을(를) 통해 등록된 오류 루틴이 호출될 가능성이 높습니다. 질문 Q-91f3adeb10b4ec67 (열림)

동시성 및 경계 조건과 관련하여 이 작업에 대한 스레드 안전성은 선언되어 있지 않습니다([SWS_CORE_03064]). 해석: 문자열에 대한 수정 접근이 발생하므로 동일한 인스턴스에 대한 병렬 호출에는 외부 동기화가 필요할 것으로 보입니다. 질문 Q-d5ec3710f4b8e525 (열림)

상수 인스턴스에 대한 읽기 접근을 위해 오버로드 const_reference at(size_type pos) const([SWS_CORE_03063])을(를) 사용할 수 있습니다. IsoStdOutOfRangeViolation을(를) 통한 범위 초과 시의 동작은 ara::core::Vector([SWS_CORE_01355]), ara::core::Array([SWS_CORE_01273]), ara::core::Map([SWS_CORE_01456]) 및 ara::core::StringView([SWS_CORE_02133])에 명시된 바와 같이 Core 타입의 일관된 패턴을 따릅니다.

이 텍스트는 AUTOSAR 페이로드를 기반으로 AI에 의해 생성되었습니다.

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

함수 back [SWS_CORE_03067]

reference back ();

As per corresponding usage in [basic.string]

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

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

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

함수 back [SWS_CORE_03068]

const_reference back () const;

As per corresponding usage in [basic.string]

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

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

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

함수 begin [SWS_CORE_03039]

iterator begin () noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 begin [SWS_CORE_03040]

const_iterator begin () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 c_str [SWS_CORE_03069]

const value_type * c_str () const noexcept;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

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

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

함수 capacity [SWS_CORE_03055]

size_type capacity () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 cbegin [SWS_CORE_03047]

const_iterator cbegin () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 cend [SWS_CORE_03048]

const_iterator cend () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 clear [SWS_CORE_03057]

void clear () noexcept;

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 멤버 함수 clear은 [basic.string] [SWS_CORE_03057]의 해당 사용법에 따라 문자열 인스턴스의 내용을 비우는 역할을 합니다. 이 함수는 헤더 파일 #include "ara/core/string.h"을 통해 포함됩니다 [SWS_CORE_03057].

사용

이 작업은 void clear () noexcept; 시그니처를 가지며, 매개변수를 받지 않고 반환값이 없습니다 [SWS_CORE_03057]. 호출은 해당 인스턴스에서 동기식으로 발생합니다. 해석: [basic.string]의 참조된 시맨틱을 고려할 때, 이 함수는 포함된 모든 문자를 제거하고 문자열의 길이를 0으로 재설정할 것으로 추정됩니다. 질문 Q-242b714c4fead3cf (열림)

오류 처리

이 함수는 예외 안전(exception safe)으로 분류되며 지정자 noexcept으로 선언되어 있습니다 [SWS_CORE_03057]. C++ 예외는 발생하지 않습니다. 이 함수에 대해 특정 오류 코드, DET 또는 DEM 보고는 지정되어 있지 않습니다 [SWS_CORE_03057].

상호 작용

core 모듈에서 컨테이너 비우기는 통일된 설계 패턴을 따릅니다. 동일한 시맨틱과 시그니처는 ara/core/vector.h의 ara::core::Vector::clear [SWS_CORE_01375] 및 ara/core/map.h의 ara::core::Map::clear [SWS_CORE_01485]에서도 찾을 수 있으며, 이들 역시 동기식이고 매개변수가 없으며 noexcept로 지정되어 있습니다 [SWS_CORE_03057] [SWS_CORE_01375] [SWS_CORE_01485].

이 텍스트는 AUTOSAR 사양을 기반으로 AI에 의해 생성되었습니다.

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

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

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

함수 compare [SWS_CORE_03321]

int compare (StringView sv) const noexcept;

As per corresponding usage in [basic.string]

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

사용

클래스 ara::core::BasicString([SWS_CORE_03321])의 멤버 함수 compare은(는) 전달된 StringView sv과(와) 문자열 내용을 동기적이고 사전식으로 비교하는 데 사용됩니다. 기능적 시맨틱은 C++ 표준 구조체 [basic.string]([SWS_CORE_03321])를 따릅니다. 해석: int 타입의 반환값은 문자열이 사전식으로 sv보다 앞에 위치하는 경우 음수이고, 동일한 경우 정확히 0이며, sv보다 뒤에 위치하는 경우 양수입니다. 질문 (열림)

오류 처리 및 예외 안전성

이 메서드는 noexcept(으)로 선언되어 있으며, 예외 안전(exception safe)으로 지정되어 있습니다([SWS_CORE_03321]). 예외를 던지지 않으며, 오류 코드를 통해서도, DET 또는 DEM 메커니즘을 통해서도 오류를 보고하지 않습니다.

동시성 및 제약사항

인스턴스 상태에 대한 수정 부작용이 없는([SWS_CORE_03321]) 상수 작업(const)이므로, 경합하는 쓰기 접근이 발생하지 않는 한 여러 실행 컨텍스트에서의 동시 읽기 호출은 스레드 안전할 것으로 추정됩니다(해석). 질문 (열림)

상호 작용

ara::core의 ErrorCode([SWS_CORE_00571]) 또는 Result([SWS_CORE_00780])과 같은 많은 데이터 타입이 불리언 동등성 연산자를 사용하는 반면, compare([SWS_CORE_03321])은(는) Map::value_compare([SWS_CORE_01423])과 같은 비교 객체의 기준에 필적하는 3방향 순서 검사를 가능하게 합니다.

이 텍스트는 AI에 의해 생성되었으며 사양 요소에 대한 사용 지침 역할을 합니다.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03321
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03321@rel:R25-11#eeaf88a5
Content hash
eeaf88a5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03321
Status: valid/unmigrated Version: rel:R25-11#d1d61e02 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03321@rel:R25-11#d1d61e02
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8ce75f1e2026-09-30
  • R19-11rel:R19-11#35f025472026-10-14
  • R20-11rel:R20-11#8780c3062026-10-14
  • R21-11rel:R21-11#ca37f6cf2026-10-14
  • R22-11rel:R22-11#21ef93772026-10-14
  • R23-11rel:R23-11#93a063862026-10-14
  • R24-11rel:R24-11#50ef39672026-10-14
  • R25-11rel:R25-11#d1d61e022026-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_03322]

int compare (size_type pos1, size_type n1, StringView sv) const;

As per corresponding usage in [basic.string]

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

클래스 ara::core::BasicString의 멤버 함수 compare은(는) 부분 문자열과 문자열 뷰([SWS_CORE_03322]) 간의 동기적 사전식 비교를 지원합니다.

사용법 및 매개변수

이 메서드는 ara::core::BasicString의 인스턴스에서 동기적으로 호출됩니다([SWS_CORE_03322]). 시그니처에 따라 다음 매개변수를 받습니다:

시맨틱은 [basic.string]의 해당 사용법을 따릅니다([SWS_CORE_03322]). int 타입의 반환값은 일치할 경우 0이 되고, 사전식 편차가 있을 경우 각각 음수 또는 양수 값을 가질 것으로 추정됩니다. 질문 Q-15a8b7e331f5f518 (열림)

오류 처리 및 제한 사항

예외 처리와 관련하여, 이 함수는 not exception safe로 분류됩니다([SWS_CORE_03322]). 특정 오류 코드 및 DET 또는 DEM과 같은 메커니즘은 사양에 명시되어 있지 않습니다. const 한정자가 지정된 멤버 함수로서, 이 호출은 인스턴스의 상태를 변경하지 않습니다([SWS_CORE_03322]). 스레드 안전성이나 재진입성에 대해 페이로드에는 명시적인 정보가 포함되어 있지 않습니다.

상호 작용

이 함수는 헤더 ara/core/string.h을(를) 통해 제공되며, ErrorCode([SWS_CORE_00571]) 또는 Result([SWS_CORE_00780]) 등에 대해 정의된 것과 같이 네임스페이스 ara::core의 형식화된 비교 연산 범위를 보완합니다.

이 사용 지침은 core 모듈(릴리스 R25-11)의 사양을 기반으로 자동 작성되었습니다.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03322
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03322@rel:R25-11#6c381689
Content hash
6c381689
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03322
Status: valid/unmigrated Version: rel:R25-11#b09a7e38 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03322@rel:R25-11#b09a7e38
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a54addf22026-09-30
  • R19-11rel:R19-11#d75e45392026-10-14
  • R20-11rel:R20-11#74b8bdd52026-10-14
  • R21-11rel:R21-11#1eaae95f2026-10-14
  • R22-11rel:R22-11#c7bb44272026-10-14
  • R23-11rel:R23-11#457386952026-10-14
  • R24-11rel:R24-11#0a376bc42026-10-14
  • R25-11rel:R25-11#b09a7e382026-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_03323]

template <typename T> int compare (size_type pos1, size_type n1, const T &t, size_type pos2, size_type n2=npos) const;

As per corresponding usage in [basic.string]

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

사용

클래스 ara::core::BasicString([SWS_CORE_03323], 헤더 ara/core/string.h)의 템플릿 멤버 함수 compare은(는) 현재 인스턴스의 하위 섹션과 전달된 객체 t의 하위 범위를 동기적이고 사전식으로 비교하는 데 사용됩니다. 동작은 C++ 표준의 [basic.string] 정의를 따릅니다 [SWS_CORE_03323]. 매개변수 pos1 및 n1은(는) 호출 인스턴스 하위 범위의 시작 위치와 길이를 결정하며, pos2 및 n2은(는) 비교할 t의 섹션을 지정합니다.

반환값은 관계 순서를 나타내는 부호 있는 int 값 [SWS_CORE_03323]입니다. 자체 부분 문자열이 선행하면 0보다 작고, 일치하면 0이며, 후행하면 0보다 큽니다.

오류 처리 및 제약 조건

오류 처리와 관련하여, 이 함수는 not exception safe로 지정되어 있습니다 [SWS_CORE_03323]. 이 작업에 대한 AUTOSAR 고유의 오류 코드, DET 또는 DEM 메시지는 존재하지 않습니다. 해석: 예외 처리가 부재하므로 유효하지 않은 범위 매개변수는 정의되지 않은 동작으로 이어질 것으로 추정되므로, 호출자는 사전에 인덱스가 유효한지 확인해야 합니다. 질문 Q-ae28f07a1f86f827 (열림)

상호 작용

이 메서드는 const(으)로 선언되어 있습니다 [SWS_CORE_03323]. ErrorCode([SWS_CORE_00571]) 또는 Result([SWS_CORE_00780])의 operator==와(과) 같은 기본 연산자가 순수 불리언 동등성을 검사하는 반면, compare은(는) 하위 범위에 대한 3방향 순서 관계를 제공합니다.

이 사용 지침은 릴리스 R25-11용 AUTOSAR Adaptive 사양을 기반으로 합니다.

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03323
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03323@rel:R25-11#1d2d7a7f
Content hash
1d2d7a7f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03323
Status: valid/unmigrated Version: rel:R25-11#053e2363 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03323@rel:R25-11#053e2363
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2fc0c4ce2026-09-30
  • R19-11rel:R19-11#1299c99a2026-10-14
  • R20-11rel:R20-11#49b818ff2026-10-14
  • R21-11rel:R21-11#829bdb6e2026-10-14
  • R22-11rel:R22-11#b98e935f2026-10-14
  • R23-11rel:R23-11#6fe6e5ba2026-10-14
  • R24-11rel:R24-11#6a276da32026-10-14
  • R25-11rel:R25-11#053e23632026-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_03346]

int compare (const BasicString &str) const noexcept;

As per corresponding usage in [basic.string]

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

클래스 ara::core::BasicString([SWS_CORE_03346])의 멤버 함수 compare은(는) 문자열과 BasicString 타입의 또 다른 인스턴스 str 간의 동기적, 사전식 비교에 사용됩니다. 시맨틱은 [basic.string]의 표준화된 사용법을 따릅니다([SWS_CORE_03346]). 해석: 따라서 반환되는 정수 값 int은(는) 두 문자열이 일치하는 경우 0이어야 하며, 호출 인스턴스가 매개변수 str보다 사전식으로 각각 앞서거나 뒤서는 경우 0보다 작거나 클 것으로 추정됩니다. 질문 (열림)

오류 처리 및 예외 안전성과 관련하여, 이 함수는 noexcept(으)로 선언되어 있으며 명시적으로 exception safe(으)로 분류되어 있습니다([SWS_CORE_03346]). 특정 오류 코드, 오류 신호용 반환값 또는 DET/DEM 메시지는 존재하지 않습니다. 비교 시 예외가 발생하지 않으므로 정상적인 실행 흐름에서는 작업 실패가 배제됩니다.

const 한정자가 지정된 메서드로서, 이 함수는 객체의 상태를 수정하지 않습니다. 해석: 사양에 스레드 안전성에 대한 명시적인 언급이 없으므로, 동일 인스턴스에 대한 여러 스레드의 동시 읽기 접근은 안전할 것으로 추정되나, 동시 수정 작업은 외부에서 동기화되어야 합니다. 질문 Q-6a47db8a35fa6c73 (열림)

전체 ara::core 시스템에서 이 함수는 관계형 비교 작업의 일부를 구성하며, 이는 ErrorDomain의 [SWS_CORE_00137], ErrorCode의 [SWS_CORE_00571], Result의 [SWS_CORE_00780]에서와 같이 다른 핵심 타입에 대해 부분적으로 동등성 연산자를 통해 제공됩니다.

이 텍스트는 AI에 의해 작성되었으며 AUTOSAR 사양 R25-11을 기반으로 합니다.

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

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

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

함수 compare [SWS_CORE_03347]

int compare (size_type pos1, size_type n1, const BasicString &str) const;

As per corresponding usage in [basic.string]

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

사용

클래스 ara::core::BasicString의 멤버 함수 compare은(는) 호출 인스턴스의 정의된 부분 문자열을 BasicString 타입의 다른 인스턴스와 동기적으로 비교합니다 [SWS_CORE_03347]. 포함을 위해 헤더 ara/core/string.h이(가) 사용됩니다. 매개변수 pos1 및 n1을(를) 통해 비교할 문자의 시작 위치와 최대 개수를 결정하며, str은(는) 비교 문자열을 참조합니다. 반환은 사전식 순서를 나타내는 정수 값(int)(으)로 이루어집니다. 0보다 작은 값은 자체 부분 세그먼트가 str보다 앞에 있음을 의미하고, 값 0은 일치를 나타내며, 0보다 큰 값은 뒤에 위치함을 나타냅니다.

오류 처리 및 예외 안전성

사양에서 이 함수는 명시적으로 not exception safe로 선언되어 있습니다 [SWS_CORE_03347]. 이 함수에 대한 특정 오류 코드, ara::core::Result과(와) 같은 AUTOSAR 반환 타입 또는 DET/DEM 메시지는 존재하지 않습니다. 동작이 ISO C++ 조항 [basic.string]을(를) 따르므로, 현재 문자열 길이보다 큰 시작 위치 pos1은(는) 범위 초과로 인한 예외를 유발할 것으로 추정됩니다. 질문 Q-ad43b26dc523e0dc (열림)

동시성 및 제약사항

const 한정자가 지정된 메서드로서, compare은(는) 자체 문자열의 상태를 변경하지 않습니다 [SWS_CORE_03347]. 해석: 경합하는 쓰기 접근이 발생하지 않는 한, 동일 객체에 대한 여러 스레드의 동시 읽기 호출은 허용될 것으로 추정됩니다. 질문 Q-ab412b269ca8566f (열림) 동시 수정을 위해서는 호출자가 적절한 동기화를 보장해야 합니다.

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 AI에 의해 생성되었습니다.

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

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

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

함수 compare [SWS_CORE_03348]

int compare (size_type pos1, size_type n1, const BasicString &str, size_type pos2, size_type n2=npos) const;

As per corresponding usage in [basic.string]

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

클래스 ara::core::BasicString([SWS_CORE_03348])의 메서드 compare은(는) 부분 문자열 간의 동기적, 3방향 사전식 비교를 수행합니다. 호출자는 자체 인스턴스(pos1, n1) 및 대상 문자열 str(pos2, n2)의 시작 위치와 최대 길이를 전달합니다. 이때 시맨틱은 ISO C++ 표준 [basic.string]에 따른 std::basic_string::compare의 동작과 완전히 일치합니다.

반환은 int(으)로 이루어지며 다음과 같이 평가됩니다:

  • 자체 부분 문자열이 전달된 문자열보다 사전식으로 선행하는 경우 0보다 작은 값.
  • 두 하위 범위가 동일한 경우 값 0.
  • 자체 부분 문자열이 사전식으로 후행하는 경우 0보다 큰 값.

오류 처리 및 견고성과 관련하여, 사양에 따르면 이 함수는 not exception safe(으)로 선언되어 있습니다([SWS_CORE_03348]). AUTOSAR 고유의 오류 코드나 DET 항목은 존재하지 않습니다. 인덱스 경계 오류의 경우, 예를 들어 pos1 또는 pos2이(가) 각 문자열 길이를 초과하면 C++ 표준 해석에 따라 이 함수는 std::out_of_range과(와) 같은 범위 오류를 발생시킬 것으로 추정됩니다(해석: ISO C++ 표준 시맨틱 적용). 질문 Q-22ed96aecc8f0bec (열림)

이 메서드는 const(으)로 한정되어 있으며([SWS_CORE_03348]) 관련된 인스턴스를 변경하지 않습니다. 명시적인 스레드 안전성이 지정되어 있지는 않지만, 동시 쓰기 작업이 발생하지 않는 한 동일 객체의 동시 읽기는 문제가 되지 않을 것으로 추정됩니다. 질문 Q-eb2bf8c6b3c53505 (열림) ara::core::ErrorCode([SWS_CORE_00571])의 이진 비교 연산자와 달리 compare은(는) 차별화된 정렬 순서를 지원합니다.

이 사용 지침은 AUTOSAR R25-11 명세를 바탕으로 AI에 의해 생성되었습니다.

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

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

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

함수 compare [SWS_CORE_03349]

int compare (const value_type *s) const;

As per corresponding usage in [basic.string]

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

사용

헤더 #include "ara/core/string.h"에 속한 클래스 ara::core::BasicString의 멤버 함수 compare은(는) [basic.string] [SWS_CORE_03349]의 동작에 따른 동기적 사전식 문자열 비교에 사용됩니다. 기본 문자열을 const value_type* 타입의 전달된 문자 시퀀스 s와(과) 비교하고 int 타입의 정수 결과를 반환합니다 [SWS_CORE_03349]. 해석: 매개변수 s은(는) 유효한 널 종료 문자 배열을 가리켜야 할 것으로 추정되며, 반환값은 자체 문자열이 사전식으로 더 작으면 음수, 일치하면 0, 더 크면 양수일 것으로 추정됩니다. 질문 Q-f54a24333329a936 (열림)

오류 처리 및 예외 안전성

사양에서는 이 메서드를 명시적으로 not exception safe로 표시합니다 [SWS_CORE_03349]. No-throw 보장은 존재하지 않으며, 발생하는 오류는 ara::core::ErrorCode과(와) 같은 구조화된 타입을 통해 반환되지 않습니다. DET 또는 DEM 메시지와 같은 특정 플랫폼 오류 메시지는 이 호출에 대해 제공되지 않습니다.

동시성 및 상호 작용

예컨대 ErrorCode [SWS_CORE_00571]을(를) 위한 모듈 core의 스레드 안전한 비교 연산자와 달리, compare에 대해서는 스레드 안전성이 지정되어 있지 않습니다 [SWS_CORE_03349]. 멤버 함수가 const(으)로 선언되어 있으므로, 경합하는 수정이 발생하지 않는 한 동일 인스턴스에 대한 병렬 읽기 접근은 문제가 되지 않을 것으로 추정됩니다. 질문 Q-6c1ddb8ba210dceb (열림) 또한 모듈 core은(는) ErrorDomain [SWS_CORE_00137] 또는 Result [SWS_CORE_00780]과(와) 같은 도메인 및 결과 타입에 대한 비교 연산자를 정의하는 반면, compare은(는) 문자열에 대한 3방향 관계 순서를 특별히 제공합니다.

이 텍스트는 AI에 의해 큐레이팅되었습니다. 모든 정보는 AUTOSAR 표준 릴리스 R25-11의 요구사항을 바탕으로 합니다.

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

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

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

함수 compare [SWS_CORE_03350]

int compare (size_type pos1, size_type n1, const value_type *s) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

클래스 ara::core::BasicString([SWS_CORE_03350])의 멤버 함수 compare은(는) 현재 인스턴스의 부분 문자열을 C 스타일의 널 종료 문자열과 동기적으로 비교합니다. 이 함수는 #include "ara/core/string.h"을(를) 통해 포함됩니다. 매개변수로 시작 인덱스 pos1(size_type 타입), 최대 문자 개수 n1 및 const value_type* 타입의 포인터 s을(를) 받습니다. 반환값은 사전식 순서 관계를 반영하는 정수 int 값입니다([SWS_CORE_03350]).

함수 시맨틱은 charT이(가) value_type(으)로 대체된 점([SWS_CORE_03350])을 제외하고는 [basic.string]의 동작을 따릅니다. 오류 처리를 위한 DET 또는 DEM 메시지와 특정 오류 코드는 정의되어 있지 않습니다. 예외 안전성과 관련하여, 이 함수는 명시적으로 "not exception safe"로 분류됩니다([SWS_CORE_03350]).

동시성과 관련하여, 이 메서드는 const 함수로서 객체의 내부 상태를 수정하지 않습니다. 해석: 경합하는 쓰기 접근이 발생하지 않는 한, 추가적인 동기화 없이 동일 객체에 대한 병렬 읽기 호출이 가능할 것으로 추정됩니다. 질문 Q-31d2135fb294e41b (열림) 호출자는 s이(가) 유효한 문자 배열을 가리키도록 보장해야 합니다.

전체 ara::core 시스템에서 compare은(는) ara::core::ErrorCode([SWS_CORE_00571]) 또는 ara::core::Result([SWS_CORE_00780])에 대한 동등 및 부등 연산자와 유사하게 기본 타입의 비교 메커니즘에 통합되지만, 단순한 연산자와 달리 하위 범위에 대한 차별화된 3방향 평가를 제공합니다.

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

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

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

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

함수 compare [SWS_CORE_03351]

int compare (size_type pos1, size_type n1, const value_type *s, size_type n2) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

[SWS_CORE_03351]에 따른 멤버 함수 compare은(는) ara::core::BasicString의 현재 인스턴스에 대한 부분 시퀀스와 외부 문자 배열 간의 사전식 3방향 비교를 지원합니다. 이 함수는 헤더 파일 #include "ara/core/string.h"을(를) 통해 제공되며 동기적 상수 멤버 함수(const)(으)로 호출됩니다.

시맨틱은 charT이(가) value_type(으)로 대체된 점([SWS_CORE_03351])을 제외하고는 표준 C++ 섹션 [basic.string]의 해당 사용법을 따릅니다. 매개변수는 시작 인덱스 pos1 및 길이 n1을(를) 통해 호출 인스턴스의 비교할 부분 시퀀스를 정의하고, 포인터 s(const value_type* 타입) 및 고려할 문자 개수 n2을(를) 통해 외부 대상 배열을 정의합니다. 반환값은 일치 시 0을 반환하고 사전식 편차가 있을 시 음수 또는 양수 값을 반환하는 정수 값(int)입니다.

오류 안전성과 관련하여, compare은(는) not exception safe로 지정되어 있습니다([SWS_CORE_03351]). 사양에서는 특정 DET 또는 DEM 메시지를 정의하지 않으며, 잘못된 인덱스 또는 메모리 접근 시 발생할 수 있는 모든 오류 상태는 참조된 [basic.string]의 시맨틱에 따라 C++ 예외를 통해 신호될 것으로 추정됩니다. 질문 Q-74c52d9534473bde (열림) 스레드 안전성이 선언되어 있지 않으므로, 동시 쓰기 작업이 발생하는 경우 동일한 문자열에 대한 동시 접근에는 외부 동기화가 필요합니다.

플랫폼의 맥락에서 compare은(는) 기초적인 문자열 처리에 사용되며, ara::core::Result 또는 ara::core::ErrorCode와(과) 같은 다른 핵심 데이터 타입에서 비교 연산자를 통해 구현되는 것과 같이 이를 기반으로 구축되는 비교 및 동등성 검사의 기초를 형성합니다.

이 텍스트는 AI에 의해 작성되었습니다. 의심스러운 경우 AUTOSAR 규정이 우선합니다.

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

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

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

함수 copy [SWS_CORE_03410]

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

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

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

#include "ara/core/string.h" 헤더 파일의 동기 멤버 함수 copy은(는) ara::core::BasicString 클래스에 속합니다([SWS_CORE_03410]). 이 함수는 시작 위치 pos부터 최대 n개의 문자 부분 시퀀스를 대상 메모리 s에 복사합니다. 매개변수 pos은(는) 기본값 0을(를) 가집니다. size_type 타입의 반환값으로 함수는 실제로 기록된 정확한 문자 수를 반환합니다. 동작은 문자 타입 charT이(가) value_type(으)로 대체된다는 차이점을 제외하고 C++ 표준의 [basic.string] 규정을 따릅니다([SWS_CORE_03410]).

오류 처리 및 제약 조건에 대해 다음 요구사항이 적용됩니다:

  • 범위 검사: 지정된 위치가 문자열 끝을 벗어난 경우(pos > size()), 표준 예외 std::out_of_range 대신 IsoStdOutOfRangeViolation이(가) 발생합니다([SWS_CORE_03410]).
  • 예외 안전성: 명세에 따르면 이 연산은 예외에 안전하지 않습니다(not exception safe)([SWS_CORE_03410]).
  • 버퍼 용량: 해석: 인터페이스가 대상 버퍼 크기를 유효성 검사하지 않으므로, 호출자는 s(으)로 지정된 메모리 영역이 기록될 문자에 대해 충분한 용량을 제공하도록 보장해야 합니다. 질문 Q-7aa92ad8a7dff94d (열림)

core 모듈에서 이 함수는 ara::core::StringView의 동명 메서드와 다릅니다([SWS_CORE_02140]). 즉, StringView::copy은(는) noexcept(으)로 선언되고 예외 안전으로 명시된 반면, BasicString::copy은(는) noexcept 보장을 제공하지 않습니다([SWS_CORE_03410]).

이 텍스트는 AUTOSAR Adaptive R25-11의 명세를 기반으로 AI 시스템을 통해 생성되었습니다.

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

함수 crbegin [SWS_CORE_03049]

const_reverse_iterator crbegin () const noexcept;

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 멤버 함수 crbegin은(는) [SWS_CORE_03049]에 따라 문자열의 마지막 요소를 가리키는 상수 역방향 반복자(const_reverse_iterator)를 동기식으로 반환합니다. 이 함수는 전달 매개변수를 받지 않으며 표준 개념 [basic.string]의 해당 사용법을 따릅니다.

이 작업은 exception safe(으)로 명시되어 있고 식별자 noexcept이(가) 지정되어 있어 [SWS_CORE_03049], 런타임에 예외가 발생하지 않습니다. DET 또는 DEM을 통한 오류 로깅 메커니즘 및 특정 오류 코드는 명세에 정의되어 있지 않습니다.

동시성 및 제약 사항과 관련하여, 이것이 수정하지 않는 const 메서드임에 유의해야 합니다. 따라서 동일한 문자열 인스턴스에 대한 동시 읽기 접근은 스레드 안전할 것으로 보입니다. 무효화된 반복자를 방지하기 위해 반복 중에는 인스턴스에 대한 수정 작업을 수행해서는 안 됩니다. 질문 Q-8729e18859784971 (열림)

모듈 core 내에서 이 함수는 다른 컨테이너 및 헬퍼 클래스와의 통일된 의미 체계를 보장합니다:

constexpr(으)로 지정된 Array, Span, StringView의 구현과 달리, BasicString의 crbegin은(는) Vector 및 Map과(와) 마찬가지로 순수 런타임 메서드로 정의됩니다.

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

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

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

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

함수 crend [SWS_CORE_03050]

const_reverse_iterator crend () const noexcept;

As per corresponding usage in [basic.string]

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

사용

ara::core::BasicString 클래스의 멤버 함수 crend은(는) 헤더 #include "ara/core/string.h"를 통해 제공됩니다([SWS_CORE_03050]). 호출은 인스턴스에서 매개변수 없이 동기식으로 수행되며 const_reverse_iterator을(를) 반환합니다. 이 반복자는 첫 번째 문자 바로 앞의 이론적 요소를 가리킴으로써 역방향 반복의 끝을 표시합니다. 이 의미 체계는 [basic.string]([SWS_CORE_03050])에 따른 C++ 표준 라이브러리와 일치합니다.

오류 처리

이 메서드는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)(으)로 명시되어 있습니다([SWS_CORE_03050]). 예외를 발생시키지 않으며, 이 호출에 대해 특정 오류 코드나 DET 또는 DEM에 대한 메시지는 존재하지 않습니다.

동시성 및 제약사항

crend이(가) const(으)로 선언되어 있고 기본 객체를 수정하지 않으므로, 여러 스레드에 걸친 동시 읽기 접근은 동기화 없이도 안전할 것으로 보입니다(해석: 표준 C++ 컨테이너 동작). 질문 Q-7b502a7db77e21c4 (열림) 반면 ara::core::BasicString의 동일한 인스턴스에 대한 동시 쓰기 접근은 수정 작업으로 인해 반복자의 유효성이 손상될 수 있으므로 외부 동기화가 필요합니다.

상호 작용

AUTOSAR Adaptive Core 내에서 crend은(는) 통일된 반복자 개념에 통합됩니다:

  • ara::core::Array([SWS_CORE_01261]) 및 ara::core::Vector([SWS_CORE_01343])은(는) 순차 컨테이너를 위한 동일한 역방향 반복자를 제공합니다.
  • ara::core::Map([SWS_CORE_01451])은(는) 연관 데이터 구조를 위한 해당 반복 한계를 제공합니다.
  • ara::core::Span([SWS_CORE_01979]) 및 ara::core::StringView([SWS_CORE_02127])은(는) 비소유 뷰를 위한 유사한 인터페이스를 구현합니다.

본 사용 지침은 AUTOSAR Adaptive R25-11 명세를 기반으로 자동 작성되었습니다.

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

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

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

함수 data [SWS_CORE_03070]

const value_type * data () const noexcept;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

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

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

함수 data [SWS_CORE_03071]

value_type * data () noexcept;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

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

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

함수 empty [SWS_CORE_03051]

bool empty () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 end [SWS_CORE_03041]

iterator end () noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 end [SWS_CORE_03042]

const_iterator end () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 erase [SWS_CORE_03102]

BasicString & erase (size_type pos=0, size_type n=npos);

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

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

ara::core::BasicString 클래스([SWS_CORE_03102], #include "ara/core/string.h"에 선언됨)의 동기 멤버 함수 erase은(는) 문자열에서 문자를 제거합니다. 호출은 시작 인덱스 pos(기본값 0) 및 제거할 최대 개수 n(기본값 npos)을(를) 지정하여 인스턴스에서 수행됩니다. 반환값으로는 수정된 객체에 대한 참조(BasicString &)가 제공됩니다 [SWS_CORE_03102]. 동작 방식은 C++ 표준 [basic.string]을(를) 따르며, charT은(는) value_type(으)로 대체됩니다 [SWS_CORE_03102].

오류 처리 및 경계 조건과 관련하여 다음 명세가 적용됩니다:

  • 범위 검사: 시작 인덱스가 문자열 길이보다 큰 경우(pos > size()), std::out_of_range 대신 AUTOSAR 위반 IsoStdOutOfRangeViolation이(가) 트리거됩니다 [SWS_CORE_03102].
  • 예외 안전성: 이 작업은 명시적으로 예외 안전하지 않음(not exception safe)으로 분류됩니다 [SWS_CORE_03102].
  • 동시성: 이 함수는 객체를 직접 수정하고 예외 안전하지 않으므로, 동일한 인스턴스에 여러 스레드가 보호 없이 동시에 접근하면 데이터 불일치가 발생할 가능성이 높습니다. 질문 Q-1ba559168d94c7a5 (열림)

Core 라이브러리 내의 상호 작용에서 ara::core::BasicString은(는) 이 인덱스 기반 변형 외에도 반복자 기반 오버로드를 제공합니다. 단일 위치용 erase(const_iterator) [SWS_CORE_03103] 및 범위용 erase(const_iterator, const_iterator) [SWS_CORE_03104]이(가) 있습니다. 요소 제거를 위한 유사한 인터페이스는 컨테이너 전반에 걸쳐 ara::core::Vector([SWS_CORE_01372], [SWS_CORE_01373]) 및 ara::core::Map([SWS_CORE_01480]~[SWS_CORE_01483])에서도 찾을 수 있습니다.

이 사용 지침은 자동으로 생성되었으며 오로지 AUTOSAR Adaptive R25-11의 명세 데이터만을 기반으로 합니다.

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

함수 erase [SWS_CORE_03103]

iterator erase (const_iterator p);

As per corresponding usage in [basic.string]

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

사용

클래스 ara::core::BasicString의 동기식 멤버 함수 erase([SWS_CORE_03103])은(는) 문자열에서 단일 문자를 제거하는 역할을 합니다. 이는 헤더 #include "ara/core/string.h"을(를) 통해 제공됩니다 [SWS_CORE_03103]. 삭제할 문자를 가리키는 상수 반복자 p을(를) 매개변수로 수락하고 후속 문자를 가리키는 iterator을(를) 반환합니다 [SWS_CORE_03103]. 기능적 동작은 [basic.string]의 해당 사용을 따릅니다 [SWS_CORE_03103].

오류 처리 및 예외 안전성

사양에서 이 함수는 “not exception safe” 속성으로 명시되어 있습니다 [SWS_CORE_03103]. 특정 오류 코드, DET 또는 DEM 메시지는 존재하지 않습니다. 인덱스 초과 시 IsoStdOutOfRangeViolation을(를) 제공하는 인덱스 기반 오버로드 [SWS_CORE_03102]과(과) 달리, [SWS_CORE_03103]은(는) 별도의 위반을 정의하지 않습니다. 해석: 명시적인 사전 검사가 명시되어 있지 않으므로 유효하지 않거나 역참조할 수 없는 반복자를 전달하면 정의되지 않은 동작이 발생할 것으로 보입니다. 질문 Q-e7fef1f0be3f72bb (열림)

동시성 및 상호 작용

동기화 또는 재진입 보증이 명시되어 있지 않으므로 외부 동기화 없이 동일한 인스턴스에 대한 동시 수정 접근은 스레드 안전하지 않을 것으로 보입니다. 질문 Q-0361bddd6a9924b1 (열림) ara::core::BasicString 내에서는 이러한 단일 요소 삭제 외에도 두 개의 반복자를 사용하는 범위 삭제([SWS_CORE_03104]) 및 인덱스 기반 삭제([SWS_CORE_03102])도 사용할 수 있습니다. 반복자 기반 삭제를 위한 유사한 인터페이스는 ara::core::Vector([SWS_CORE_01372], [SWS_CORE_01373]) 및 ara::core::Map([SWS_CORE_01480], [SWS_CORE_01481], [SWS_CORE_01483])에서도 제공됩니다.

이 텍스트는 AI에 의해 생성되었으며 가이드 역할을 합니다.

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

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

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

함수 erase [SWS_CORE_03104]

iterator erase (const_iterator first, const_iterator last);

As per corresponding usage in [basic.string]

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

사용

ara::core::BasicString 클래스([SWS_CORE_03104], #include "ara/core/string.h"에 선언됨)의 멤버 함수 erase은(는) first와(과) last 사이의 반개방 범위에 있는 문자 시퀀스를 동기식으로 제거합니다. 이 함수는 [basic.string]의 해당 의미 체계를 따르며 삭제된 섹션 뒤의 위치를 가리키는 iterator을(를) 반환합니다.

오류 처리 및 예외 안전성

이 함수의 예외 안전성은 명시적으로 not exception safe로 명시되어 있습니다 [SWS_CORE_03104]. 범위 초과 시 IsoStdOutOfRangeViolation을(를) 제공하는 인덱스 기반 변형과 달리 [SWS_CORE_03102], 명세에서는 유효하지 않은 반복자 범위에 대해 특정 오류 코드나 위반(Violation)을 정의하지 않으므로, 잘못된 반복자는 정의되지 않은 동작으로 이어질 가능성이 높습니다. 질문 Q-4ebb261c37bba102 (열림)

동시성 및 제약사항

erase이(가) 기본 문자열을 수정하고 동시성 메커니즘이 명시되어 있지 않으므로, 이 함수는 동일한 인스턴스에 대한 병렬 접근에 대해 재진입 가능하거나 스레드 안전하지 않을 것으로 보입니다. 질문 Q-43e6221b78cfa77f (열림) 또한 요소를 제거하면 [basic.string]의 표준 동작에 따라 후속 반복자 및 참조가 무효화될 것으로 보입니다.

상호 작용

ara::core::BasicString 내에서 이 함수는 반복자를 통한 단일 요소 삭제 [SWS_CORE_03103] 및 인덱스 기반 위치 삭제 [SWS_CORE_03102] 오버로드를 보완합니다. 이 동작은 ara::core::Vector [SWS_CORE_01373] 또는 ara::core::Map [SWS_CORE_01483]과(와) 같은 다른 AUTOSAR 컨테이너의 범위 기반 삭제 작업과 일치합니다.

이 텍스트는 자동으로 작성되었습니다. 기술적 진술은 전적으로 R25-11 명세를 기반으로 합니다.

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

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

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

함수 find [SWS_CORE_03315]

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

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스([SWS_CORE_03315])의 멤버 함수 find은 지정된 위치 pos(기본값 0)부터 전달된 부분 문자열 StringView sv의 첫 번째 발생을 문자열에서 동기적으로 검색합니다. 결과는 size_type(으)로 반환됩니다. 시맨틱은 charT이 value_type(으)로 대체된([SWS_CORE_03315]) 차이점을 제외하고는 [basic.string]에서의 사용법과 일치합니다. 이 함수는 헤더 ara/core/string.h을 통해 제공됩니다.

오류 처리 및 예외 안전성

이 함수는 noexcept(으)로 선언되고 exception safe(으)로 분류되어 있습니다([SWS_CORE_03315]). 예외를 발생시키지 않습니다. 이 함수에 대해 특정 AUTOSAR 오류 코드나 DET 또는 DEM으로의 보고는 명시되어 있지 않습니다.

동시성

find이 const(으)로 선언되어 있고 호출 객체의 상태를 수정하지 않으므로([SWS_CORE_03315]), 쓰기 작업이 발생하지 않는 한 동기화 없이 동일한 인스턴스에 여러 스레드가 동시에 읽기 접근하는 것은 안전할 것으로 보입니다(해석). 질문 Q-8a91a07d033d0b33 (열림)

상호 작용

ara::core::BasicString 내에서 이 메서드는 마찬가지로 noexcept인 BasicString 인스턴스 검색([SWS_CORE_03407])과 같은 관련 오버로드를 보완합니다. not exception safe(으)로 선언된 단일 문자([SWS_CORE_03324]) 또는 포인터([SWS_CORE_03408], [SWS_CORE_03409])에 대한 오버로드와 달리, StringView 변형은 예외 안전성을 보장합니다. 또한 ara::core::StringView은 유사하지만 constexpr(으)로 선언된 find([SWS_CORE_02157])을 제공합니다.

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03315
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03315@rel:R25-11#ffb67590
Content hash
ffb67590
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03315
Status: valid/unmigrated Version: rel:R25-11#52dd57f0 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03315@rel:R25-11#52dd57f0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#dafe46b02026-09-30
  • R19-11rel:R19-11#3265cc0c2026-10-14
  • R20-11rel:R20-11#b8a44b832026-10-14
  • R21-11rel:R21-11#0a67971f2026-10-14
  • R22-11rel:R22-11#135879cd2026-10-14
  • R23-11rel:R23-11#cd65affa2026-10-14
  • R24-11rel:R24-11#46213fbb2026-10-14
  • R25-11rel:R25-11#52dd57f02026-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_03324]

size_type find (value_type c, size_type pos=0) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스의 동기 멤버 함수 find은 선택적 시작 위치 pos부터 value_type 타입의 문자 c이 처음 나타나는 위치를 검색합니다([SWS_CORE_03324]). 시맨틱은 [basic.string]의 정의에 해당하며, 이때 charT은 value_type로 대체됩니다([SWS_CORE_03324]). 검색에 성공하면 인덱스가 size_type(으)로 반환됩니다. 그렇지 않은 경우 반환값은 [basic.string]의 표준 동작에 따라 BasicString::npos 값에 해당할 것으로 보입니다. 질문 Q-4bb5f66d23256109 (열림)

예외 안전성과 관련하여 이 함수는 사양에서 명시적으로 예외에 안전하지 않음(not exception safe)으로 분류되어 있습니다([SWS_CORE_03324]). DET 또는 DEM을 통한 특정 오류 또는 진단 메시지는 페이로드에 정의되어 있지 않습니다. 이 함수는 const(으)로 선언되어 있으므로 객체를 수정하지 않습니다. 따라서 동일한 인스턴스에 대한 동시 읽기 접근은 동시성 측면에서 안전할 것으로 보이지만, 병렬 쓰기 접근은 외부 동기화가 필요합니다. 질문 Q-263442932bd08430 (열림)

Core 타입들의 조합에서 이 메서드는 ara::core::BasicString의 관련 오버로드를 보완합니다. const value_type*을 사용하는 포인터 검색 역시 예외에 안전하지 않은 것으로 간주되는 반면([SWS_CORE_03408], [SWS_CORE_03409]), BasicString([SWS_CORE_03407]) 및 StringView([SWS_CORE_03315])에 대한 오버로드는 예외 안전하고 noexcept(으)로 지정되어 있습니다. 소유하지 않는 문자열의 경우 ara::core::StringView은(는) find(char, size_type)을(를) 통해 유사하지만 constexpr 및 noexcept을(를) 지원하는 검색 기능을 제공합니다([SWS_CORE_02158]).

이 텍스트는 AI에 의해 작성되었으며 R25-11 사양 버전을 기반으로 합니다.

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

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

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

함수 find [SWS_CORE_03407]

size_type find (const BasicString &str, size_type pos=0) const noexcept;

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스([SWS_CORE_03407], 헤더 ara/core/string.h)의 멤버 함수 find은 전달된 부분 문자열 str이(가) 처음 나타나는 위치를 동기식으로 검색합니다. 검색은 선택적으로 위치 pos(기본값 0)에서 시작되며 [basic.string]의 규정을 따릅니다.

이 함수는 찾은 인덱스를 size_type 타입의 값으로 반환합니다. 해석: 일치하는 항목을 찾지 못한 경우 함수는 [basic.string]의 시맨틱에 따라 BasicString::npos 값을 반환할 것으로 보입니다. 질문 Q-610fe2fe50217189 (열림)

오류 처리 및 동시성과 관련하여 이 메서드는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)(으)로 지정되어 있습니다([SWS_CORE_03407]). 상수 연산(const)이므로 호출 시 객체가 수정되지 않습니다. 따라서 동일한 인스턴스에 대한 병렬 읽기 접근은 안전할 것으로 보입니다. 질문 Q-045341d1199068db (열림)

ara::core::BasicString 내에는 추가적인 검색 기능이 존재합니다. 마찬가지로 noexcept(으)로 선언된 StringView에 대한 오버로드([SWS_CORE_03315]) 외에도 단일 문자([SWS_CORE_03324]) 및 문자 포인터([SWS_CORE_03408], [SWS_CORE_03409])에 대한 변형이 제공되며, 이와 달리 이들은 예외에 안전하지 않은 것으로 분류됩니다. 해당하는 검색 연산은 ara::core::StringView([SWS_CORE_02157]) 및 ara::core::Map([SWS_CORE_01490])에서도 찾을 수 있습니다.

이 텍스트는 AI에 의해 작성되었으며 R25-11 릴리스의 사양 데이터만을 기반으로 합니다.

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

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

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

함수 find [SWS_CORE_03408]

size_type find (const value_type *s, size_type pos=0) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스([SWS_CORE_03408])의 메서드 find은 인덱스 위치 pos부터 문자열에서 전달된 문자 시퀀스 s이(가) 처음 나타나는 위치를 동기식으로 검색합니다. 동작은 [basic.string]의 사양에 해당하며, 이때 charT은(는) value_type(으)로 대체됩니다([SWS_CORE_03408]). 상수 멤버 함수이므로 호출 시 호출 객체를 수정하지 않습니다.

  • 매개변수: s은(는) 검색할 value_type 타입 요소 배열에 대한 포인터입니다. pos은(는) 기본값이 0인 검색 시작 인덱스를 결정합니다([SWS_CORE_03408]).
  • 반환값: 발견된 위치가 size_type(으)로 반환됩니다([SWS_CORE_03408]).
  • 예외 안전성: 이 함수는 명시적으로 not exception safe(으)로 선언되어 있습니다([SWS_CORE_03408]). 따라서 noexcept(으)로 정의된 StringView([SWS_CORE_03315]) 및 const BasicString&([SWS_CORE_03407])에 대한 오버로드와는 차이가 있습니다.
  • 동시성 및 유효성: 병렬 읽기 접근은 동기화 없이 가능할 것으로 보이지만, 동시 쓰기 연산은 조정이 필요합니다(해석: 표준 컨테이너 동작). 질문 Q-89d9d01f0dd787cd (열림) 포인터 s은 유효한 널로 끝나는 시퀀스를 가리켜야 할 것으로 추정됩니다.

ara::core::BasicString의 검색 기능 조합에는 이 변형 외에도 명시적 길이 제한이 있는 오버로드 n([SWS_CORE_03409]) 및 단일 문자 검색([SWS_CORE_03324])이 존재합니다.

이 텍스트는 AUTOSAR 사양을 기반으로 AI 기반 시스템을 통해 생성되었습니다.

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

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

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

함수 find [SWS_CORE_03409]

size_type find (const value_type *s, size_type pos, size_type n) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스의 멤버 함수 find은 [SWS_CORE_03409]에 따라 문자열 내에서 일련의 문자를 동기적으로 검색하는 데 사용됩니다. 이 함수는 지정된 위치 pos부터 const value_type* 타입의 전달된 포인터 s의 처음 n개 문자를 인스턴스에서 검색하고, 일치 시 0 기반 인덱스를 size_type로 반환합니다.

사용법 및 매개변수

호출은 헤더 ara/core/string.h [SWS_CORE_03409]을 통해 수행됩니다. 동작은 C++ 표준의 [basic.string] 시맨틱을 따르며, charT은 value_type로 대체됩니다 [SWS_CORE_03409]. 이 함수는 const 메서드로서 동기적으로 작동하며 기존 객체를 수정하지 않습니다.

오류 처리 및 동시성

사양에서는 이 함수를 명시적으로 “not exception safe”로 분류합니다 [SWS_CORE_03409]. 유효하지 않은 메모리 영역이나 s에 대한 널 포인터의 경우 정의된 예외 처리가 보장되지 않는 것으로 추정됩니다. 질문 Q-37e3327ae129591d (열림) 특정 AUTOSAR 오류 코드 및 DET 또는 DEM 메시지는 페이로드에 정의되어 있지 않습니다. 읽기 멤버 함수이므로 동일한 인스턴스에 대한 경합하는 쓰기 작업이 발생하지 않는 한 여러 스레드의 동시 접근은 재진입 가능할 것으로 보입니다.

상호 작용

이 오버로드 외에도 ara::core::BasicString은 널 종료 변형 find(const value_type* s, size_type pos=0) [SWS_CORE_03408], 단일 검색 find(value_type c, size_type pos=0) [SWS_CORE_03324]뿐만 아니라 BasicString [SWS_CORE_03407] 및 StringView [SWS_CORE_03315]에 대해 예외 안전으로 정의된 오버로드와 같은 대체 검색 메서드를 제공합니다. 읽기 전용 문자열의 경우 ara::core::StringView [SWS_CORE_02159]에 예외 안전 변형이 유사하게 제공됩니다.

이 텍스트는 AI에 의해 작성되었으며 릴리스 R25-11의 사양만을 기반으로 합니다.

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

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

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

함수 find_first_ [SWS_CORE_03329]

size_type find_first_of (const BasicString &str, size_type pos=0) const noexcept;

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 메서드 find_first_of은(는) 헤더 ara/core/string.h을(를) 통해 제공되며 문자열 내에서 문자를 동기적으로 검색하는 역할을 합니다[SWS_CORE_03329]. 이 메서드는 기본적으로 0이(가) 할당된 시작 위치 pos부터 전달된 문자열 str에 포함된 임의 문자가 처음 나타나는 위치를 확인합니다[SWS_CORE_03329]. 이때 동작은 [basic.string] [SWS_CORE_03329]의 시맨틱을 따릅니다. 해석: 일치하는 항목이 없는 경우, 표준 동작에 따라 반환값은 npos 값에 해당할 것으로 추정됩니다. 질문 Q-9de908eb4aeaa0a9 (열림)

오류 처리 및 예외 안전성과 관련하여 이 작업은 noexcept(으)로 선언되고 exception safe(으)로 분류되어 있습니다[SWS_CORE_03329]. 따라서 예외를 트리거하지 않습니다. DET 또는 DEM 보고와 같은 특정한 개발 또는 프로덕션 오류는 페이로드에 정의되어 있지 않습니다. 읽기 전용 const 메서드이므로 이 호출은 인스턴스의 상태 변경을 유발하지 않습니다[SWS_CORE_03329].

ara::core::BasicString 내의 상호 작용에서 이 시그니처는 find_first_of의 추가 오버로드를 보완합니다: BasicString에 대한 참조 변형은 예외에 안전한([SWS_CORE_03329]) 반면, 길이 지정[SWS_CORE_03330] 또는 널 종료[SWS_CORE_03331]가 있는 포인터const value_type *s에 대한 오버로드 및 단일 문자value_type c [SWS_CORE_03332]에 대한 오버로드는 not exception safe(으)로 표시되어 있습니다. 비교 세트에 포함되지 않은 첫 번째 문자에 대한 반전된 검색을 위해 유사하게 find_first_not_of 메서드가 제공되며, 이 메서드 역시 예외에 안전한 BasicString 오버로드[SWS_CORE_03337]뿐만 아니라 포인터 및 문자 변형을 포함합니다[SWS_CORE_03338], [SWS_CORE_03339], [SWS_CORE_03340].

이 텍스트는 사양 문서를 바탕으로 AI 시스템을 통해 작성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_ [SWS_CORE_03330]

size_type find_first_of (const value_type *s, size_type pos, size_type n) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

[SWS_CORE_03330]에 따른 find_first_of 메서드는 ara::core::BasicString 인스턴스 내에서 문자 시퀀스의 임의의 문자가 처음으로 나타나는 위치를 동기식으로 검색하는 데 사용됩니다. 이 메서드는 ara/core/string.h 헤더를 통해 제공되며 [basic.string]에 대한 C++ 표준 라이브러리의 동작을 따릅니다. 여기서 매개변수 타입 charT은(는) value_type(으)로 대체됩니다 [SWS_CORE_03330].

매개변수 및 반환값

  • s: 검색 대상 요소를 포함하는 문자 시퀀스에 대한 포인터(타입 const value_type*)입니다. 해석: s 포인터는 최소 n개의 요소를 가진 유효한 배열을 가리킬 것으로 추정됩니다 [SWS_CORE_03330]. 질문 Q-1d6a911b61dc05b4 (열림)
  • pos: 검색이 시작되는 문자열 내의 시작 위치입니다.
  • n: s 주소부터 고려할 문자 수입니다.
  • 반환값: size_type 타입의 첫 번째 일치 항목 인덱스를 반환합니다.

예외 안전성 및 관련 인터페이스

noexcept(으)로 선언되고 예외 안전(exception safe)한 [SWS_CORE_03329]에 따른 완전한 BasicString 객체에 대한 오버로드와 달리, 이 함수는 명시적으로 not exception safe로 분류되어 있습니다 [SWS_CORE_03330]. 이는 [SWS_CORE_03331]에 따른 길이 지정이 없는 오버로드 n 및 [SWS_CORE_03332]에 따른 단일 문자에 대해서도 마찬가지로 적용됩니다.

대상 시퀀스에 존재하지 않는 문자에 대한 역검색의 경우 유사한 find_first_not_of 메서드를 사용할 수 있으며, 특히 [SWS_CORE_03338]에 따른 길이 제한이 있는 포인터 오버로드 및 [SWS_CORE_03337], [SWS_CORE_03339], [SWS_CORE_03340] 변형을 사용할 수 있습니다.

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

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_ [SWS_CORE_03331]

size_type find_first_of (const value_type *s, size_type pos=0) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스([SWS_CORE_03331])의 find_first_of 메서드는 전달된 문자열 s에 포함된 문자가 처음 나타나는 위치를 동기식으로 검색하는 데 사용됩니다. 시맨틱은 [basic.string]의 정의에 해당하며, 이때 charT는 value_type으로 대체됩니다([SWS_CORE_03331]). 검색은 기본적으로 인덱스 pos = 0에서 시작합니다.

오류 처리 및 예외 안전성

이 함수는 not exception safe으로 명시되어 있습니다([SWS_CORE_03331]). DET 또는 DEM 메시지와 같은 특정 오류 코드는 사양에 정의되어 있지 않습니다. 문자열 오버로드 [SWS_CORE_03329]는 exception safe 및 noexcept로 선언되어 있는 반면, 잘못된 매개변수나 내부 동작 과정에서 예외가 발생할 가능성이 있을 것으로 보입니다. 질문 Q-a28fa9046de1848f (열림)

동시성 및 제약사항

상수 멤버 함수로서 호출 시 호출 인스턴스를 수정하지 않습니다([SWS_CORE_03331]). 명시적인 길이 매개변수가 전달되지 않으므로, 정의되지 않은 메모리 영역 읽기를 방지하기 위해 포인터 s은 유효한 널로 끝나는 문자 시퀀스를 가리켜야 할 것으로 보입니다. 질문 Q-e67d2d456ea47293 (열림)

상호 작용

이 메서드는 헤더 #include "ara/core/string.h"([SWS_CORE_03331])에 포함된 ara::core::BasicString의 검색 인터페이스의 일부입니다:

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

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_ [SWS_CORE_03332]

size_type find_first_of (value_type c, size_type pos=0) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

[SWS_CORE_03332]에 따른 멤버 함수 find_first_of은(는) ara::core::BasicString 인스턴스 내에서 단일 문자가 처음 나타나는 위치를 찾는 역할을 합니다. 시맨틱은 [basic.string]에서의 표준 사용법에 해당하며, 유일한 편차로서 charT이(가) value_type(으)로 대체됩니다([SWS_CORE_03332]). 선언은 ara::core::BasicString 네임스페이스 내의 헤더 #include "ara/core/string.h"을(를) 통해 사용할 수 있습니다([SWS_CORE_03332]).

이 메서드는 value_type 타입의 검색 대상 문자 c 및 선택적으로 size_type 타입의 시작 위치 pos(기본값 0)를 수신하고 size_type 타입의 인덱스를 반환합니다([SWS_CORE_03332]). 예외 처리와 관련하여 이 오버로드는 명시적으로 예외에 안전하지 않음(not exception safe, [SWS_CORE_03332])으로 분류되어 있습니다.

ara::core::BasicString의 검색 함수 내 상호 작용에서 이 메서드는 문자 및 부분 문자열 검색을 위한 추가 변형을 보완합니다:

이 사용 지침은 자동으로 생성되었으며 릴리스 R25-11의 사양 데이터에만 기반합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_ [SWS_CORE_03337]

size_type find_first_not_of (const BasicString &str, size_type pos=0) const noexcept;

As per corresponding usage in [basic.string]

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

사용

ara::core::BasicString 클래스([SWS_CORE_03337], 헤더 파일 #include "ara/core/string.h")의 멤버 함수 find_first_not_of은(는) 문자열 내 패턴 검색을 위한 것입니다. 동기 메서드는 매개변수로 비교 문자열 const BasicString &str 및 선택적으로 시작 인덱스 size_type pos = 0을(를) 예상합니다. 시맨틱은 사양에 따르면 [basic.string]에서의 사용법에 해당합니다. size_type 타입의 반환값으로서 함수는 위치 pos부터 시작하여 str에 나타나지 않는 첫 번째 문자의 인덱스를 반환하거나, 검색 실패 시 npos을(를) 반환할 것으로 추정됩니다. 질문 Q-d3b3fd2d159179e7 (열림)

오류 처리

이 작업은 식별자 noexcept(으)로 선언되어 있으며 [SWS_CORE_03337]에서 예외에 안전함(\"exception safe\")으로 분류되어 있습니다. 이 함수에 대해 특정한 오류 코드나 DET 또는 DEM에 대한 알림은 정의되어 있지 않습니다.

동시성 및 제약사항

상수 메서드(const)로서 이 함수는 호출 인스턴스에 상태를 변경하는 어떠한 개입도 하지 않습니다. 특정한 동기화 메커니즘이나 재진입 규칙은 [SWS_CORE_03337]에서 명시되어 있지 않습니다.

상호 작용

이 시그니처는 ara::core::BasicString의 다른 검색 작업과 연관되어 있습니다:

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

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_ [SWS_CORE_03338]

size_type find_first_not_of (const value_type *s, size_type pos, size_type n) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스([SWS_CORE_03338])의 멤버 함수 find_first_not_of은(는) 지정된 위치 pos부터 문자열을 동기적으로 검색하여 길이가 n인 전달된 문자 배열 s에 포함되지 않은 첫 번째 문자를 찾습니다. 선언은 헤더 파일 #include "ara/core/string.h"을(를) 통해 이루어집니다. 시맨틱은 C++ 표준 라이브러리의 표준 함수 [basic.string]을(를) 따르며, 차이점은 매개변수 타입 charT이(가) value_type(으)로 대체된다는 점입니다([SWS_CORE_03338]).

실행 컨텍스트 및 오류 동작과 관련하여 다음 속성들이 명시되어 있습니다:

  • 반환값: 일치하지 않는 첫 번째 문자의 인덱스를 size_type(으)로 반환합니다([SWS_CORE_03338]). 일치하지 않는 문자를 찾지 못했거나 pos이(가) 유효 범위를 벗어난 경우, [basic.string]의 표준 동작과 유사하게 npos 값이 반환될 것으로 보입니다. 질문 Q-2f8c7f7966d5bd41 (열림)
  • 예외 안전성: 이 함수는 사양에 따라 명시적으로 not exception safe로 분류됩니다([SWS_CORE_03338]). BasicString에 대한 오버로드와 달리 noexcept 보장을 갖지 않습니다([SWS_CORE_03337]).
  • 포인터 유효성: 포인터 s은(는) 최소 n개의 유효한 요소를 가진 배열을 가리켜야 합니다. 널 포인터나 불충분한 버퍼 크기는 정의되지 않은 동작으로 이어질 수 있습니다. 질문 Q-8f794dd917c70631 (열림)

ara::core::BasicString 내의 상호 작용에서 이 오버로드는 표준 널 종료를 사용한 검색([SWS_CORE_03339]), 단일 문자 검색([SWS_CORE_03340]) 및 해당 긍정 검색 기능 find_first_of([SWS_CORE_03329], [SWS_CORE_03330], [SWS_CORE_03331], [SWS_CORE_03332])을(를) 보완합니다.

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

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_ [SWS_CORE_03339]

size_type find_first_not_of (const value_type *s, size_type pos=0) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용법: 헤더 #include "ara/core/string.h"에 정의된 ara::core::BasicString 클래스([SWS_CORE_03339])의 find_first_not_of 메서드는 위치 pos(기본값 0)부터 시작하여 const value_type* 타입의 널 종료 문자열 s에 포함되지 않은 첫 번째 문자를 동기식으로 검색합니다. 동작은 C++ 표준 참조 [basic.string]에 따르며, 이때 charT은 value_type로 대체됩니다([SWS_CORE_03339]). 발견된 인덱스 위치는 size_type로 반환됩니다.

오류 처리 및 제약 조건: 이 요소는 명시적으로 not exception safe으로 명시되어 있습니다([SWS_CORE_03339]). 이 함수에는 특정 오류 코드, 오류 상태에 대한 반환값 또는 AUTOSAR 진단 메시지(DET/DEM)가 정의되어 있지 않습니다. 호출자는 포인터 s의 유효성에 대한 책임이 있습니다. 해석: 유효하지 않거나 널로 종료되지 않은 포인터는 기반이 되는 [basic.string] 시맨틱에 따라 정의되지 않은 동작을 초래할 것으로 추정됩니다. 상수 멤버 함수로서 이 메서드는 동일한 인스턴스에 대한 동시 읽기 접근에 대해 재진입 가능(reentrant)합니다. 질문 Q-939961ddaec4409f (열림)

상호작용: 이 함수는 ara::core::BasicString의 검색 인터페이스의 일부입니다. 전체 인스턴스에 대한 오버로드 BasicString이 noexcept 및 exception safe으로 정의되어 있는 반면([SWS_CORE_03337]), 길이 제한이 있는 검색 n([SWS_CORE_03338]) 및 단일 문자 검색([SWS_CORE_03340])과 같은 포인터 기반 변형들도 not exception safe로 분류됩니다. 일치하는 문자를 검색하는 긍정적인 대응물은 해당 find_first_of 오버로드([SWS_CORE_03329], [SWS_CORE_03330], [SWS_CORE_03331], [SWS_CORE_03332])입니다.

AUTOSAR 사양 R25-11을 바탕으로 자동 생성된 사용 지침.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_ [SWS_CORE_03340]

size_type find_first_not_of (value_type c, size_type pos=0) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용법 및 의미론

헤더 ara/core/string.h에 정의된 ara::core::BasicString 클래스([SWS_CORE_03340])의 멤버 함수 find_first_not_of은 시작 인덱스 pos(기본값 0)부터 시작하여 전달된 value_type 타입의 문자 c과 일치하지 않는 첫 번째 문자를 동기식으로 검색합니다. 동작은 C++ 표준 섹션 [basic.string]을 따르며, 이때 charT는 value_type으로 대체됩니다([SWS_CORE_03340]). 검색에서 일치하지 않는 문자를 찾지 못한 경우 반환값은 표준 규칙에 따라 npos가 될 것으로 보입니다. 질문 Q-c821d702576e2541 (열림)

오류 처리 및 예외 안전성

사양에서는 이 함수를 not exception safe([SWS_CORE_03340])로 선언합니다. 페이로드에 특정 AUTOSAR 오류 코드나 DET 또는 DEM 메시지가 정의되어 있지 않습니다. 호출자는 noexcept이자 exception safe로 정의된 문자열 오버로드([SWS_CORE_03337])와 달리 예외 없음이 보장되지 않는다는 점을 고려해야 합니다.

동시성 및 상호 작용

상수 메서드(const)이므로 호출 시 문자열을 수정하지 않습니다. 쓰기 작업이 발생하지 않는 한 여러 스레드를 통한 동시 읽기 접근은 동기화 없이 허용될 것으로 보입니다. 이 함수는 포인터([SWS_CORE_03338], [SWS_CORE_03339]) 또는 BasicString([SWS_CORE_03337])을 통해 일치하지 않는 부분 시퀀스를 검색하는 오버로드를 보완하며, find_first_of 메서드([SWS_CORE_03329], [SWS_CORE_03330], [SWS_CORE_03331], [SWS_CORE_03332])의 대응물을 형성합니다. 질문 Q-2d1a22665eafd122 (열림)

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

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_first_not_of [SWS_CORE_03319]

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

As per corresponding usage in [basic.string]

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

사용법 및 의미론

클래스 ara::core::BasicString([SWS_CORE_03319])의 멤버 함수 find_first_not_of은(는) 지정된 인덱스 위치 pos부터 문자열을 동기식으로 검색합니다. 이 함수는 전달된 ara::core::StringView sv에 포함되지 않은 첫 번째 문자를 찾습니다. 시맨틱은 [basic.string]([SWS_CORE_03319])의 동작을 따릅니다. 검색에 성공하면 발견 위치의 0 기반 인덱스가 반환되고, 그렇지 않으면 유효하지 않은 위치를 나타내는 값이 반환됩니다.

오류 처리 및 예외 안전성

이 함수는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)으로 명시되어 있습니다([SWS_CORE_03319]). 예외를 발생시키지 않으며 DET 또는 DEM과 같은 AUTOSAR 오류 메시지를 생성하지 않습니다. 문자열의 끝을 벗어난 시작 인덱스가 전달되면 연산은 정상적으로 일치 항목을 찾지 못합니다.

동시성 및 상호 작용

비수정 const 메서드이므로, 문자열에 대한 쓰기 접근이 발생하지 않는 한 동일한 인스턴스에 대한 동시 읽기 접근은 스레드 안전할 것으로 보입니다. 질문 Q-c1bcfdc85bb4769f (열림) ara::core::BasicString 내에서 이 함수는 BasicString([SWS_CORE_03337])에 대한 오버로드 및 포인터와 단일 문자에 대한 변형([SWS_CORE_03338], [SWS_CORE_03339], [SWS_CORE_03340])과 같은 관련 검색 연산을 보완합니다. 순수 뷰 객체에서의 대응 인터페이스는 ara::core::StringView이(가) [SWS_CORE_02173]을(를) 통해 제공합니다.

이 텍스트는 AUTOSAR Adaptive R25-11 명세를 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03319
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03319@rel:R25-11#344c62ac
Content hash
344c62ac
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03319
Status: valid/unmigrated Version: rel:R25-11#28b9f813 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03319@rel:R25-11#28b9f813
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bc08cf502026-09-30
  • R19-11rel:R19-11#630f5e4e2026-10-14
  • R20-11rel:R20-11#567bf4be2026-10-14
  • R21-11rel:R21-11#f2670cc22026-10-14
  • R22-11rel:R22-11#1b1f73732026-10-14
  • R23-11rel:R23-11#84bfbd732026-10-14
  • R24-11rel:R24-11#56daf9d42026-10-14
  • R25-11rel:R25-11#28b9f8132026-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_03317]

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

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스(#include "ara/core/string.h" 헤더에 정의됨)의 [SWS_CORE_03317]에 따른 멤버 함수 find_first_of은(는) 전달된 StringView의 임의 문자가 처음 나타나는 위치를 문자열에서 동기적으로 검색합니다 sv. 검색은 기본적으로 인덱스 위치 pos = 0부터 시작합니다. 동작은 [basic.string]의 규정과 일치하지만 charT이(가) value_type(으)로 대체되었습니다. 반환값으로 이 함수는 size_type 타입의 발견된 위치를 제공합니다. 일치하는 문자를 찾지 못한 경우 반환값은 아마도 npos일 것으로 추정됩니다(해석: [basic.string]의 참조된 표준 동작에서 도출됨). 질문 Q-fe0c2b9671e5bd4c (열림)

오류 처리 및 동시성

이 메서드는 noexcept(으)로 선언되어 있으며 [SWS_CORE_03317]에 따라 예외에 안전한 것(exception safe)으로 간주됩니다. 예외를 발생시키지 않으며, 진단 및 모니터링 서비스(예: DET 또는 DEM)에 대한 특정 오류 코드나 메시지는 제공되지 않습니다. 객체 상태를 수정하지 않는 읽기 전용 const 연산이므로, 동기화 없는 동일 인스턴스에 대한 병렬 호출은 재진입 가능하고 스레드 안전할 것으로 보입니다(해석: 부작용 없는 메서드에 대한 통상적인 시맨틱). 질문 Q-0657bb5d0d156e3d (열림)

상호 작용

ara::core::BasicString 내에서 이 메서드는 const BasicString&에 대한 오버로드를 보완하며 [SWS_CORE_03329], 추가 메모리 할당 없이 문자열 뷰를 전달할 수 있도록 합니다. 예외에 안전하지 않은 것으로 관리되는 포인터 및 문자 오버로드 [SWS_CORE_03330], [SWS_CORE_03331], [SWS_CORE_03332]과(와) 달리, 이 시그니처는 보장된 예외 안전성을 제공합니다. 유사한 검색 연산은 예를 들어 [SWS_CORE_02165]을(를) 통해 ara::core::StringView에서도 직접 제공됩니다.

이 텍스트는 AUTOSAR Adaptive R25-11 명세를 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03317
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03317@rel:R25-11#0f529c6a
Content hash
0f529c6a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03317
Status: valid/unmigrated Version: rel:R25-11#06edcb29 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03317@rel:R25-11#06edcb29
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1f25fc232026-09-30
  • R19-11rel:R19-11#4cb9e5e22026-10-14
  • R20-11rel:R20-11#4da551aa2026-10-14
  • R21-11rel:R21-11#003eae7f2026-10-14
  • R22-11rel:R22-11#8bef54f72026-10-14
  • R23-11rel:R23-11#1b622a592026-10-14
  • R24-11rel:R24-11#477ca05a2026-10-14
  • R25-11rel:R25-11#06edcb292026-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_ [SWS_CORE_03333]

size_type find_last_of (const BasicString &str, size_type pos=npos) const noexcept;

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 메서드 find_last_of은(는) 위치 pos까지 전달된 문자열 str의 문자가 마지막으로 나타나는 위치를 찾는 역할을 합니다[SWS_CORE_03333]. 선언은 헤더 ara/core/string.h에서 이루어지며 [basic.string] [SWS_CORE_03333]에서의 해당 사용법에 따라 동작합니다. 해석: 출처 표기 [basic.string]은(는) std::basic_string에 대한 C++ 표준의 동일한 이름의 챕터를 참조하는 것으로 추정됩니다. 질문 Q-b62a1b13affb848c (열림)

사용법 및 시맨틱: 호출은 ara::core::BasicString 인스턴스에서 동기적으로 상수 멤버 함수(const)로서 수행됩니다[SWS_CORE_03333]. 매개변수는 const BasicString& 타입의 검색 문자열 str 및 기본값 npos을(를) 갖는 size_type 타입의 선택적 시작 위치 pos입니다[SWS_CORE_03333]. 반환값은 size_type 타입이며 발견된 문자의 인덱스를 반환하거나 일치하는 문자가 없는 경우 npos을(를) 반환합니다[SWS_CORE_03333].

오류 처리 및 예외 안전성: 이 오버로드는 명시적으로 noexcept(으)로 선언되고 exception safe(으)로 분류되어 있습니다[SWS_CORE_03333]. 따라서 예외를 발생시키지 않습니다.

관련 함수와의 상호 작용: BasicString을(를) 사용하는 이 변형 외에도 find_last_of에 대해 포인터 const value_type* [SWS_CORE_03344], [SWS_CORE_03335] 및 단일 문자 value_type [SWS_CORE_03336]에 대한 오버로드가 존재하지만, 이 함수와 달리 예외에 안전함(not exception safe)으로 분류되어 있지 않습니다. 비교 문자열에 포함되지 않은 문자를 검색하기 위한 보완적 대응물은 함수 제품군 find_last_not_of이며, 이 제품군의 BasicString 변형 역시 noexcept이자 예외에 안전하지만[SWS_CORE_03341], 포인터 및 문자 오버로드는 not exception safe(으)로 선언되어 있습니다[SWS_CORE_03342], [SWS_CORE_03343], [SWS_CORE_03344].

이 텍스트는 자동으로 생성되었습니다. 모든 내용은 AUTOSAR Adaptive R25-11의 사양 범위에만 근거합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_ [SWS_CORE_03334]

size_type find_last_of (const value_type *s, size_type pos, size_type n) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스([SWS_CORE_03334])의 멤버 함수 find_last_of은 C 문자열의 부분 시퀀스에서 특정 문자의 마지막 발생을 동기적으로 검색하는 데 사용됩니다. 헤더 #include "ara/core/string.h"에 정의되어 있습니다([SWS_CORE_03334]). 이 함수는 const value_type* 타입의 문자 배열에 대한 포인터 s, 역방향 검색 시작을 위한 시작 위치 pos, 그리고 s에서 고려할 문자 수 n을 전달받습니다([SWS_CORE_03334]). 동작은 charT가 value_type(으)로 대체된 점([SWS_CORE_03334])을 제외하고는 표준 [basic.string]과 일치합니다. 반환값으로는 마지막으로 일치한 위치의 인덱스가 size_type(으)로 제공됩니다([SWS_CORE_03334]).

오류 처리 및 제약 조건

이 연산은 not exception safe(으)로 명시되어 있습니다([SWS_CORE_03334]). 페이로드에는 특정 오류 코드, DET 또는 DEM 보고가 정의되어 있지 않습니다. const 멤버 함수로서 호출 인스턴스를 수정하지 않습니다([SWS_CORE_03334]). 해석: 함수가 길이 지정 n과 함께 원시 포인터 s를 처리하므로, 참조된 메모리 영역에 최소 n개의 유효한 문자가 포함되도록 보장하는 책임은 호출자에게 있을 것으로 보입니다. 질문 Q-b565ebc283768016 (열림)

상호 작용

이 함수는 ara::core::BasicString의 다른 검색 메서드와 직접적으로 연관되어 있습니다:

  • const BasicString&을 사용하는 오버로드([SWS_CORE_03333])는 이 함수와 달리 예외 안전성(exception safe)을 제공하며 noexcept(으)로 선언되어 있습니다.
  • 기본값 pos = npos을 갖는 문자 배열용 오버로드([SWS_CORE_03335]) 및 단일 문자용 오버로드 value_type([SWS_CORE_03336])는 이 함수와 마찬가지로 not exception safe로 분류됩니다.
  • 집합에 포함되지 않은 문자를 찾기 위해 find_last_not_of에 유사한 3개 매개변수 시그니처([SWS_CORE_03342]) 및 관련 변형([SWS_CORE_03341], [SWS_CORE_03343], [SWS_CORE_03344])이 존재합니다.

이 텍스트는 AI에 의해 작성되었으며 전적으로 AUTOSAR R25-11 사양을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_ [SWS_CORE_03335]

size_type find_last_of (const value_type *s, size_type pos=npos) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스([SWS_CORE_03335])의 멤버 함수 find_last_of은 헤더 파일 #include "ara/core/string.h"을 통해 포함됩니다. 이 함수는 위치 pos(기본값 npos)부터 역방향으로 동기적으로 문자열을 검색하여 전달된 시퀀스 s의 임의 문자의 마지막 발생을 찾습니다. 이때 동작은 charT이 value_type(으)로 대체된 차이점을 제외하고는 [basic.string]의 정의와 일치합니다([SWS_CORE_03335]). 검색 성공 시 인덱스가 size_type(으)로 반환되며, 그렇지 않으면 npos이 반환됩니다.

예외 동작 및 오류 안전성

noexcept과 함께 exception safe로 선언된 문자열 참조 오버로드([SWS_CORE_03333])와 달리, 이 함수에는 not exception safe 분류가 적용됩니다([SWS_CORE_03335]). 해석: 포인터 s은 널 종료 문자 배열을 가리켜야 할 것으로 보이며, 따라서 유효하지 않은 포인터나 메모리 영역은 처리(catch)되지 못할 것으로 추정됩니다. 질문 Q-fc1a5736ed4628dc (열림)

상호 작용 및 관련 함수

사양에서는 ara::core::BasicString 내에 여러 관련 오버로드를 정의합니다:

  • 지정된 부분 길이를 위해 길이 매개변수 n을 갖는 오버로드([SWS_CORE_03334])가 존재하며, 단일 문자 c용([SWS_CORE_03336])도 존재하는데, 둘 다 마찬가지로 not exception safe로 선언되어 있습니다.
  • const BasicString&을 사용하는 함수 find_last_of([SWS_CORE_03333])은 완전한 예외 안전성을 제공합니다.
  • 검색 집합에 포함되지 않는 문자를 검색하는 보완적인 기능으로 find_last_not_of 변형들([SWS_CORE_03341], [SWS_CORE_03342], [SWS_CORE_03343], [SWS_CORE_03344])을 사용할 수 있습니다.

이 텍스트는 AI에 의해 작성되었으며 ara::core::BasicString에 대한 AUTOSAR 사양의 규정을 요약합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_ [SWS_CORE_03336]

size_type find_last_of (value_type c, size_type pos=npos) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

헤더 파일 #include "ara/core/string.h"에 정의된 ara::core::BasicString 클래스의 동기 멤버 함수 find_last_of은 인덱스 위치 pos [SWS_CORE_03336] 또는 그 이전에서 value_type 타입의 단일 문자 c의 마지막 발생을 검색합니다. 시맨틱은 charT이 value_type(으)로 대체된 문서화된 편차 [SWS_CORE_03336]을 제외하고 [basic.string]의 사양과 일치합니다. 검색 성공 시 해당 문자의 인덱스가 size_type(으)로 반환되고, 그렇지 않으면 npos이 반환됩니다 [SWS_CORE_03336].

오류 처리와 관련하여, 이 메서드는 예외 안전하지 않음(\"not exception safe\")으로 명시되어 있습니다 [SWS_CORE_03336]. 특정 오류 코드 및 DET 또는 DEM 보고는 소스에 명시되어 있지 않습니다. 문자열 오버로드 [SWS_CORE_03333]과 달리 시그니처에 noexcept이 지정되지 않았으므로 오류 발생 시 내부 예외가 호출자에게 전파될 것으로 보입니다. 질문 Q-6d19144ce033e676 (열림)

상수 멤버 함수(const)이므로 객체의 상태는 수정되지 않습니다 [SWS_CORE_03336]. 동일 인스턴스에 대한 동시 읽기 접근은 추가 동기화 없이 허용될 것으로 보이나, 동시 쓰기 작업은 동기화되어야 합니다. 질문 Q-5f3aec4dd9c384fd (열림)

이 메서드는 ara::core::BasicString의 검색 연산에 포함됩니다. BasicString 객체 검색을 위한 오버로드 [SWS_CORE_03333] 및 길이 제한이 있거나 없는 포인터 배열 오버로드 const value_type*([SWS_CORE_03334], [SWS_CORE_03335])를 보완합니다. 일치하지 않는 문자를 위한 보완적 대응물로는 단일 문자용 find_last_not_of([SWS_CORE_03344]) 및 문자열과 포인터용([SWS_CORE_03341], [SWS_CORE_03342], [SWS_CORE_03343])이 있습니다.

이 텍스트는 AI에 의해 작성되었으며 참고용으로 제공됩니다. 항상 공식 AUTOSAR 사양이 우선합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_ [SWS_CORE_03341]

size_type find_last_not_of (const BasicString &str, size_type pos=npos) const noexcept;

As per corresponding usage in [basic.string]

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

헤더 ara/core/string.h에 정의된 ara::core::BasicString 클래스([SWS_CORE_03341])의 멤버 함수 find_last_not_of은 전달된 문자열의 문자와 일치하지 않는 마지막 문자를 찾는 데 사용됩니다. 기능적 동작은 사양에 따라 [basic.string] [SWS_CORE_03341]의 해당 사용법을 따릅니다. 이 메서드는 동기적으로 실행되며, 매개변수로 const BasicString& 타입의 참조 str 및 기본값이 npos인 size_type 타입의 선택적 시작 위치 pos을 받습니다 [SWS_CORE_03341]. 반환값은 size_type 타입이며 찾은 문자의 인덱스를 나타냅니다 [SWS_CORE_03341].

오류 처리와 관련하여 DET 또는 DEM 보고 및 특정 오류 코드는 정의되어 있지 않습니다. 이 메서드는 noexcept(으)로 선언되어 있으며 exception safe 속성을 갖습니다 [SWS_CORE_03341]. 해석: 일치하지 않는 문자를 찾을 수 없는 경우, 이 함수는 C++ 표준 [basic.string]과 유사하게 npos 값을 반환할 것으로 보입니다. 질문 Q-de6cb50023fa6e38 (열림)

상수 멤버 함수(const)이므로 쓰기 작업이 발생하지 않는 한 동일한 문자열 인스턴스에 대한 동시 읽기 접근은 안전할 것으로 보입니다. 질문 (열림) 관련된 문자열 연산과의 상호 작용에서 이 함수는 find_last_of [SWS_CORE_03333]의 대응물을 형성합니다. const BasicString&에 대한 오버로드는 예외 안전한 반면 [SWS_CORE_03341], const value_type* 포인터에 대한 find_last_not_of의 오버로드([SWS_CORE_03342], [SWS_CORE_03343]) 및 단일 문자용 value_type [SWS_CORE_03344]은 명시적으로 예외 안전하지 않음(not exception safe)으로 분류되어 있습니다.

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

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_ [SWS_CORE_03342]

size_type find_last_not_of (const value_type *s, size_type pos, size_type n) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스([SWS_CORE_03342])의 멤버 함수 find_last_not_of은 헤더 ara/core/string.h을 통해 제공됩니다. 이 함수는 위치 pos부터 역방향으로 문자열을 검색하여 포인터 s 및 개수 n으로 지정된 value_type 배열에 포함되지 않은 마지막 문자를 찾습니다. 기능적 시맨틱은 [basic.string]에 대한 요구사항을 따르며, 이때 charT는 value_type으로 대체됩니다([SWS_CORE_03342]).

오류 처리 및 예외 안전성

사양에서 이 오버로드는 명시적으로 not exception safe로 분류되어 있습니다([SWS_CORE_03342]). 해석: 따라서 noexcept 보장이 존재하지 않으므로, 호출자는 유효하지 않은 포인터 매개변수나 범위 초과 시 예외가 발생하지 않을 것이라고 가정해서는 안 됩니다. 질문 Q-3713a1ff523a6051 (열림)

관련 메서드와의 상호작용

이 메서드는 ara::core::BasicString의 검색 함수 제품군에 속합니다:

이 사용 지침은 AUTOSAR R25-11 사양 모델을 기반으로 자동 큐레이션되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_ [SWS_CORE_03343]

size_type find_last_not_of (const value_type *s, size_type pos=npos) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스([SWS_CORE_03343])의 멤버 함수 find_last_not_of은(는) 널 종료 문자 배열 s에 포함된 어떤 문자와도 일치하지 않는 문자열 내 마지막 문자를 역방향으로 찾는 역할을 합니다. 선택적 시작 인덱스로 pos이(가) 작동하며, 이는 기본적으로 npos(으)로 설정되어 있습니다. 시맨틱은 [basic.string]의 규정을 따르며, 이때 charT은(는) value_type(으)로 대체됩니다([SWS_CORE_03343]). 포함을 위해 헤더 ara/core/string.h이(가) 필요합니다([SWS_CORE_03343]).

오류 처리 및 예외 안전성

noexcept("exception safe")로 명시된 문자열 오버로드 [SWS_CORE_03341]과 달리, 이 포인터 오버로드는 "not exception safe"로 명시적으로 분류됩니다([SWS_CORE_03343]). 이 함수에 대해 정의된 특정 DET 또는 DEM 오류 메시지는 없습니다. [basic.string]에 대한 참조에서 별도의 AUTOSAR 오류 검사를 규정하지 않으므로, 유효한 null 종료 포인터 s를 제공하는 것은 전적으로 호출자의 책임일 것으로 보입니다. 질문 Q-0b923cab35c7bf41 (열림)

상호작용 및 오버로드

ara::core::BasicString 내에서 이 함수는 관련된 일련의 검색 작업 그룹에 속합니다:

이 텍스트는 명세서를 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_ [SWS_CORE_03344]

size_type find_last_not_of (value_type c, size_type pos=npos) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스의 멤버 함수 find_last_not_of([SWS_CORE_03344], #include "ara/core/string.h"에 선언됨)은 전달된 문자 c와 일치하지 않는 마지막 요소를 찾기 위해 문자열을 동기식으로 역방향 검색합니다. 검색의 시작 인덱스는 pos 매개변수를 통해 제어되며, 기본적으로 npos으로 사전 설정됩니다. 실행은 명세 [basic.string]을 따르며, 이때 charT은 value_type로 대체됩니다[SWS_CORE_03344]. 해석: 일치하지 않는 문자를 찾을 수 없는 경우, 이 함수는 아마도 npos을 반환할 것으로 보입니다. 질문 Q-0db95220d1766e88 (열림)

오류 처리와 관련하여, 이 함수는 명세에서 예외에 안전하지 않음(not exception safe)으로 명시적으로 분류되어 있습니다[SWS_CORE_03344]. 페이로드에는 특정 오류 코드나 DET 또는 DEM 메시지와 같은 메커니즘이 정의되어 있지 않습니다.

이 메서드는 const(으)로 선언되어 있으므로 객체를 수정하지 않습니다[SWS_CORE_03344]. 동일한 문자열 인스턴스에 대한 동시 읽기 접근은 경합하는 쓰기 작업이 발생하지 않는 한 상태 변경 없이 동기식으로 가능합니다.

ara::core::BasicString 내에서 이 함수는 다른 검색 작업들과 함께 연계되어 있습니다:

이 사용 참고 사항은 AUTOSAR 명세 버전 R25-11을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

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

함수 find_last_not_of [SWS_CORE_03320]

size_type find_last_not_of (StringView sv, size_type pos=npos) const noexcept;

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 메서드 [SWS_CORE_03320]은 헤더 <ara/core/string.h>를 통해 사용할 수 있습니다. 이 메서드는 동기 역방향 검색을 수행하여 전달된 뷰 sv에 나타나지 않는 문자열의 마지막 문자 인덱스를 구합니다. 검색 범위는 pos에서 시작하며 기본값은 npos입니다. 동작은 [basic.string]의 시맨틱을 따르며, 불일치하는 문자를 찾지 못한 경우 함수는 npos 값을 반환할 것으로 추정됩니다. 질문 Q-1f2c9efc73c41b7a (열림)

오류 처리와 관련하여 이 함수는 noexcept으로 명시되어 있으며 exception safe로 분류됩니다 [SWS_CORE_03320]. 따라서 예외를 발생시키지 않습니다. 이 작업에 대해 특정 AUTOSAR 오류 코드나 오류 채널(DET/DEM)에 대한 보고는 존재하지 않습니다.

수정하지 않는 const 메서드이므로 이 호출은 문자열의 상태를 변경하지 않습니다. 따라서 동일한 인스턴스에 대한 여러 스레드의 동시 읽기 접근은 외부 동기화 없이도 안전할 것으로 추정되는 반면, 동시 수정은 보호되어야 합니다. 질문 Q-227382d5787bde14 (열림)

이 함수는 ara::core::StringView 타입의 매개변수를 받아 메모리 할당 없이 효율적인 비교를 가능하게 합니다. ara::core::BasicString 내에서 이 함수는 문자열 [SWS_CORE_03341], 원시 포인터 [SWS_CORE_03342], [SWS_CORE_03343] 및 단일 문자 [SWS_CORE_03344]에 대한 오버로드를 보완합니다. 포인터 및 문자 변형과 달리 StringView 오버로드는 예외 안전합니다. 해당하는 검색 함수는 ara::core::StringView 자체에도 유사하게 존재합니다 [SWS_CORE_02177], [SWS_CORE_02178], [SWS_CORE_02179], [SWS_CORE_02180].

이 사용 지침은 AI에 의해 생성되었습니다. 모든 기술적 세부사항은 AUTOSAR 페이로드의 요구사항을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03320
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03320@rel:R25-11#5f630e75
Content hash
5f630e75
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03320
Status: valid/unmigrated Version: rel:R25-11#c54cab32 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03320@rel:R25-11#c54cab32
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8da76b592026-09-30
  • R19-11rel:R19-11#5f40bcec2026-10-14
  • R20-11rel:R20-11#e1c2eb632026-10-14
  • R21-11rel:R21-11#a98ca3792026-10-14
  • R22-11rel:R22-11#54339bbe2026-10-14
  • R23-11rel:R23-11#549b390c2026-10-14
  • R24-11rel:R24-11#ff50b3cd2026-10-14
  • R25-11rel:R25-11#c54cab322026-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_03318]

size_type find_last_of (StringView sv, size_type pos=npos) const noexcept;

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 멤버 함수 find_last_of([SWS_CORE_03318])은(는) 전달된 StringView sv에 포함된 문자가 마지막으로 나타나는 위치를 문자열에서 역방향으로 검색합니다. 검색은 동기적으로 수행되며, 기본적으로 npos(으)로 설정된 지정 위치 pos 또는 그 이전부터 시작합니다. [basic.string] 참조에 따르면 이 함수는 발견된 문자의 0 기반 인덱스를 반환하거나, 일치하는 문자가 없는 경우 npos을(를) 반환할 것으로 보입니다. 질문 Q-bf5de9d8aa553a74 (열림)

오류 처리와 관련하여 이 연산은 noexcept(으)로 선언되어 있으며 exception safe로 분류되어 있습니다([SWS_CORE_03318]). 따라서 호출자는 검색 시 예외가 발생하지 않는다는 점을 신뢰할 수 있습니다. 이 기본적인 헬퍼 함수에는 DET 또는 DEM을 통한 특정 오류 코드나 오류 메시지가 제공되지 않습니다.

객체의 상태를 변경하지 않는 상수 멤버 함수(const)이므로, 경합하는 쓰기 접근이 발생하지 않는 한 동일한 인스턴스에 대한 동시 읽기 접근은 문제가 없을 것으로 보입니다. 질문 (열림)

문자열 클래스 그룹 내에서 이 오버로드는 const BasicString&을(를) 위한 변형과 예외 안전성을 공유합니다([SWS_CORE_03333]). 이와 대조적으로 원시 포인터 및 단일 문자 기반의 오버로드([SWS_CORE_03334], [SWS_CORE_03335], [SWS_CORE_03336])는 not exception safe로 명시되어 있습니다. 비교 가능한 검색 함수는 ara::core::StringView에서도 제공되며([SWS_CORE_02169], [SWS_CORE_02170], [SWS_CORE_02171], [SWS_CORE_02172]), 이들은 추가로 constexpr(으)로 지정되어 있습니다.

이 텍스트는 R25-11 명세를 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03318
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03318@rel:R25-11#28fcff12
Content hash
28fcff12
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03318
Status: valid/unmigrated Version: rel:R25-11#87aa553d Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03318@rel:R25-11#87aa553d
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4302dfdc2026-09-30
  • R19-11rel:R19-11#52aa69b42026-10-14
  • R20-11rel:R20-11#1a4b36ea2026-10-14
  • R21-11rel:R21-11#be0d2f602026-10-14
  • R22-11rel:R22-11#d8d40e182026-10-14
  • R23-11rel:R23-11#50ae25f02026-10-14
  • R24-11rel:R24-11#26c417aa2026-10-14
  • R25-11rel:R25-11#87aa553d2026-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_03065]

reference front ();

As per corresponding usage in [basic.string]

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

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

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

함수 front [SWS_CORE_03066]

const_reference front () const;

As per corresponding usage in [basic.string]

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

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

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

함수 get_allocator [SWS_CORE_03415]

allocator_type get_allocator () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 insert [SWS_CORE_03093]

BasicString & insert (size_type pos, const BasicString &str);

As per corresponding usage in [basic.string]

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

ara::core::BasicString([SWS_CORE_03093])의 멤버 함수 insert은 지정된 위치에 문자열을 동기식으로 삽입하는 역할을 합니다. 이 함수는 size_type 타입의 인덱스 pos 및 삽입할 BasicString 객체에 대한 상수 참조 str를 필요로 하며, 수정된 인스턴스에 대한 참조를 반환합니다([SWS_CORE_03093]). 이때 기능적 동작은 [basic.string]([SWS_CORE_03093])의 해당 시맨틱을 따릅니다.

이 함수에 대해 특정 오류 코드 및 DET 또는 DEM에 대한 보고는 정의되어 있지 않습니다. 사양에서는 이 함수를 명시적으로 “not exception safe”로 분류합니다([SWS_CORE_03093]). 따라서 삽입 작업 또는 필요한 메모리 할당 중에 오류가 발생하는 경우 객체 상태에 대한 예외 안전성 보장이 유지되지 않을 것으로 추정됩니다(해석). 질문 Q-7c9b0483885688ae (열림)

호출은 호출자의 컨텍스트에서 동기식으로 수행됩니다. 여러 스레드가 동일한 문자열 인스턴스에 동시에 읽기 및 쓰기 접근을 수행하는 경우 외부 동기화 없이는 스레드 안전성이 제공되지 않을 것으로 추정됩니다(해석). 질문 Q-5fc68a1ccad5b75b (열림)

이러한 동작은 AUTOSAR Adaptive 컨테이너의 사양 패턴에 일관되게 들어맞습니다. ara::core::Vector([SWS_CORE_01367]) 또는 ara::core::Map([SWS_CORE_01460])와 같은 관련 컨테이너에서도 insert 오버로드는 해당 C++ 표준 컨테이너를 따르며 일관되게 예외 안전하지 않은 것으로 표시되어 있습니다.

이 텍스트는 AI 시스템에 의해 생성되었으며 구속력 없는 가이드 역할을 합니다.

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

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

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

함수 insert [SWS_CORE_03094]

BasicString & insert (size_type pos1, const BasicString &str, size_type pos2, size_type n=npos);

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

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

사용법 및 호출 컨텍스트

클래스 ara::core::BasicString([SWS_CORE_03094])의 멤버 함수 insert은(는) 소스 문자열의 부분 문자열을 현재 문자열에 삽입합니다. 이 함수는 헤더 ara/core/string.h을(를) 통해 제공됩니다([SWS_CORE_03094]). 인수로 이 함수는 삽입 인덱스 pos1, 소스 참조 str, str 내의 시작 인덱스 pos2, 그리고 기본값 npos을(를) 갖는 삽입할 문자 수 n(선택 사항)를 전달받습니다([SWS_CORE_03094]). 반환값은 수정된 BasicString 객체에 대한 참조입니다([SWS_CORE_03094]).

오류 처리 및 예외 안전성

동작은 기본적으로 표준 라이브러리 [basic.string]을(를) 따르지만 한 가지 구체적인 편차가 있습니다: pos1 > size() 또는 pos2 > str.size()이(가) 참인 경우, std::out_of_range 대신 IsoStdOutOfRangeViolation이(가) 발생합니다([SWS_CORE_03094]). 이 연산은 예외 안전하지 않음(not exception safe)(으)로 명시되어 있습니다([SWS_CORE_03094]). 따라서 오류가 발생할 경우 객체가 유효한 초기 상태를 유지한다는 보장이 없습니다.

동시성 및 제약사항

해석: 메서드 호출이 대상 인스턴스를 직접 수정하고 동기화 특성이 명시되어 있지 않으므로, 동일한 인스턴스에 동시 접근할 경우 이 함수는 재진입 가능하지도 않고 스레드 안전하지도 않을 것으로 보입니다. 질문 Q-6727ae094800c27a (열림) 호출자는 경쟁적 접근을 외부에서 동기화해야 합니다.

관련 컨테이너와의 상호 작용

해당 insert 함수는 ara::core::Vector([SWS_CORE_01367], [SWS_CORE_01369]) 및 ara::core::Map([SWS_CORE_01460], [SWS_CORE_01468])와 같은 다른 AUTOSAR 컨테이너에도 존재합니다. 해당 오버로드가 주로 위치 기반 반복자나 노드를 사용하는 반면, 본 문자열 연산은 인덱스 기반으로 작동합니다. 모든 구현의 공통점은 예외 안전성이 배제된다는 점입니다([SWS_CORE_03094], [SWS_CORE_01367], [SWS_CORE_01460]).

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

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

함수 insert [SWS_CORE_03095]

BasicString & insert (size_type pos, const value_type *s, size_type n);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type 2. if ( pos1 > size() ) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range 3. if ( size() + n > max_size() ) IsoStdLengthErrorViolation is raised instead of std::length_error

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

클래스 ara::core::BasicString의 멤버 함수 insert([SWS_CORE_03095], 헤더 ara/core/string.h을(를) 통해 제공됨)은 0 기반 인덱스 위치 pos부터 포인터 s(타입 const value_type*)의 n개 문자로 구성된 문자 시퀀스를 기존 문자열에 동기식으로 삽입합니다. 동작은 [basic.string]의 시맨틱을 따르며, 여기서 charT은(는) value_type(으)로 대체됩니다. 반환값으로 이 함수는 호출 BasicString 객체에 대한 참조를 반환하므로 호출 체이닝이 가능합니다 [SWS_CORE_03095].

오류 처리 및 제약 조건

표준 C++ 예외 대신 구현은 AUTOSAR 고유의 위반을 발생시킵니다 [SWS_CORE_03095]:

  • 삽입 위치가 문자열 끝을 벗어난 경우(조건 pos > size(), 명세 텍스트에서는 pos1 > size()(으)로 지칭됨), std::out_of_range 대신 IsoStdOutOfRangeViolation이(가) 발생합니다 [SWS_CORE_03095].
  • 삽입 후 전체 크기가 허용된 최대값을 초과하는 경우(size() + n > max_size()), std::length_error 대신 IsoStdLengthErrorViolation이(가) 발생합니다 [SWS_CORE_03095].

동시성 및 상호 작용

이 연산은 not exception safe로 명시되어 있습니다 [SWS_CORE_03095]. 해석: 동일한 BasicString 인스턴스에 대한 병렬 수정 접근은 스레드 안전하지 않을 것으로 보이며, 따라서 외부 동기화 보호가 필요합니다. 질문 Q-0c81a6b19e4c5c7b (열림) 반복자 기반으로 작동하고 반복자를 반환하는 ara::core::Vector::insert [SWS_CORE_01367] 또는 ara::core::Map::insert [SWS_CORE_01460]와(과) 같은 관련 컨테이너 연산과 달리, 여기서 위치 지정은 인덱스를 통해 인덱스 기반으로 수행됩니다.

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

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception safe
Verletzungen (Violations)IsoStdLengthEr- Description as per std::length_error rorViolation 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_03095
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03095@rel:R25-11#f520c757
Content hash
f520c757
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03095
Status: valid/unmigrated Version: rel:R25-11#4e72a65a Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03095@rel:R25-11#4e72a65a
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 insert [SWS_CORE_03096]

BasicString & insert (size_type pos, const value_type *s);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

클래스 ara::core::BasicString의 멤버 함수 insert은(는) 위치 pos부터 기존 문자열 객체에 널 종료 문자 배열을 삽입합니다([SWS_CORE_03096]). 선언은 헤더 파일 ara/core/string.h을(를) 통해 이루어집니다([SWS_CORE_03096]). 기능적 동작은 문자 타입 charT이(가) value_type(으)로 대체된다는 특정 차이점을 제외하고 [basic.string]에 따른 표준 사용법과 일치합니다([SWS_CORE_03096]). 실행은 동기식으로 이루어지며 수정된 인스턴스에 대한 참조를 반환합니다([SWS_CORE_03096]).

오류 처리 및 동시성

이 인터페이스는 명시적으로 예외에 안전하지 않음(not exception safe)(으)로 지정되어 있습니다([SWS_CORE_03096]). 이 함수에 대해 특정 오류 코드, 오류 표시를 위한 반환값 또는 DET/DEM에 대한 메시지는 정의되어 있지 않습니다. 유효하지 않은 메모리 액세스나 재할당 오류가 포착되지 않으므로, 전달된 포인터 s은(는) 유효한 널 종료 배열을 가리켜야 할 것으로 추정됩니다. 질문 Q-071709eb5beba24b (열림) 동일한 인스턴스에 대한 수정 호출은 병렬 액세스 시 스레드 안전하지 않을 것으로 보이며 외부 동기화가 필요합니다.

상호 작용

이 연산은 ara::core의 통일된 인터페이스 설계에 부합합니다. 유사한 insert 오버로드가 ara::core::Vector([SWS_CORE_01367], [SWS_CORE_01368], [SWS_CORE_01370]) 및 ara::core::Map([SWS_CORE_01418]에 따른 insert_return_type을(를) 포함하는 [SWS_CORE_01460], [SWS_CORE_01468])에 대해 존재하며, 이들 역시 일관되게 예외에 안전하지 않은 것으로 선언되어 있습니다.

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

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

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

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

함수 insert [SWS_CORE_03097]

BasicString & insert (size_type pos, size_type n, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용법 및 시그니처

클래스 ara::core::BasicString의 멤버 함수 insert은(는) 헤더 #include "ara/core/string.h"을(를) 통해 제공됩니다 [SWS_CORE_03097]. 이 함수는 문자 위치 pos에 value_type 타입의 연속된 문자 c을(를) n개 동기식으로 삽입하는 역할을 합니다:

BasicString & insert (size_type pos, size_type n, value_type c);

이 함수는 호출하는 BasicString 객체에 대한 참조를 반환하여 연산의 체이닝을 가능하게 합니다. 시맨틱은 타입 매개변수 charT이(가) value_type(으)로 대체된다는 유일한 차이점을 제외하고 [basic.string]에 대한 정의와 일치합니다 [SWS_CORE_03097].

오류 처리 및 동시성

예외 안전성과 관련하여 이 함수는 명시적으로 not exception safe로 분류됩니다 [SWS_CORE_03097]. 특정 오류 코드, AUTOSAR 반환값 또는 DET/DEM에 대한 메시지는 정의되어 있지 않습니다. 해석: 내부 메모리 할당이 실패하거나 pos이(가) 문자열의 유효한 범위를 벗어나는 경우, 복구 보장이 지정되어 있지 않으므로 인스턴스가 불일치 상태로 남을 가능성이 큽니다. 질문 (열림)

동시성과 관련하여 사양에는 동기화 메커니즘이 포함되어 있지 않습니다. 해석: ara::core::BasicString의 동일한 인스턴스에 대한 insert의 수정 호출은 스레드 안전하지 않을 것으로 보이며 병렬 액세스 시 외부 보호가 필요합니다. 질문 Q-9e2bbadca2f58f9a (열림)

Core 모듈에서의 상호 작용

이 함수는 ara::core 데이터 구조의 인터페이스 라인업에 속합니다:

  • 동적 배열의 경우 ara::core::Vector은(는) 유사한 insert 오버로드(예: 여러 요소 [SWS_CORE_01369] 또는 단일 요소 [SWS_CORE_01367] 삽입용)를 제공하며, 이들 역시 예외에 안전하지 않은 것으로 선언되어 있습니다.
  • ara::core::Map과(와) 같은 연관 컨테이너는 동일한 예외 동작을 사용하는 유사한 삽입 연산 [SWS_CORE_01460]을(를) 정의합니다.

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

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

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

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

함수 insert [SWS_CORE_03098]

iterator insert (const_iterator p, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용법 및 시그니처

클래스 ara::core::BasicString의 멤버 함수 insert은(는) 헤더 #include "ara/core/string.h"을(를) 통해 제공됩니다 [SWS_CORE_03098]. 이 함수는 const_iterator 타입의 반복자 p 및 value_type 타입의 문자 c을(를) 받아 iterator을(를) 반환합니다 [SWS_CORE_03098]. 기능적 시맨틱은 [basic.string]의 정의를 따르며, 여기서 charT은(는) value_type(으)로 대체됩니다 [SWS_CORE_03098]. 해석: 반환된 반복자는 위치 p에 새로 삽입된 문자를 가리킬 것으로 보입니다. 질문 Q-077bda6c9d78be47 (열림)

오류 처리 및 제한 사항

예외 안전성과 관련하여 이 연산은 \"not exception safe\"로 선언되어 있습니다 [SWS_CORE_03098]. 특정 오류 코드 및 DET 또는 DEM에 대한 메시지는 사양에 제공되어 있지 않습니다. 해석: 실행 중 오류가 발생할 경우 문자열 객체의 상태와 관련된 보장이 없을 것으로 보입니다. 질문 Q-f477ec410287f50a (열림)

관련 컨테이너와의 상호 작용

삽입 연산의 패턴과 \"not exception safe\" 분류는 ara::core의 다른 컨테이너 표준과 일치합니다:

이 텍스트는 사양 요구 사항을 기반으로 AI 시스템에 의해 생성되었습니다.

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

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

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

함수 insert [SWS_CORE_03099]

iterator insert (const_iterator p, size_type n, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

클래스 ara::core::BasicString([SWS_CORE_03099])의 메서드 insert은(는) 문자열의 정의된 위치에 여러 동일한 문자를 동기식으로 삽입하는 역할을 합니다. 포함은 헤더 파일 #include "ara/core/string.h"을(를) 통해 이루어집니다.

사용법 및 매개변수

호출은 [basic.string]의 시맨틱에 따라 시그니처 iterator insert(const_iterator p, size_type n, value_type c)을(를) 통해 수행되며, 여기서 charT은(는) value_type(으)로 대체됩니다([SWS_CORE_03099]):

  • p: 내용이 삽입될 위치(const_iterator)의 반복자입니다.
  • n: 삽입할 문자의 개수(size_type)입니다.
  • c: 삽입할 value_type 타입의 문자 값입니다.

반환값으로 이 함수는 새로 삽입된 첫 번째 문자 또는 위치 p에 대한 iterator을(를) 반환합니다.

오류 처리 및 제약 조건

사양은 이 작업을 명시적으로 예외에 안전하지 않음(\"not exception safe\")으로 분류합니다([SWS_CORE_03099]). 페이로드에는 특정 오류 코드, DET 또는 DEM 메시지가 정의되어 있지 않습니다. 해석: 예외 보증이 없으므로 필요한 메모리 할당이 실패할 경우 즉시 실행이 중단되거나 불일치 상태가 초래될 가능성이 큽니다. 질문 Q-9adc31e2e79f76fd (열림)

상호 작용

이 인터페이스는 AUTOSAR 순차 컨테이너의 일반적인 제공 패턴을 따릅니다. 다중 삽입을 위한 기능적으로 동등한 오버로드가 ara::core::Vector([SWS_CORE_01369])에 대해 존재하며, 이 역시 마찬가지로 예외에 안전하지 않은 것으로 명시되어 있습니다. 이와 대조적으로 ara::core::Map과(와) 같은 연관 컨테이너는 주로 쌍 또는 노드 기반 인터페이스([SWS_CORE_01460], [SWS_CORE_01468])를 사용합니다.

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

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

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

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

함수 insert [SWS_CORE_03100]

template <class InputIterator> iterator insert (const_iterator p, InputIterator first, InputIterator last);

As per corresponding usage in [basic.string]

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

헤더 ara/core/string.h에 선언된 클래스 ara::core::BasicString([SWS_CORE_03100])의 템플릿 함수 insert은(는) 입력 반복자 first 및 last에 의해 정의된 시퀀스를 반복자 위치 p의 문자열에 동기식으로 삽입합니다. 동작 및 반환되는 iterator은(는) C++ 표준 라이브러리 [basic.string]의 해당 정의를 따릅니다 [SWS_CORE_03100].

오류 처리와 관련하여 이 함수는 명시적으로 not exception safe로 분류됩니다 [SWS_CORE_03100]. 사양에는 특정 오류 코드나 DET 또는 DEM 메시지가 포함되어 있지 않습니다. 메모리 할당 실패와 같이 삽입 중에 오류가 발생하는 경우 인스턴스의 원래 상태가 복구되지 않을 것으로 보이며, 이 연산은 트랜잭션 안전성을 제공하지 않을 것으로 추정됩니다. 질문 (열림)

동시성과 관련하여 이 메서드는 동일한 인스턴스에서 재진입이 불가능합니다. 외부 동기화 없는 동시 액세스는 데이터 레이스로 이어질 수 있습니다. 또한 재할당이나 요소 이동 가능성으로 인해 문자열에 대한 기존 반복자 및 참조가 무효화될 수 있습니다. 질문 Q-6b99b21f80d01f8a (열림)

이러한 패턴은 AUTOSAR Adaptive Core의 일관된 인터페이스 설계와 일치합니다: insert의 범위 기반 오버로드는 ara::core::Vector([SWS_CORE_01370]) 및 ara::core::Map([SWS_CORE_01466])에 대해 유사하게 존재하며, 이들 역시 표준 컨테이너를 기반으로 하며 예외에 안전하지 않은 것으로 선언되어 있습니다.

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

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

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

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

함수 insert [SWS_CORE_03101]

iterator insert (const_iterator p, std::initializer_list< value_type >);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용법 및 의미론

클래스 ara::core::BasicString의 멤버 함수 insert은(는) 반복자 p(타입 const_iterator)에 의해 지정된 위치 앞에 std::initializer_list<value_type>의 내용을 삽입하고 처음 삽입된 요소에 대한 iterator을(를) 반환합니다 [SWS_CORE_03101]. 선언은 헤더 ara/core/string.h을(를) 통해 제공됩니다 [SWS_CORE_03101]. 기능적 시맨틱은 C++ 표준 라이브러리 [basic.string]의 정의와 일치하며, 여기서 charT은(는) value_type(으)로 대체됩니다 [SWS_CORE_03101].

오류 처리 및 예외 안전성

사양은 특정 오류 코드, 오류 발생 시의 반환값 또는 DET나 DEM에 대한 알림을 정의하지 않습니다. 예외 안전성은 명시적으로 not exception safe로 지정되어 있습니다 [SWS_CORE_03101]. 메모리 할당과 같은 내부 연산이 실패할 경우 구현은 문자열 상태에 대한 일관성 보장을 제공하지 않습니다.

동시성 및 제약사항

이 작업은 호출 스레드의 컨텍스트에서 동기식으로 실행됩니다. 해석: 사양에 내부 동기화 메커니즘이 제공되지 않으므로, 외부 동기화 없이 ara::core::BasicString의 동일한 인스턴스에 대한 동시 수정 액세스는 스레드 안전하지 않을 것으로 보입니다. 질문 Q-11ec8e3ae2b8cf90 (열림)

모듈 내 상호 작용

초기화 목록을 통한 요소 삽입은 모듈 core에서 일관된 패턴을 따릅니다:

  • ara::core::Vector은(는) 단일 값 및 반복자 범위에 대한 오버로드 [SWS_CORE_01367] [SWS_CORE_01370] 외에도 iterator insert(const_iterator, std::initializer_list<T>)을(를) 통해 유사한 삽입 함수 [SWS_CORE_01371]을(를) 제공합니다.
  • ara::core::Map은(는) void insert(std::initializer_list<value_type>)을(를) 통해 대량 삽입 연산 [SWS_CORE_01467]도 제공하며, 이는 문자열 변형과 마찬가지로 not exception safe로 분류됩니다.

이 텍스트는 자동으로 생성되었습니다. 모든 기술적 정보는 AUTOSAR 릴리스 R25-11을 기반으로 합니다.

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

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

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

함수 insert [SWS_CORE_03310]

BasicString & insert (size_type pos, StringView sv);

As per corresponding usage in [basic.string]

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

클래스 ara::core::BasicString([SWS_CORE_03310])의 멤버 함수 insert은(는) 지정된 인덱스 위치(size_type pos)의 문자열에 문자열 뷰(StringView sv)의 내용을 동기적으로 삽입합니다. [SWS_CORE_03310]에 따르면, 해당 시맨틱은 [basic.string]의 사양과 일치합니다. 이 함수는 수정된 문자열(BasicString &)에 대한 참조를 반환하므로 여러 작업을 연쇄적으로 호출할 수 있습니다.

사용하려면 헤더 #include "ara/core/string.h"을(를) 포함해야 합니다([SWS_CORE_03310]). 예외 처리와 관련하여, 이 작업은 명시적으로 예외 안전하지 않음(not exception safe)으로 지정되어 있습니다([SWS_CORE_03310]). 따라서 삽입 또는 내부 메모리 할당 중에 오류가 발생하는 경우, 객체 상태에 대한 예외 안전성 보장이 존재하지 않습니다.

재진입성 및 동시성과 관련하여, 외부 동기화 없이 동일한 인스턴스에 동시에 접근할 경우 해당 메서드는 스레드 안전하지 않을 것으로 추정됩니다. 질문 Q-9b667a676acb9f5d (열림) 이러한 동작은 ara::core의 다른 컨테이너 작업과 일치하며, ara::core::Vector([SWS_CORE_01367], [SWS_CORE_01368], [SWS_CORE_01369], [SWS_CORE_01370], [SWS_CORE_01371]) 및 ara::core::Map([SWS_CORE_01460], [SWS_CORE_01468])의 수정 삽입 함수들도 마찬가지로 예외 안전하지 않음으로 정의되어 있습니다.

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03310
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03310@rel:R25-11#83b29cca
Content hash
83b29cca
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03310
Status: valid/unmigrated Version: rel:R25-11#a9000c7b Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03310@rel:R25-11#a9000c7b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c39449eb2026-09-30
  • R19-11rel:R19-11#0e0267ea2026-10-14
  • R20-11rel:R20-11#77ccaff42026-10-14
  • R21-11rel:R21-11#205dc51e2026-10-14
  • R22-11rel:R22-11#d9b3549e2026-10-14
  • R23-11rel:R23-11#dc8286112026-10-14
  • R24-11rel:R24-11#1a955fe62026-10-14
  • R25-11rel:R25-11#a9000c7b2026-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

함수 insert [SWS_CORE_03311]

template <class T> BasicString & insert (size_type pos1, const T &t, size_type pos2, size_type n=npos);

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

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

사용법 및 호출 컨텍스트

클래스 ara::core::BasicString([SWS_CORE_03311])의 템플릿 함수 insert은(는) 객체 t의 문자 시퀀스를 기존 문자열의 위치 pos1에 동기적으로 삽입합니다. pos2 및 선택적 길이 지정 n(기본값 npos)을 통해 읽어올 t의 하위 범위를 지정합니다. 반환값으로 이 함수는 수정된 BasicString 객체에 대한 참조(*this)를 제공합니다. 이때 사양이 sv.size()을(를) 참조하므로, 소스 객체 t은(는) std::string_view 또는 타입 호환되는 문자형 객체로 해석되는 것으로 추정됩니다. 질문 Q-d3ce468fb83c3519 (열림)

오류 처리 및 예외 동작

이 함수는 오류 처리 시 ISO C++ 표준에서 의도적으로 벗어납니다. pos1이(가) 대상 문자열의 길이(pos1 > size())를 초과하거나 pos2이(가) 소스 범위의 길이(pos2 > sv.size())를 초과하는 경우, std::out_of_range 대신 IsoStdOutOfRangeViolation이(가) 발생합니다([SWS_CORE_03311]). 또한 사양에서는 이 함수를 예외 안전하지 않음(not exception safe)으로 분류하므로([SWS_CORE_03311]), 메모리 오류 발생 시 원래 객체 상태의 보존이 보장되지 않을 것으로 추정됩니다. 질문 Q-e1feaf7fe13a8b16 (열림)

동시성 및 상호 작용

명시적인 재진입성 사양이 없으므로, 보호되지 않은 동일 인스턴스에 대한 병렬 쓰기 또는 읽기 접근은 스레드 안전하지 않을 것으로 추정됩니다. 질문 (열림) 반복자 기반으로 작동하며 마찬가지로 예외 안전하지 않은 것으로 간주되는 ara::core::Vector([SWS_CORE_01367]) 또는 ara::core::Map([SWS_CORE_01460])와 같은 다른 핵심 컨테이너의 insert 함수와 비교할 때, BasicString::insert은(는) 인덱스 기반으로 작동하며 AUTOSAR 고유의 위반 개념([SWS_CORE_03311])을 통합합니다.

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

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception 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_03311
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03311@rel:R25-11#6f0ac11f
Content hash
6f0ac11f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03311
Status: valid/unmigrated Version: rel:R25-11#62bf1049 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03311@rel:R25-11#62bf1049
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ba5ad97d2026-09-30
  • R19-11rel:R19-11#6faf2c3a2026-10-14
  • R20-11rel:R20-11#cce541312026-10-14
  • R21-11rel:R21-11#52705dfb2026-10-14
  • R22-11rel:R22-11#f89e0cc72026-10-14
  • R23-11rel:R23-11#a74846012026-10-14
  • R24-11rel:R24-11#944e7ad42026-10-14
  • R25-11rel:R25-11#62bf10492026-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_03060]

size_type length () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 max_size [SWS_CORE_03053]

size_type max_size () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 operator= [SWS_CORE_03021] Upstream: RS_AP_00145

BasicString & operator= (const BasicString &str);

As per corresponding usage in [basic.string]

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

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

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

함수 operator= [SWS_CORE_03023] Upstream: RS_AP_00145

BasicString & operator= (BasicString &&str) noexcept(std::allocator_ traits< Allocator >::propagate_on_container_move_ assignment::value||std::allocator_traits< Allocator >::is_always_ equal::value);

As per corresponding usage in [basic.string]

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

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

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

함수 operator= [SWS_CORE_03035]

BasicString & operator= (const value_type *s);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

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

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

함수 operator= [SWS_CORE_03036]

BasicString & operator= (value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

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

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

함수 operator= [SWS_CORE_03037]

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

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

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

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

함수 operator= [SWS_CORE_03304]

BasicString & operator= (StringView sv);

As per corresponding usage in [basic.string]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03304
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03304@rel:R25-11#6b8c27ac
Content hash
6b8c27ac
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03304
Status: valid/unmigrated Version: rel:R25-11#e1480f61 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03304@rel:R25-11#e1480f61
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c5d4e70d2026-09-30
  • R19-11rel:R19-11#9f3c52e32026-10-14
  • R20-11rel:R20-11#d5f95de02026-10-14
  • R21-11rel:R21-11#f3556bbd2026-10-14
  • R22-11rel:R22-11#c0297a6d2026-10-14
  • R23-11rel:R23-11#f43a1fe02026-10-14
  • R24-11rel:R24-11#cfaf14ed2026-10-14
  • R25-11rel:R25-11#e1480f612026-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

함수 operatorStringView [SWS_CORE_03301]

operator StringView () const noexcept;

As per corresponding usage in [basic.string]

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03301@rel:R25-11#000abe44
Content hash
000abe44
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03301
Status: valid/unmigrated Version: rel:R25-11#50dddbb9 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03301@rel:R25-11#50dddbb9
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#9f4795fb2026-09-30
  • R19-11rel:R19-11#f0d4c1a12026-10-14
  • R20-11rel:R20-11#ce78af432026-10-14
  • R21-11rel:R21-11#1e26e6ad2026-10-14
  • R22-11rel:R22-11#fa8cc98d2026-10-14
  • R23-11rel:R23-11#005096c22026-10-14
  • R24-11rel:R24-11#ba5a934e2026-10-14
  • R25-11rel:R25-11#50dddbb92026-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_03061]

reference operator[] (size_type n);

As per corresponding usage in [basic.string]

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

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

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

함수 operator[] [SWS_CORE_03062]

const_reference operator[] (size_type n) const;

As per corresponding usage in [basic.string]

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

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

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

함수 pop_back [SWS_CORE_03105]

void pop_back ();

As per corresponding usage in [basic.string]

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

ara::core::BasicString([SWS_CORE_03105])의 멤버 함수 pop_back은(는) 헤더 #include "ara/core/string.h"을(를) 통해 제공됩니다. 이 함수는 시그니처 void pop_back()을(를) 가지며, 전달 매개변수를 받지 않고 반환값도 반환하지 않습니다. 명세에 따르면 동작은 [basic.string]([SWS_CORE_03105])에서의 해당 사용에 부합합니다. 해석: [basic.string]과(와) 일치하게 이 연산은 문자열에서 마지막 문자를 동기식으로 제거할 것으로 보입니다. 질문 Q-857ed5f71128639e (열림)

오류 처리 및 견고성과 관련하여 이 함수는 not exception safe([SWS_CORE_03105])(으)로 분류되어 있습니다. DET 또는 DEM과 같은 특정 오류 코드나 진단 메시지는 이 인터페이스에 대해 정의되어 있지 않습니다. 오류 발생 시 예외 안전성이 보장되지 않으므로, 호출자는 실행 전에 문자열이 유효한 상태이고 비어 있지 않은지 확인해야 합니다.

모듈 core에는 순차적 데이터 구조에 대한 유사한 상호작용이 존재합니다: ara/core/vector.h의 클래스 ara::core::Vector 역시 멤버 함수 pop_back([SWS_CORE_01365])을(를) 제공합니다. 이는 [vector]의 해당 사용을 따르며, not exception safe 분류에 따라 예외 안전성과 관련된 동일한 제약을 가집니다([SWS_CORE_01365]).

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

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

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

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

함수 push_ [SWS_CORE_03083]

void push_back (value_type c);

As per corresponding usage in [basic.string]

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

사용

push_ 함수(시그니처: void push_back (value_type c);)는 ara::core::BasicString 클래스에 속하며, 기존 문자열 [SWS_CORE_03083]에 value_type 타입의 문자 c을(를) 동기적으로 추가하는 역할을 합니다. 선언은 #include "ara/core/string.h" 헤더 파일을 통해 제공됩니다 [SWS_CORE_03083]. 기술적으로 이 기능은 C++ 표준 구문 [basic.string]의 해당 용도를 따릅니다 [SWS_CORE_03083].

오류 처리

반환값이 void이므로 명세는 해당 요소에 대해 특정 오류 코드, 반환값 또는 진단 메시지를 정의하지 않습니다 [SWS_CORE_03083]. 예외 안전성과 관련하여 이 연산은 명시적으로 not exception safe(으)로 분류되어 있습니다 [SWS_CORE_03083].

동시성 및 제약사항

문자 추가로 인해 인스턴스의 상태가 변경되고 동기화 메커니즘이 지정되어 있지 않으므로, 외부 보호 조치가 없는 동일 인스턴스에 대한 동시 호출은 스레드 안전하지 않을 것으로 보입니다. 질문 Q-d8277d8d29821e14 (열림) 따라서 호출하는 소프트웨어 컴포넌트는 필요한 경우 자체적으로 접근을 조정해야 합니다.

이 텍스트는 AI에 의해 생성되었으며 AUTOSAR R25-11의 명세 데이터를 기반으로 합니다.

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

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

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

함수 rbegin [SWS_CORE_03043]

reverse_iterator rbegin () noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 rbegin [SWS_CORE_03044]

const_reverse_iterator rbegin () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 rend [SWS_CORE_03045]

reverse_iterator rend () noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 rend [SWS_CORE_03046]

const_reverse_iterator rend () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 replace [SWS_CORE_03106]

BasicString & replace (size_type pos1, size_type n1, const BasicString &str);

As per corresponding usage in [basic.string]

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

ara::core::BasicString 클래스의 멤버 함수 replace([SWS_CORE_03106], #include "ara/core/string.h"에 선언됨)은 인덱스 pos1부터 길이 n1개 문자에 해당하는 현재 문자열의 일부 영역을 전달된 BasicString str의 내용으로 동기식으로 치환합니다. 그 시맨틱은 C++ 표준 라이브러리 [SWS_CORE_03106]의 [basic.string]에 정의된 해당 정의를 따릅니다. 반환값으로는 수정된 객체에 대한 참조(BasicString &)가 제공되어 메서드 체이닝이 가능합니다[SWS_CORE_03106].

오류 처리 및 예외 안전성과 관련하여, 이 함수는 명시적으로 not exception safe로 분류되어 있습니다[SWS_CORE_03106]. 메모리 부족 등 실행 중에 오류가 발생할 경우, 작업은 정의된 초기 상태를 보장하지 않습니다. IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation와 같은 특정 AUTOSAR 위반을 명시하는 [SWS_CORE_03107] 또는 [SWS_CORE_03108]와 같은 변형들과 달리, 이 오버로드는 표준 시맨틱을 직접 참조합니다[SWS_CORE_03106].

동시성과 관련하여, 동일한 BasicString 인스턴스에 대한 수정 접근은 스레드 안전하지 않으며 외부에서 동기화되어야 한다고 볼 수 있습니다(해석). 질문 Q-c2cefaa865bd3593 (열림) 다른 치환 시나리오를 위해 관련 오버로드들이 제공됩니다: 위치 지정을 통한 부분 문자열 치환([SWS_CORE_03107]), C 문자열 포인터 사용([SWS_CORE_03108], [SWS_CORE_03109]), StringView 사용([SWS_CORE_03312]) 또는 반복자 범위 사용([SWS_CORE_03111]).

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

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

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

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

함수 replace [SWS_CORE_03107]

BasicString & replace (size_type pos1, size_type n1, const BasicString &str, size_type pos2, size_type n2=npos);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type 2. if ( pos > max_size() || pos2 > str.size() ) IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

사용

ara::core::BasicString 클래스(#include "ara/core/string.h"에 정의됨)의 동기 멤버 함수 replace은(는) 위치 pos1부터 길이 n1의 하위 시퀀스를 인덱스 pos2부터 최대 길이 n2을(를) 갖는 문자열 str의 범위로 대체합니다 [SWS_CORE_03107]. n2 매개변수는 기본적으로 npos(으)로 채워집니다 [SWS_CORE_03107]. 반환값으로 이 작업은 수정된 BasicString 객체에 대한 참조를 제공합니다 [SWS_CORE_03107]. 동작은 C++ 표준 사양 [basic.string]을(를) 따르며, 여기서 charT은(는) value_type(으)로 대체됩니다 [SWS_CORE_03107].

오류 처리 및 예외 안전성

오류 발생 시 이 함수는 표준 라이브러리와 다르게 동작합니다. pos > max_size()(해석: 아마도 pos1 매개변수를 의미하는 것으로 추정됨) 또는 pos2 > str.size()이(가) 적용되면 IsoStdOutOfRangeViolation이(가) 발생합니다 [SWS_CORE_03107]. 이 함수는 명시적으로 not exception safe로 명시되어 있습니다 [SWS_CORE_03107]. 질문 Q-b4dc7d797ee025d8 (열림)

동시성 및 제약사항

이 메서드는 예외 안전하지 않은 것으로 선언되어 있으므로 위반이 발생할 경우 객체가 일관되지 않은 상태로 남을 수 있습니다 [SWS_CORE_03107]. 따라서 호출자는 전달된 인덱스가 유효한 경계 내에 있는지 확인해야 합니다. 사양에는 스레드 안전성을 위한 특별한 조치가 제공되지 않습니다.

상호 작용

이 작업은 ara::core::BasicString의 replace 오버로드 집합에 포함되어 있습니다. 이는 전체 문자열 [SWS_CORE_03106], C-문자열 [SWS_CORE_03108], StringView [SWS_CORE_03312]뿐만 아니라 제네릭 타입 [SWS_CORE_03313] 및 반복자 범위 [SWS_CORE_03111]를 위한 변형과 직접 관련이 있습니다.

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

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

함수 replace [SWS_CORE_03108]

BasicString & replace (size_type pos, size_type n1, const value_type *s, size_type n2);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type 2. if ( pos1 > size() ) IsoStdOutOfRangeViolation is raised instead of std:: out_of_range 3. IsoStdLengthErrorViolation is raised instead of std::length_error (see condition in [11] )

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

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

사용

ara::core::BasicString 클래스의 replace 멤버 함수는 ara/core/string.h 헤더를 통해 제공됩니다 [SWS_CORE_03108]. 이 함수는 호출 문자열의 인덱스 pos부터 최대 길이 n1개 요소의 하위 시퀀스를 const value_type* 타입의 전달된 배열 포인터 s에서 가져온 정확히 n2개의 문자로 동기식으로 대체합니다 [SWS_CORE_03108]. 동작은 ISO/IEC 14882:2017의 [basic.string] 시맨틱을 따르며, 여기서 AUTOSAR는 제네릭 문자 타입 charT을(를) value_type(으)로 대체합니다 [SWS_CORE_03108]. 반환값으로 이 함수는 수정된 인스턴스(BasicString&)에 대한 참조를 반환합니다 [SWS_CORE_03108].

오류 처리 및 Violations

잘못된 호출 매개변수가 있거나 용량을 초과하는 경우 AUTOSAR 전용 Violations가 발생합니다 [SWS_CORE_03108]:

  • IsoStdOutOfRangeViolation: 시작 인덱스 pos이(가) 현재 문자열 끝을 벗어나는 경우 발생합니다(사양 텍스트에는 pos1 > size()(으)로 선언됨; 해석: pos1은(는) 매개변수 pos을(를) 가리키는 것으로 추정됨) [SWS_CORE_03108]. 질문 Q-9aaa96ad13e137aa (열림)
  • IsoStdLengthErrorViolation: 결과 문자열 길이가 한계값을 초과할 때 std::length_error 대신 발생합니다 [SWS_CORE_03108].

동시성 및 제약사항

이 함수는 명시적으로 예외 안전하지 않음(“not exception safe”)으로 명시되어 있습니다 [SWS_CORE_03108]. 객체를 직접 수정하므로 외부 동기화 없이 여러 스레드가 동일한 인스턴스에 동시 접근하면 데이터 레이스가 발생할 수 있습니다. 질문 Q-38b0f634ce53f9da (열림)

상호 작용

이 메서드는 ara::core::BasicString의 관련된 replace 오버로드 제품군에 속합니다. 이는 전체 문자열([SWS_CORE_03106], [SWS_CORE_03107]), 널 종료 문자열([SWS_CORE_03109]) 또는 StringView([SWS_CORE_03312])을(를) 사용한 호출뿐만 아니라 [SWS_CORE_03112]과(와) 같은 반복자 기반 대체를 보완합니다.

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 AI에 의해 생성되었습니다.

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception safe
Verletzungen (Violations)IsoStdLengthEr- Description as per std::length_error rorViolation 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_03108
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03108@rel:R25-11#e971b9ff
Content hash
e971b9ff
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03108
Status: valid/unmigrated Version: rel:R25-11#ccb57ce9 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03108@rel:R25-11#ccb57ce9
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 replace [SWS_CORE_03109]

BasicString & replace (size_type pos, size_type n1, const value_type *s);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스([SWS_CORE_03109])의 동기 멤버 함수 replace은 0 기반 인덱스 pos부터 최대 n1개의 문자를 전달된 널 종료 문자열 s로 대체합니다. 이 인터페이스는 헤더 #include "ara/core/string.h"을 통해 제공됩니다. 사양에 따르면 동작은 charT이 value_type로 대체된다는 문서화된 편차([SWS_CORE_03109])와 함께 C++ 표준 정의 [basic.string]을 따릅니다. 반환값으로 함수는 수정된 BasicString 객체에 대한 참조를 반환합니다.

예외 및 오류 처리와 관련하여, 이 메서드는 명시적으로 예외 안전하지 않음(“not exception safe”)으로 지정되어 있습니다([SWS_CORE_03109]). 해석: 실행 중 문자열 확장으로 인해 메모리 할당이 실패할 경우, 객체는 유효하지 않은 상태로 남을 것으로 추정됩니다. 질문 Q-93f202b2d0d414e3 (열림) [SWS_CORE_03107] 또는 [SWS_CORE_03108]와 같은 다른 오버로드가 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation와 같은 특정 런타임 위반을 나열하는 반면, 이 사양 항목은 별도의 위반 사항을 명시하지 않습니다.

replace은 객체 상태를 변경하므로, 동일한 인스턴스에 대한 동시 접근에 대해 동시성 안전하지 않습니다. BasicString의 인터페이스와 연계하여 이 시그니처는 널 종료 포인터를 다루며 다른 오버로드를 보완합니다:

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

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

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

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

함수 replace [SWS_CORE_03110]

BasicString & replace (size_type pos, size_type n1, size_type n2, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스([SWS_CORE_03110])의 멤버 함수 replace은 문자열 내의 특정 범위를 동기식으로 대체하는 역할을 합니다. 문자 기반 시작 위치 pos부터 최대 n1개의 기존 문자를 value_type 타입의 문자 c의 연속된 복사본 n2개로 대체합니다. 결과로서 이 메서드는 호출한 BasicString 객체에 대한 참조를 반환하여 추가 문자열 작업의 체이닝을 가능하게 합니다. 정의는 헤더 파일 #include "ara/core/string.h"를 통해 제공됩니다([SWS_CORE_03110]).

오류 및 예외 동작과 관련하여 이 함수는 예외 안전하지 않음(not exception safe)으로 명시되어 있습니다([SWS_CORE_03110]). 기능적 동작은 charT이 value_type로 대체된 [basic.string]의 C++ 표준 라이브러리 정의를 따릅니다. [SWS_CORE_03107] 또는 [SWS_CORE_03108]과 같은 관련 오버로드와 달리, 이 시그니처는 IsoStdOutOfRangeViolation과 같은 명시적인 위반을 명시하지 않습니다. 해석: 예외 안전성의 결여는 메모리 할당 오류 또는 유효하지 않은 범위 경계 시 객체 상태에 대한 강력한 보장이 유지되지 않음을 나타내는 것으로 추정됩니다. 질문 Q-e32aa2a2af549632 (열림)

ara::core::BasicString의 다른 메서드와의 상호작용 측면에서, 이 시그니처는 반복자를 통해 동일한 대체 작업을 수행하는 [SWS_CORE_03414]에 대한 인덱스 기반 대응부 역할을 합니다. 전체 문자열 또는 뷰의 대체에는 [SWS_CORE_03106] 또는 [SWS_CORE_03312]과 같은 대체 오버로드를 사용할 수 있습니다.

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

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

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

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

함수 replace [SWS_CORE_03111]

BasicString & replace (const_iterator i1, const_iterator i2, const BasicString &str);

As per corresponding usage in [basic.string]

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

사용

ara::core::BasicString 클래스의 멤버 함수 replace은(는) 두 반복자 i1 및 i2에 의해 한정된 일부분을 전달된 문자열 str의 내용으로 동기적으로 대체합니다[SWS_CORE_03111]. 반환값으로 함수는 수정된 객체(*this)에 대한 참조를 제공하므로 메서드 호출을 직접 체이닝할 수 있습니다[SWS_CORE_03111]. 사용을 위해서는 헤더 파일 #include "ara/core/string.h"을(를) 포함해야 합니다[SWS_CORE_03111].

오류 처리 및 제한 사항

이 함수는 명시적으로 not exception safe로 분류되어 있습니다[SWS_CORE_03111]. 예를 들어 str을(를) 수용하기 위해 필요한 내부 메모리 할당이 실패할 경우, 객체가 일관된 상태로 유지된다는 보장이 없습니다. 명시적 오류 검사와 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation와(과) 같은 Violations를 나열하는 [SWS_CORE_03107] 또는 [SWS_CORE_03108]과(와) 같은 인덱스 기반 오버로드와 달리, 이 반복자 기반 변형은 별도의 Violations를 정의하지 않습니다[SWS_CORE_03111]. 따라서 호출자는 [i1, i2)이(가) 객체 내의 유효한 범위를 나타내도록 보장해야 합니다(해석: 유효하지 않은 반복자의 전달은 정의되지 않은 동작으로 이어질 것으로 추정됩니다). 질문 Q-8f94d47f7d10451b (열림)

상호 작용

시맨틱과 관련하여 사양은 [basic.string] [SWS_CORE_03111]의 표준 C++ 동작을 참조합니다. ara::core::BasicString에서 이 시그니처는 완전한 문자열을 사용한 인덱스 기반 대체[SWS_CORE_03106]뿐만 아니라 문자 배열에 대한 포인터[SWS_CORE_03112], [SWS_CORE_03406], StringView [SWS_CORE_03314] 또는 반복자 쌍[SWS_CORE_03411]을 위한 대체 반복자 기반 오버로드를 보완합니다.

이 텍스트는 AI를 통해 작성되었으며 AUTOSAR R25-11의 사양 상태를 기반으로 합니다.

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

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

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

함수 replace [SWS_CORE_03112]

BasicString & replace (const_iterator i1, const_iterator i2, const value_type *s, size_type n);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString의 멤버 함수 replace은 반복자 [i1, i2)로 정의된 부분 문자열을 전달된 문자 배열 s의 처음 n개 문자로 대체합니다 [SWS_CORE_03112]. 호출은 동기식으로 수행되며 수정된 BasicString 객체에 대한 참조를 반환합니다 [SWS_CORE_03112]. 선언은 헤더 파일 ara/core/string.h을 통해 제공됩니다.

시맨틱은 [basic.string]에 대한 C++ 표준의 사양을 따르며, 이때 charT 타입은 value_type로 대체됩니다 [SWS_CORE_03112]. 오류 허용 오차 및 예외 안전성 측면에서 이 작업은 명시적으로 예외 안전하지 않음(not exception safe)으로 분류되어 있습니다 [SWS_CORE_03112]. [SWS_CORE_03108]와 같은 위치 기반 오버로드와 달리 이 반복자 변형에는 IsoStdOutOfRangeViolation과 같은 특정 Violation이 정의되어 있지 않습니다.

ara::core::BasicString 내의 상호 작용에서 이 함수는 관련 오버로드 그룹에 속합니다. 이 시그니처가 포인터에서 정확한 개수의 문자를 삽입하는 반면, 관련 인터페이스는 완전한 포인터 기반 문자열 [SWS_CORE_03406], StringView [SWS_CORE_03314] 또는 다른 BasicString 인스턴스 [SWS_CORE_03111]에 의한 대체를 허용합니다.

이 텍스트는 AI에 의해 작성되었으며 AUTOSAR 릴리스 R25-11을 기반으로 합니다.

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

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

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

함수 replace [SWS_CORE_03312]

BasicString & replace (size_type pos1, size_type n1, StringView sv);

As per corresponding usage in [basic.string]

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

[SWS_CORE_03312]에 따른 멤버 함수 replace은 ara::core::BasicString의 인스턴스에서 위치 pos1에서 시작하여 n1개 문자의 길이를 포함하는 하위 범위를 전달된 StringView sv의 내용으로 대체합니다. 이 함수는 수정된 BasicString 객체에 대한 참조를 반환하며 [basic.string]의 C++ 표준 사용을 따릅니다.

오류 처리 및 예외 동작과 관련하여 이 함수는 [SWS_CORE_03312]에 따라 명시적으로 not exception safe로 지정되어 있습니다. [SWS_CORE_03107], [SWS_CORE_03108] 또는 [SWS_CORE_03313]과 같은 관련 오버로드와 달리 이 시그니처는 IsoStdOutOfRangeViolation와 같은 특정 AUTOSAR Violation을 정의하지 않고 [basic.string]의 표준 동작을 직접 참조합니다.

사용을 위해 다음 경계 조건 및 인터페이스 참조가 적용됩니다:

  • 선언은 ara::core::BasicString [SWS_CORE_03312] 스코프의 헤더 파일 #include "ara/core/string.h"을 통해 이루어집니다.
  • 가변 문자열에 대한 동기 연산이므로, 이 함수는 동일한 인스턴스에 대해 재진입(reentrant)이 불가능할 것으로 보이며 동시 호출에는 외부 동기화가 필요할 것으로 추정됩니다. 질문 Q-7947ae98dff850d6 (열림)
  • 이 메서드는 StringView [SWS_CORE_03314]을 사용하는 반복자 기반 오버로드뿐만 아니라 문자열 [SWS_CORE_03106] 및 제네릭 타입의 문자열 뷰 [SWS_CORE_03313]를 위한 인덱스 기반 오버로드를 보완합니다.

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03312
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03312@rel:R25-11#9f8b519f
Content hash
9f8b519f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03312
Status: valid/unmigrated Version: rel:R25-11#f3eb990e Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03312@rel:R25-11#f3eb990e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e288b4db2026-09-30
  • R19-11rel:R19-11#08e47d6a2026-10-14
  • R20-11rel:R20-11#c9c42b2c2026-10-14
  • R21-11rel:R21-11#a619bf562026-10-14
  • R22-11rel:R22-11#b2b225d02026-10-14
  • R23-11rel:R23-11#3d829aff2026-10-14
  • R24-11rel:R24-11#243984712026-10-14
  • R25-11rel:R25-11#f3eb990e2026-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

함수 replace [SWS_CORE_03313]

template <class T> BasicString & replace (size_type pos1, size_type n1, const T &t, size_type pos2, size_type n2=npos);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type 2. if ( pos1 > size() || pos2 > sv.size() ) IsoStdOutOfRangeViolation is raised instead of std::out_of_range

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

ara::core::BasicString 클래스([SWS_CORE_03313], ara/core/string.h에 선언됨)의 템플릿 멤버 함수 replace은(는) 문자열의 부분 범위를 객체 t의 섹션으로 동기식 대체합니다. 대체할 범위는 시작 위치 pos1 및 문자 수 n1에 의해 지정됩니다. 삽입할 범위는 인덱스 pos2 및 기본값으로 npos이(가) 지정된 최대 길이 n2에 의해 결정됩니다([SWS_CORE_03313]). 함수는 반환값으로 수정된 인스턴스에 대한 참조를 제공합니다. 해석: 명세에서 pos2의 유효성을 sv.size()에 대해 검사하므로 타입 T은(는) StringView과(와) 호환 가능한 타입일 것으로 보입니다. 질문 Q-a9d2f40a8aaa1fbe (열림)

의미 체계는 ISO 표준 [basic.string]을(를) 따르지만 두 가지 구체적인 차이점을 정의합니다([SWS_CORE_03313]):

  • 문자 타입 charT이(가) value_type(으)로 대체됩니다.
  • pos1 > size() 또는 pos2 > sv.size()이(가) 적용되면 std::out_of_range 대신 위반 IsoStdOutOfRangeViolation이(가) 발생합니다.

예외 안전성과 관련하여 이 함수는 not exception safe([SWS_CORE_03313])로 간주됩니다. 모듈 컨텍스트에서 이 메서드는 부분 범위를 갖는 BasicString의 직접 전달([SWS_CORE_03107]), StringView을 사용한 대체([SWS_CORE_03312], [SWS_CORE_03314]) 및 포인터 기반 연산([SWS_CORE_03108])과 같은 관련 오버로드를 보완합니다.

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

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception 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_03313
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03313@rel:R25-11#e58941a5
Content hash
e58941a5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03313
Status: valid/unmigrated Version: rel:R25-11#82b8f92e Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03313@rel:R25-11#82b8f92e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d16ae6fb2026-09-30
  • R19-11rel:R19-11#1968392a2026-10-14
  • R20-11rel:R20-11#678924542026-10-14
  • R21-11rel:R21-11#6c48bb252026-10-14
  • R22-11rel:R22-11#994b53b72026-10-14
  • R23-11rel:R23-11#572d552f2026-10-14
  • R24-11rel:R24-11#aca364122026-10-14
  • R25-11rel:R25-11#82b8f92e2026-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

함수 replace [SWS_CORE_03314]

BasicString & replace (const_iterator i1, const_iterator i2, String View sv);

As per corresponding usage in [basic.string]

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

사용법 및 의미론

ara::core::BasicString 클래스([SWS_CORE_03314])의 멤버 함수 replace은(는) 반복자 i1 및 i2에 의해 제한된 문자 범위를 전달된 StringView sv의 내용으로 동기적으로 대체합니다. 이 함수는 헤더 파일 #include "ara/core/string.h"을(를) 통해 제공되며 수정된 인스턴스(*this)에 대한 참조를 반환합니다([SWS_CORE_03314]). 시맨틱 측면에서 이 연산은 C++ 표준의 [basic.string] 규정([SWS_CORE_03314])을 따릅니다.

오류 처리 및 제약 조건

이 작업은 사양에서 명시적으로 \"not exception safe\"로 분류되어 있습니다([SWS_CORE_03314]). [SWS_CORE_03107] 또는 [SWS_CORE_03313]와(과) 같은 관련 인덱스 기반 변형이 범위 초과 시 명시적으로 IsoStdOutOfRangeViolation을(를) 트리거하는 반면, 이 오버로드는 별도의 Violations를 정의하지 않습니다. 해석: 정의되지 않은 동작을 방지하려면 전달된 반복자 i1 및 i2이(가) 대상 인스턴스 내의 유효한 범위를 나타내야 할 것으로 추정됩니다. 질문 Q-8dc533aaab166bea (열림) 수정이 객체에서 직접 수행되고 예외 안전성이 보장되지 않으므로([SWS_CORE_03314]), 외부 동기화가 없는 동시 액세스는 스레드 안전하지 않을 것으로 추정됩니다.

모듈 내 상호 작용

이 시그니처는 BasicString의 대체 함수 제품군에 통합됩니다. 이는 StringView을(를) 통한 인덱스 기반 대체([SWS_CORE_03312])에 대한 반복자 기반 대응물 역할을 하며 문자열([SWS_CORE_03111]), 문자 배열([SWS_CORE_03112], [SWS_CORE_03406]), 반복자 범위([SWS_CORE_03411]) 및 초기화 리스트([SWS_CORE_03413])를 위한 추가 반복자 기반 오버로드를 보완합니다.

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03314
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03314@rel:R25-11#19b0210a
Content hash
19b0210a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03314
Status: valid/unmigrated Version: rel:R25-11#1790c7c6 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03314@rel:R25-11#1790c7c6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d3e907b52026-09-30
  • R19-11rel:R19-11#9d1389532026-10-14
  • R20-11rel:R20-11#5d110e932026-10-14
  • R21-11rel:R21-11#f7fadcdd2026-10-14
  • R22-11rel:R22-11#8f86b8d02026-10-14
  • R23-11rel:R23-11#4353baae2026-10-14
  • R24-11rel:R24-11#9fc2c67f2026-10-14
  • R25-11rel:R25-11#1790c7c62026-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

함수 replace [SWS_CORE_03406]

BasicString & replace (const_iterator i1, const_iterator i2, const value_type *s);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

헤더 파일 #include "ara/core/string.h"에 선언된 클래스 ara::core::BasicString([SWS_CORE_03406])의 동기 멤버 함수 replace은 반복자 쌍 [i1, i2)로 정의된 문자열의 부분 범위를 문자 시퀀스 s로 대체합니다. 이 메서드는 반환값으로 호출 인스턴스에 대한 참조(BasicString&)를 제공하므로 추가 문자열 작업의 연쇄 호출이 가능합니다. 기능적 의미론은 [basic.string]의 규정을 따르며, 차이점으로 매개변수 타입 charT이 value_type로 대체됩니다([SWS_CORE_03406]).

실행 안전성과 관련하여 이 함수는 명시적으로 예외로부터 안전하지 않음(not exception safe)으로 명시되어 있습니다([SWS_CORE_03406]). 범위 오류 발생 시 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation를 명시적으로 정의하는 [SWS_CORE_03107] 또는 [SWS_CORE_03108]과 같은 인덱스 및 위치 지정 기반 오버로드와 달리, [SWS_CORE_03406]은 AUTOSAR 관련 위반 사항을 언급하지 않습니다. 따라서 [i1, i2)이 문자열 내의 유효한 반복자 범위를 나타내고 포인터 s이 올바르게 종료된 문자 시퀀스를 가리키도록 보장하는 것은 호출자의 책임으로 추정됩니다. 질문 Q-17c75cd50135e0a8 (열림)

이 함수는 관련 인터페이스와의 상호 작용을 통해 BasicString의 대체 작업 범위를 보완합니다.

  • 포인터로부터 고정된 개수의 n개 문자로 반복자 기반 대체를 수행하기 위해 오버로드 [SWS_CORE_03112]이 제공됩니다.
  • 대신 다른 BasicString 객체 또는 StringView을 소스로 사용해야 하는 경우 [SWS_CORE_03111] 또는 [SWS_CORE_03314]을 사용할 수 있습니다.
  • 반복자보다 위치 기반 인덱스(size_type)를 선호하는 경우 개발자는 [SWS_CORE_03106] 또는 [SWS_CORE_03109]와 같은 오버로드를 활용할 수 있습니다.
  • 일반 반복자 범위 또는 이니셜라이저 리스트로 대체하려면 [SWS_CORE_03411] 및 [SWS_CORE_03413]이 사용됩니다.

이 사용 지침은 AI에 의해 생성되었으며 AUTOSAR Adaptive R25-11 사양을 기반으로 합니다.

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

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

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

함수 replace [SWS_CORE_03411]

template <class InputIterator> BasicString & replace (const_iterator i1, const_iterator i2, Input Iterator j1, InputIterator j2);

As per corresponding usage in [basic.string]

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

사용

헤더 ara/core/string.h에 속한 ara::core::BasicString 클래스의 동기 템플릿 멤버 함수 replace은(는) 반복자 쌍 [i1, i2)에 의해 정의된 문자열의 부분 범위를 임의의 InputIterator [SWS_CORE_03411]의 입력 범위 [j1, j2) 문자 시퀀스로 대체합니다. 이 동작은 [basic.string]의 시맨틱을 따르며 수정된 객체에 대한 참조(*this)를 반환하므로 메서드 체이닝 호출이 가능합니다[SWS_CORE_03411].

오류 처리 및 예외 안전성

이 연산은 명시적으로 예외에 안전하지 않음(not exception safe)으로 지정되어 있습니다[SWS_CORE_03411]. 범위 초과 시 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation 위반으로 이어지는 [SWS_CORE_03107], [SWS_CORE_03108] 또는 [SWS_CORE_03313]과 같은 위치 기반 오버로드와 달리, 이 반복자 변형에는 특정 위반 사항이 정의되어 있지 않습니다[SWS_CORE_03411].

동시성 및 상호 작용

모듈 표준이 내부 동기화 메커니즘을 규정하지 않으므로 외부 잠금 없이 동일한 인스턴스에 여러 스레드가 동시에 쓰거나 읽기 접근하는 것은 스레드 안전하지 않을 것으로 보입니다(해석). 질문 Q-250c70f7907661f8 (열림) 이 함수는 BasicString [SWS_CORE_03111], StringView [SWS_CORE_03314], 문자 배열 [SWS_CORE_03112], [SWS_CORE_03406], 초기화 리스트 [SWS_CORE_03413] 및 문자 반복 [SWS_CORE_03414]을 위한 변형도 포함하는 반복자 기반 대체 제품군에 속합니다. 위치 기반 대체의 경우 [SWS_CORE_03106]과(와) 같은 대안을 사용할 수 있습니다.

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

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

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

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

함수 replace [SWS_CORE_03413]

BasicString & replace (const_iterator, const_iterator, std::initializer_list< value_type >);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

헤더 ara/core/string.h에서 제공되는 ara::core::BasicString 클래스([SWS_CORE_03413])의 멤버 함수 replace은 두 const_iterator로 구분된 문자 범위를 std::initializer_list<value_type>의 요소들로 동기식으로 대체합니다. 반환값으로는 수정된 BasicString 객체에 대한 참조를 반환합니다([SWS_CORE_03413]). 기능적 동작은 C++ 표준 규격 [basic.string]에 해당하며, 이때 문자 타입 charT는 value_type으로 대체됩니다([SWS_CORE_03413]).

오류 및 예외 처리와 관련하여, 이 함수는 not exception safe로 분류됩니다([SWS_CORE_03413]). IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation와 같은 특정 런타임 위반이 정의되어 있는 인덱스 기반 변형([SWS_CORE_03107], [SWS_CORE_03108], [SWS_CORE_03313])과 달리, 이 반복자 기반 오버로드는 AUTOSAR 위반 사항을 명시하지 않습니다. 사양에 동기화 메커니즘이 마련되어 있지 않으므로, 동일한 문자열 인스턴스에 대한 동시 수정 접근은 스레드 안전하지 않을 것으로 추정됩니다. 질문 Q-98d41e8b094a04a4 (열림)

이 연산은 전체 문자열([SWS_CORE_03111]), 길이가 지정된 포인터([SWS_CORE_03112]), 문자열 포인터([SWS_CORE_03406]), StringView([SWS_CORE_03314]), 반복자 범위([SWS_CORE_03411]) 및 문자 반복([SWS_CORE_03414])을 위한 반복자 기반 대체 메서드의 범위를 보완합니다. 추가적으로 인덱스 및 위치 기반 오버로드가 존재합니다([SWS_CORE_03106], [SWS_CORE_03109], [SWS_CORE_03110], [SWS_CORE_03312]).

이 텍스트는 AI에 의해 작성되고 큐레이션되었습니다.

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

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

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

함수 replace [SWS_CORE_03414]

BasicString & replace (const_iterator i1, const_iterator i2, size_type n, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

헤더 파일 #include "ara/core/string.h"을 통해 제공되는 ara::core::BasicString 클래스([SWS_CORE_03414])의 멤버 함수 replace은 반복자 쌍 i1 및 i2로 구분된 문자열의 하위 범위를 value_type 타입 문자 c의 n개 연속 복사본으로 대체합니다. 동작은 [basic.string]의 표준화된 시맨틱에 해당하며, AUTOSAR 편차에 따라 charT이 value_type로 치환됩니다([SWS_CORE_03414]). 동기 호출은 반환값으로 수정된 BasicString 객체에 대한 참조를 반환합니다([SWS_CORE_03414]).

오류 처리와 관련하여, 이 함수는 not exception safe로 분류됩니다([SWS_CORE_03414]). 범위 또는 길이 오류 시 IsoStdOutOfRangeViolation 또는 IsoStdLengthErrorViolation와 같은 특정 런타임 오류를 발생시키는 [SWS_CORE_03107] 또는 [SWS_CORE_03108]와 같은 인덱스 기반 오버로드와 달리, [SWS_CORE_03414]는 위반 사항을 언급하지 않습니다. 해석: 예외 안전성이 없는 상태에서 잘못된 범위는 정의되지 않은 동작으로 이어질 가능성이 높으므로, 호출자는 i1 및 i2에 의해 지정된 반복자 범위의 유효성을 스스로 확보해야 할 것으로 추정됩니다. 질문 Q-7cf889abe845c23e (열림)

클래스의 다른 오버로드와 연계하여 [SWS_CORE_03414]은 인덱스 기반 함수 [SWS_CORE_03110](인덱스 pos부터 n1개 문자를 n2개 문자 c로 대체)에 대응하는 반복자 기반 구성 요소입니다. 추가적인 반복자 기반 대안을 통해 BasicString 객체([SWS_CORE_03111]), 길이가 지정된 문자 배열([SWS_CORE_03112]), 널 종료 문자열([SWS_CORE_03406]), StringView([SWS_CORE_03314]), 반복자 쌍([SWS_CORE_03411]) 또는 초기화 리스트([SWS_CORE_03413])로 대체할 수 있습니다.

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

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

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

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

함수 reserve [SWS_CORE_03054]

void reserve (size_type res_arg=0);

As per corresponding usage in [basic.string] except for the following deviations: 1. if (res_arg > max_size()) IsoStdLengthErrorViolation is raised instead of std:: length_error

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

ara::core::BasicString 클래스의 동기 멤버 함수 reserve([SWS_CORE_03054])은(는) core 모듈에서 문자열의 용량 예약에 사용됩니다. 이 함수는 <ara/core/string.h> 헤더 파일을 통해 포함되며 기본적으로 [basic.string]에 대한 ISO C++ 표준의 시맨틱을 따릅니다. 호출은 void reserve(size_type res_arg=0) 시그니처를 통해 이루어지며, 매개변수 res_arg은(는) 기본적으로 0(으)로 미리 설정되어 있고 아무런 값도 반환되지 않습니다 [SWS_CORE_03054].

오류 처리와 관련하여 명세는 C++의 표준 동작과의 명시적인 차이를 정의합니다:

  • 요청된 메모리 값이 최대 크기를 초과하면(res_arg > max_size()), std::length_error 대신 IsoStdLengthErrorViolation이(가) 발생합니다 [SWS_CORE_03054].
  • 이때 이 위반의 내용 설명은 std::length_error의 정의에 해당합니다 [SWS_CORE_03054].

예외 안전성과 관련된 제한 사항으로, 이 함수는 명시적으로 not exception safe로 분류되어 있습니다 [SWS_CORE_03054]. 이러한 방식은 유효하지 않은 용량 요청 시 마찬가지로 IsoStdLengthErrorViolation을(를) 사용하는 <ara/core/vector.h>의 컨테이너 클래스 ara::core::Vector의 reserve 메서드와 일치합니다([SWS_CORE_01347]).

이 텍스트는 AI에 의해 작성되었으며, 링크된 명세만 구속력을 가집니다.

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception safe
Verletzungen (Violations)IsoStdLengthEr- Description as per std::length_error rorViolation

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

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

함수 resize [SWS_CORE_03058]

void resize (size_type sz);

As per corresponding usage in [basic.string] except for the following deviations: 1. if (sz > max_size()) IsoStdLengthErrorViolation is raised instead of std:: length_error

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

ara::core::BasicString의 동기식 멤버 함수 resize([SWS_CORE_03058])은(는) 문자열의 길이를 지정된 요소 수 sz에 맞게 조정합니다. C++ 표준 유형 [basic.string]의 의미 체계를 따르지만, 오류 처리와 관련하여 AUTOSAR 고유의 특성을 가집니다.

오류 처리 및 예외 안전성

요청된 크기 sz이(가) 최댓값 max_size()을(를) 초과하면, std::basic_string와(과) 달리 std::length_error이(가) 생성되지 않고 IsoStdLengthErrorViolation이(가) 발생합니다([SWS_CORE_03058]). 이 작업은 사양에서 명시적으로 not exception safe로 선언되어 있습니다([SWS_CORE_03058]). 내부 메모리 할당 또는 확장이 실패하는 경우 객체의 상태는 해석: 정의되지 않거나 일관되지 않은 상태로 남을 수 있으므로, 호출자는 크기 검사를 사전에 수행해야 합니다. 질문 Q-c6d85e83b588ae2e (열림)

상호 작용 및 관련 인터페이스

  • 확장 시 목적에 맞는 채우기를 위해 ara::core::BasicString은(는) 오버로드 resize(size_type, value_type)을(를) 제공합니다([SWS_CORE_03059]).
  • 컨테이너 클래스 ara::core::Vector도 유사한 동작을 보입니다. 해당 메서드 [SWS_CORE_01350] 및 [SWS_CORE_01351]도 max_size() 초과 시 IsoStdLengthErrorViolation을(를) 발생시키며 마찬가지로 예외 보증을 제공하지 않습니다.

이 텍스트는 AUTOSAR Adaptive R25-11 명세를 기반으로 AI에 의해 생성되었습니다.

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception safe
Verletzungen (Violations)IsoStdLengthEr- Description as per std::length_error rorViolation

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

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

함수 resize [SWS_CORE_03059]

void resize (size_type sz, value_type c);

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type 2. if (sz > max_size()) IsoStdLengthErrorViolation is raised instead of std:: length_error

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

클래스 ara::core::BasicString의 동기식 멤버 함수 resize(헤더 ara/core/string.h에 선언됨, [SWS_CORE_03059])은(는) 포함된 문자 수를 대상 크기 sz에 맞게 조정합니다. 문자열이 커지면 추가 문자는 value_type 유형의 전달된 문자 c(으)로 채워집니다. 의미 체계는 C++ 표준의 [basic.string]에 정의된 내용을 따르지만, charT이(가) value_type(으)로 대체된다는 점에서 차이가 있습니다([SWS_CORE_03059]).

오류 처리 및 경계 조건과 관련하여 다음 명세가 적용됩니다:

  • 위반: sz > max_size()이(가) 적용되면 IsoStdLengthErrorViolation이(가) 트리거됩니다. 이는 std::length_error의 표준 던지기를 대체합니다([SWS_CORE_03059]).
  • 예외 안전성: 이 작업은 not exception safe로 선언되어 있습니다([SWS_CORE_03059]). 따라서 크기 위반과 같은 오류 상태는 일반적인 C++ 예외를 발생시키는 대신 플랫폼 측에서 직접 중단으로 이어질 것으로 보입니다. 질문 Q-dbaa99841e0a0735 (열림)

이 메서드는 ara::core::BasicString 내에서 기능적 오버로드 resize(size_type sz)을(를) 보완합니다([SWS_CORE_03058]). 최대 길이 초과 시 IsoStdLengthErrorViolation에 대한 동일한 전략을 ara::core::Vector의 컨테이너 메서드, 즉 resize(size_type sz)([SWS_CORE_01350]) 및 resize(size_type sz, const T &c)([SWS_CORE_01351])도 사용합니다.

이 텍스트는 AI에 의해 생성되었으며 참고용으로 제공됩니다. 항상 공식 AUTOSAR 사양이 결정적인 기준입니다.

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Exception-Sicherheitnot exception safe
Verletzungen (Violations)IsoStdLengthEr- Description as per std::length_error rorViolation

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

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

함수 rfind [SWS_CORE_03316]

size_type rfind (StringView sv, size_type pos=npos) const noexcept;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

ara::core::BasicString 클래스([SWS_CORE_03316])의 멤버 함수 rfind은 검색 위치 pos(기본값 npos) 이전 또는 해당 위치에서 StringView sv에 의해 설명된 부분 시퀀스의 마지막 일치 항목을 역방향으로 문자열에서 검색합니다. 이 함수는 헤더 ara/core/string.h을 통해 포함되며 일치 항목의 인덱스를 size_type로 반환합니다. 시맨틱은 [basic.string]을 따르며, charT는 value_type으로 대체되었습니다([SWS_CORE_03316]).

오류 처리 및 예외 안전성

이 연산은 noexcept으로 선언되어 있으며 예외 안전으로 분류됩니다([SWS_CORE_03316]). 사양에는 특정 오류 코드나 오류 메시지(DET/DEM)가 정의되어 있지 않습니다. 검색 패턴을 찾지 못한 경우 함수는 기본 [basic.string] 시맨틱에 따라 npos 값을 반환합니다.

동시성 및 상호 작용

const 메서드로서 rfind은 인스턴스의 상태를 변경하지 않으므로, 동일한 문자열에 대한 동시 읽기 접근은 외부 동기화 없이도 허용될 것으로 보입니다. ara::core::BasicString 내에서 이 함수는 현대적인 대안을 제시합니다. const value_type* 및 value_type에 대한 오버로드([SWS_CORE_03326], [SWS_CORE_03327], [SWS_CORE_03328])는 예외 안전하지 않은 것으로 표시되어 있는 반면, StringView 변형은 const BasicString&에 대한 오버로드([SWS_CORE_03325])와 함께 noexcept 보증을 공유합니다. 읽기 전용 문자열 뷰의 경우 ara::core::StringView에 해당하는 rfind도 존재합니다([SWS_CORE_02161]). 질문 Q-f01ebf1745d77e74 (열림)

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

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

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

Record
AUTOSAR/AP/record/SWS_CORE_03316
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03316@rel:R25-11#d5f287db
Content hash
d5f287db
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03316
Status: valid/unmigrated Version: rel:R25-11#a7dba94f Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CORE_03316@rel:R25-11#a7dba94f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#860240592026-09-30
  • R19-11rel:R19-11#93cab4042026-10-14
  • R20-11rel:R20-11#661afb272026-10-14
  • R21-11rel:R21-11#97ac3d2f2026-10-14
  • R22-11rel:R22-11#83e75ac82026-10-14
  • R23-11rel:R23-11#2e0f154a2026-10-14
  • R24-11rel:R24-11#c7b1903a2026-10-14
  • R25-11rel:R25-11#a7dba94f2026-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_03325]

size_type rfind (const BasicString &str, size_type pos=npos) const noexcept;

As per corresponding usage in [basic.string]

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

사용

ara::core::BasicString 클래스([SWS_CORE_03325])의 멤버 함수 rfind은 문자열에서 전달된 부분 문자열 str이 마지막으로 나타나는 위치를 역방향으로 검색합니다. 이 함수는 헤더 #include "ara/core/string.h"에 선언되어 있습니다([SWS_CORE_03325]). 매개변수 pos은 역방향 검색의 시작 위치를 결정하며 기본값은 npos입니다. 이때 시맨틱은 [basic.string]에서의 사용에 해당합니다([SWS_CORE_03325]). 해석: 부분 문자열을 찾지 못한 경우 [basic.string]에 따라 npos을(를) 반환하여 알릴 것으로 보입니다. 질문 Q-1470357608d753c1 (열림)

오류 처리 및 예외 안전성

이 메서드는 noexcept(으)로 선언되어 있으며 명시적으로 예외 안전(“exception safe”)으로 지정되어 있습니다([SWS_CORE_03325]). 런타임에 예외를 발생시키지 않으며 오류 코드를 사용하지 않습니다.

상호작용 및 오버로드

ara::core::BasicString 클래스 내에는 검색 연산을 위한 관련 오버로드가 존재합니다:

이 텍스트는 AI에 의해 작성되었으며 AUTOSAR 사양의 요구사항을 기반으로 합니다.

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

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

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

함수 rfind [SWS_CORE_03326]

size_type rfind (const value_type *s, size_type pos, size_type n) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

[SWS_CORE_03326]의 멤버 함수 rfind은 ara::core::BasicString의 인스턴스(#include "ara/core/string.h"에 정의됨) 내에서 부분 문자열을 동기적으로 역방향 검색하는 데 사용됩니다. 시작 위치 pos부터 포인터 s와 길이 사양 n에 의해 지정된 시퀀스를 역방향으로 문자열에서 검색합니다. 동작은 charT이 value_type로 대체되었다는 편차를 제외하고 C++ 표준의 [basic.string] 사양과 일치합니다.

매개변수 전달 및 호출 컨텍스트와 관련하여, 기본 사양에서 명시적인 포인터 검사를 제공하지 않으므로 구현은 s이 value_type 타입의 유효한 요소를 최소 n개 이상 가진 배열을 가리키고 있다고 가정할 것으로 보입니다. 질문 Q-f3b95ce1cdb3037a (열림) 반환값으로 함수는 표준 동작에 따라 size_type 타입의 검색된 위치를 반환하거나 실패할 경우 npos 값을 반환합니다.

견고성 및 동시성과 관련하여 [SWS_CORE_03326]은 not exception safe로 지정되어 있으며 noexcept 지정자를 가지지 않습니다. 따라서 constexpr 및 noexcept로 선언된 ara::core::StringView의 해당 포인터 오버로드([SWS_CORE_02163])와 근본적으로 다릅니다. 또한 예외 안전으로 표시된 StringView([SWS_CORE_03316]) 및 BasicString 참조([SWS_CORE_03325])용 BasicString 변형들과도 다릅니다. 예외 안전성의 결여는 오버로드 [SWS_CORE_03327] 및 [SWS_CORE_03328]와 공유됩니다.

이 사용 참고사항은 자동으로 생성되었으며 전적으로 AUTOSAR 플랫폼의 사양 요건을 기반으로 합니다.

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

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

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

함수 rfind [SWS_CORE_03327]

size_type rfind (const value_type *s, size_type pos=npos) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

ara::core::BasicString 클래스([SWS_CORE_03327], 헤더 파일 ara/core/string.h)의 멤버 함수 rfind은 기본값으로 npos이 사전 설정된 시작 위치 pos부터 const value_type* 타입의 전달된 널 종료 문자열 s가 마지막으로 나타나는 위치를 역방향으로 검색합니다. 동작은 [basic.string]의 정의를 따르며, charT는 value_type으로 대체됩니다 [SWS_CORE_03327].

사용법 및 제약 조건과 관련하여 다음 사항들이 적용됩니다:

  • 호출 컨텍스트 및 매개변수: 동기 검색 함수는 검색할 문자열을 가리키는 포인터 s과 선택적 인덱스 pos을 예상합니다. 검색된 부분 문자열 시작 부분의 인덱스 위치를 size_type로 반환하거나 일치하는 항목이 없을 경우 npos을 반환합니다 [SWS_CORE_03327].
  • 예외 안전성: noexcept로 선언된 StringView([SWS_CORE_03316]) 및 BasicString([SWS_CORE_03325])에 대한 오버로드와 달리, 이 함수는 not exception safe로 분류됩니다 [SWS_CORE_03327]. 이는 아마도 실행 중에 예외가 배제되지 않음을 의미하는 것으로 보입니다. 질문 Q-175c749c7f0c276a (열림)
  • 상호작용 및 대안: 추가적인 길이 제한이 있는 검색의 경우 매개변수 n을 포함하는 오버로드를 사용할 수 있으며([SWS_CORE_03326]), 단일 문자 검색은 [SWS_CORE_03328]를 통해 지원됩니다. ara::core::StringView에 대한 대입이 존재하는 한, 다르게 pos = 0을 기본값으로 사용하는 예외 안전으로 선언된 해당 변형([SWS_CORE_02161], [SWS_CORE_02164])도 존재합니다.

이 사용 참고사항은 자동으로 작성되었습니다. 모든 정보는 전적으로 AUTOSAR Adaptive(릴리스 R25-11)의 사양을 기반으로 합니다.

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

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

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

함수 rfind [SWS_CORE_03328]

size_type rfind (value_type c, size_type pos=npos) const;

As per corresponding usage in [basic.string] except for the following deviations: 1. charT replaced with value_type

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

사용

헤더 ara/core/string.h에 있는 ara::core::BasicString 클래스([SWS_CORE_03328])의 멤버 함수 rfind은 value_type 타입의 문자 c가 처음으로 나타나는 위치를 역방향으로 문자열에서 검색합니다. 검색은 기본값으로 npos이 사전 설정된 pos 위치부터 동기적으로 시작됩니다. 동작은 [basic.string]의 정의와 일치하며, charT는 value_type으로 대체되었습니다([SWS_CORE_03328]). 반환값으로 함수는 발견된 문자의 인덱스를 size_type로 반환합니다.

오류 처리 및 동시성

noexcept 및 예외 안전으로 명시된 StringView([SWS_CORE_03316]) 또는 BasicString([SWS_CORE_03325])을 사용하는 문자열 기반 오버로드와 달리, 이 단일 문자 검색은 사양에 따라 명시적으로 예외 안전이 아님(not exception safe)으로 분류됩니다([SWS_CORE_03328]). 이 메서드 호출에 대해 특정 AUTOSAR 오류 코드나 DET 또는 DEM으로의 메시지는 제공되지 않습니다. 상수 접근 메서드이므로 인스턴스가 동시에 수정되지 않는 한 여러 스레드로부터의 순수 읽기 호출은 동시적으로 가능할 것으로 보입니다. 질문 Q-b995c05a04d5e955 (열림)

상호 작용

이 메서드는 마찬가지로 예외 안전하지 않은 것으로 분류되는 BasicString::rfind의 포인터 오버로드([SWS_CORE_03326] 및 [SWS_CORE_03327])를 보완합니다. 소유권 기반이 아닌 문자열 참조를 사용할 수 있는 경우, ara::core::StringView은 단일 문자([SWS_CORE_02162]) 및 부분 문자열([SWS_CORE_02161], [SWS_CORE_02163], [SWS_CORE_02164])에 대해 전반적으로 constexpr 및 noexcept로 선언된 유사한 검색 함수를 제공합니다.

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

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

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

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

함수 shrink_ [SWS_CORE_03056]

void shrink_to_fit ();

As per corresponding usage in [basic.string]

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

사용

멤버 함수 shrink_to_fit()(명세 요소에는 shrink_(으)로 선언됨)은 모듈 core에 속하며 헤더 파일 #include "ara/core/string.h"을(를) 통해 클래스 ara::core::BasicString의 스코프에서 사용할 수 있습니다 [SWS_CORE_03056]. 이 메서드는 매개변수가 없는 시그니처 void shrink_to_fit ();을(를) 가지며 반환값을 반환하지 않습니다 [SWS_CORE_03056]. 요구사항에 따르면 해당 시맨틱은 [basic.string]에서의 해당 사용 방식을 따릅니다 [SWS_CORE_03056]. 실행은 동기식으로 수행되며, 해석에 따르면 메모리 용량을 문자열의 실제 길이에 맞추는 역할을 합니다.

오류 처리 및 예외 안전성

오류 처리와 관련하여 이 메서드는 not exception safe로 분류되도록 명시되어 있습니다 [SWS_CORE_03056]. 이 연산에 대한 특별한 오류 코드나 DET 또는 DEM을 통한 알림은 존재하지 않습니다. 내부 메모리 재할당이 실패할 경우, 이 오류 상태는 예외 보호 없이 환경으로 즉시 전파될 것으로 보입니다. 질문 (열림)

동시성 및 제약사항

함수 shrink_to_fit()이(가) 내부 데이터 구조를 변경하므로, ara::core::BasicString의 동일한 인스턴스에 대한 동시 호출은 스레드 안전하지 않을 것으로 추정됩니다 [SWS_CORE_03056]. 질문 (열림) 따라서 호출하는 소프트웨어 컴포넌트는 필요한 경우 동일한 문자열에 대한 경쟁적 접근을 외부에서 보호해야 합니다.

이 사용 지침은 AUTOSAR Adaptive Platform 릴리스 R25-11 사양을 기반으로 합니다.

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

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

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

함수 size [SWS_CORE_03052]

size_type size () const noexcept;

As per corresponding usage in [basic.string]

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

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

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

함수 substr [SWS_CORE_03345]

BasicString substr (size_type pos=0, size_type n=npos) const;

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

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

사용

ara::core::BasicString 클래스의 substr 메서드는 [SWS_CORE_03345]에 따라 BasicString 타입의 새로운 부분 문자열을 동기적으로 생성합니다. 이 함수는 #include "ara/core/string.h" 헤더 파일을 통해 사용할 수 있습니다. 매개변수 pos은(는) 시작 위치를 결정하고(기본값 0), n은(는) 가져올 문자의 최대 개수를 지정합니다(기본값 npos). 시맨틱은 C++ 표준의 [basic.string] 동작과 대체로 일치합니다.

오류 처리 및 제한 사항

오류 발생 시 구현은 의도적으로 표준과 다르게 동작합니다. 즉, pos > size()인 경우 일반적인 std::out_of_range 대신 IsoStdOutOfRangeViolation이(가) 발생합니다 [SWS_CORE_03345]. 예외 안전성과 관련하여 이 메서드는 not exception safe로 분류되어 있으므로, 호출자는 위반 발생 시 또는 새 BasicString 객체를 위한 메모리 할당 시 상태에 주의해야 합니다.

상호 작용

유사한 동작이 ara::core::StringView 클래스의 substr 메서드에서도 나타납니다 [SWS_CORE_02141]. 두 인터페이스 모두 범위 초과 시(pos > size()) 동일한 IsoStdOutOfRangeViolation을(를) 발생시킵니다. 그러나 할당을 수행하는 BasicString 변형과 달리, StringView에서의 연산은 constexpr, noexcept 및 exception safe로 명시되어 있습니다.

이 텍스트는 사양 데이터를 기반으로 AI에 의해 생성되었습니다.

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

함수 swap [SWS_CORE_03412]

void swap (BasicString &str) noexcept(std::allocator_traits< Allocator >::propagate_on_container_swap::value||std::allocator_traits< Allocator >::is_always_equal::value);

As per corresponding usage in [basic.string]

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

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

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

함수 ~BasicString [SWS_CORE_03038] Upstream: RS_AP_00145

~BasicString ();

As per corresponding usage in [basic.string]

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

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

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

타입 별칭 문서

타입 별칭 allocator_type [SWS_CORE_03005]

using allocator_type = Allocator;

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolallocator_type

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

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

타입 별칭 const_iterator [SWS_CORE_00072]

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

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

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolconst_iterator

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

Record
AUTOSAR/AP/record/SWS_CORE_00072
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00072@rel:R25-11#0802d3d9
Content hash
0802d3d9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00072
Status: valid/unmigrated Version: rel:R25-11#c46946d2 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_00072@rel:R25-11#c46946d2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#802e45482026-09-30
  • R24-11rel:R24-11#9b7f5a322026-10-14
  • R25-11rel:R25-11#c46946d22026-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_03015]

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

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolconst_pointer

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

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

타입 별칭 const_reference [SWS_CORE_03017]

using const_reference = const value_type&;

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolconst_reference

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

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

타입 별칭 const_reverse_iterator [SWS_CORE_03019]

using const_reverse_iterator = std::reverse_iterator<const_iterator>;

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolconst_reverse_iterator

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

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

타입 별칭 difference_type [SWS_CORE_03013]

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

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symboldifference_type

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

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

타입 별칭 iterator [SWS_CORE_00071]

using iterator = {<iterator-type>};

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

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symboliterator

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

Record
AUTOSAR/AP/record/SWS_CORE_00071
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00071@rel:R25-11#e0013c2f
Content hash
e0013c2f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00071
Status: valid/unmigrated Version: rel:R25-11#4671c278 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_00071@rel:R25-11#4671c278
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cf2f21b82026-09-30
  • R24-11rel:R24-11#c41a0a9d2026-10-14
  • R25-11rel:R25-11#4671c2782026-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_03014]

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

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolpointer

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

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

타입 별칭 reference [SWS_CORE_03016]

using reference = value_type&;

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolreference

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

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

타입 별칭 reverse_iterator [SWS_CORE_03018]

using reverse_iterator = std::reverse_iterator<iterator>;

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolreverse_iterator

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

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

타입 별칭 size_type [SWS_CORE_03012]

using size_type = typename std::allocator_traits<Allocator>::size_ type;

As per corresponding member in [basic.string] except for the following deviations: 1. Type shall be specialized to std::size_t

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolsize_type

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

Record
AUTOSAR/AP/record/SWS_CORE_03012
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_03012@rel:R25-11#bf2548ce
Content hash
bf2548ce
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_03012
Status: valid/unmigrated Version: rel:R25-11#f0940e92 Versionshistorie & Revisions (1 transition, 5 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_03012@rel:R25-11#f0940e92
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#c77b17e62026-09-30
  • R22-11rel:R22-11#5bdb8d782026-10-14
  • R23-11rel:R23-11#7246a5772026-10-14
  • R24-11rel:R24-11#9c1265462026-10-14
  • R25-11rel:R25-11#f0940e922026-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

타입 별칭 traits_type [SWS_CORE_03003]

using traits_type = typename std::char_traits<char>;

As per corresponding usage in [basic.string] except for the following deviations: 1. Type shall be specialized to std::char_traits<char>

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symboltraits_type

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

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

타입 별칭 value_type [SWS_CORE_03004]

using value_type = typename std::allocator_traits<Allocator>::value_ type;

As per corresponding usage in [basic.string] except for the following deviations: 1. Type shall be specialized to std::allocator_traits<Allocator>::value_type

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolvalue_type

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

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

상수 / 변수 문서

변수 npos [SWS_CORE_00073]

static constexpr size_type const npos = size_type(-1);

As per corresponding usage in [basic.string]

Header-Datei#include "ara/core/string.h"
Scopeclass ara::core::BasicString
Symbolnpos
Typsize_type const

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

Record
AUTOSAR/AP/record/SWS_CORE_00073
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_00073@rel:R25-11#739da13c
Content hash
739da13c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_00073
Status: valid/unmigrated Version: rel:R25-11#48d3de6a 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_00073@rel:R25-11#48d3de6a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#df4710782026-09-30
  • R24-11rel:R24-11#35a79a292026-10-14
  • R25-11rel:R25-11#48d3de6a2026-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