标准库容器映射和字典mapget_allocator本页内容 std::map get_allocator() 方法 自 C++11 起直到 C++11// Const version onlyallocator_type get_allocator() const noexcept;// Const version onlyallocator_type get_allocator() const; 返回与容器关联的分配器。 参数 (无) 返回值 关联的分配器。 异常 (无) 复杂度 常数。本文源自此 CppReference 页面。它可能为了改进或编辑者偏好而进行了修改。点击“编辑此页面”查看此文档的所有更改。悬停查看原始许可证。
标准库容器映射和字典mapget_allocator本页内容 std::map get_allocator() 方法 自 C++11 起直到 C++11// Const version onlyallocator_type get_allocator() const noexcept;// Const version onlyallocator_type get_allocator() const; 返回与容器关联的分配器。 参数 (无) 返回值 关联的分配器。 异常 (无) 复杂度 常数。本文源自此 CppReference 页面。它可能为了改进或编辑者偏好而进行了修改。点击“编辑此页面”查看此文档的所有更改。悬停查看原始许可证。