std::basic_string<CharT,Traits,Allocator>::get_allocator
cppreference.net에서 가져옴
allocator_type get_allocator() const;
|
(C++20부터 noexcept) (C++20부터 constexpr) |
|
문자열과 연관된 할당자를 반환합니다.
매개변수
(없음)
반환값
연관된 할당자.
복잡도
상수.
참고 항목
|
기본 할당자
(클래스 템플릿) |
|
|
(C++11)
|
할당자 타입에 대한 정보를 제공함
(클래스 템플릿) |
|
(C++11)
|
지정된 타입이 uses-allocator 생성 방식을 지원하는지 확인함
(클래스 템플릿) |