Namespaces
Variants

std::pmr::polymorphic_allocator<T>:: select_on_container_copy_construction

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
polymorphic_allocator select_on_container_copy_construction ( ) const ;
(C++17부터)

기본 생성된 polymorphic_allocator 객체를 반환합니다.

목차

매개변수

(없음)

반환값

기본 생성된 polymorphic_allocator 객체.

참고 사항

polymorphic_allocator 는 컨테이너 복사 생성 시 전파되지 않습니다.

참고 항목

표준 컨테이너 복사 후 사용할 할당자를 획득함
( std::allocator_traits<Alloc> 의 public static 멤버 함수)