boostorg / boostorg/interprocess

Provide extended allocators interface (e.g. grow/realloc) like Boost.Container

未关闭
#116 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
185
派生
131
PR 合并指标
30 天内没有已合并 PR

描述

[Boost.Container allocators support extra interfaces than the standard allocator requirements](https://www.boost.org/doc/libs/1_73_0/doc/html/container/extended_allocators.html).

Some of these functions are useful even to C libraries that used to enjoy `realloc()` like features. So this extra interface is useful even if we're not planning to use it with standard containers.

It'd be nice if Boost.Interprocess could provide a few of these features for its [allocators](https://www.boost.org/doc/libs/1_73_0/doc/html/interprocess/allocators_containers.html) as [`managed_shared_memory`](https://www.boost.org/doc/libs/1_73_0/doc/html/interprocess/managed_memory_segments.html#interprocess.managed_memory_segments.managed_memory_segment_features.allocate_deallocate) has plenty of features not found in Boost.Container allocators and we cannot use Boost.Container extended allocators to manage preallocated memory regions.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先阅读链接的 Boost.Container 扩展 allocator 文档,然后将其与 Boost.Interprocess 的 allocator 和 managed_shared_memory 文档进行比较。确定哪些 allocator 操作可以支持预分配内存区域,并定义所需的接口和测试。当选定的扩展操作可以通过 Boost.Interprocess allocator 使用,且不依赖标准容器要求时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
operating-systems
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。