다음을 통해 공유


allocator_traits::select_on_container_copy_construction 메서드

Static method that calls select_on_container_copy_construction on the specified allocator.

static Alloc select_on_container_copy_construction(const Alloc& al);

매개 변수

  • al
    An allocator object.

반환 값

This method returns al.select_on_container_copy_construction(), if that type is well formed; otherwise it returns al.

설명

This method is used to specify an allocator when the associated container is copy-constructed.

요구 사항

헤더 <memory>

네임스페이스: std

참고 항목

참조

allocator_traits 클래스