std::basic_string::get_allocator
allocator_type get_allocator() const; | | |
---|
返回与字符串关联的分配器。
参数
%280%29
返回值
相关联的分配器。
复杂性
常量。
另见
allocator | the default allocator (class template) |
---|---|
allocator_traits (C++11) | provides information about allocator types (class template) |
uses_allocator (C++11) | checks if the specified type supports uses-allocator construction (class template) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com