abseil / abseil/abseil-cpp

Custom pointers in container allocators

未关闭
#1,120 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
C++
星标
18.1k
派生
3.2k
平均合并
20 小时 36 分钟
30 天内合并 PR
1

描述

Hello, I notice that currently some of the containers [don't support allocators which use custom pointer types](https://github.com/abseil/abseil-cpp/blob/04bde89e5cb33bf4a714a5496fac715481fc4831/absl/container/internal/raw_hash_set.h#L756). This could be useful for using the containers with allocators that make use of custom pointers, such as the boost interprocess allocators for working with shared memory. I was wondering if there were any particular reasons it's not supported, and if there were any big issues foreseen with doing so?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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