std::pmr::polymorphic_allocator::select_on_container_copy_construction
polymorphic_allocator select_on_container_copy_construction() const; | | (since C++17) |
---|
返回默认构造的polymorphic_allocator
对象。
参数
%280%29
返回值
默认构造polymorphic_allocator
对象。
注记
polymorphic_allocator
S不在容器复制结构上传播。
另见
select_on_container_copy_construction static | obtains the allocator to use after copying a standard container (public static member function of std::allocator_traits) |
---|
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com