Namespaces
Variants

std::basic_string<CharT,Traits,Allocator>:: get_allocator

From cppreference.net
std::basic_string
allocator_type get_allocator ( ) const ;
(C++20부터 noexcept)
(C++20부터 constexpr)

문자열과 연결된 할당자를 반환합니다.

목차

매개변수

(없음)

반환값

연관된 할당자.

복잡도

상수.

참고 항목

기본 할당자
(클래스 템플릿)
할당자 타입에 대한 정보를 제공함
(클래스 템플릿)
지정된 타입이 uses-allocator 생성 방식을 지원하는지 확인함
(클래스 템플릿)