std::forward_list<T,Allocator>::get_allocator_C++中文网
位置:首页 > C++ 参考手册 >容器库 >std::forward_list > std::forward_list<T,Allocator>::get_allocator
std::forward_list<T,Allocator>::get_allocator
| allocator_type get_allocator() const; |
(C++11 起) | |
返回与容器关联的分配器。
参数
(无)
返回值
关联的分配器。
复杂度
常数。