bitwizeshift / bitwizeshift/BackportCpp

Polymorphic Allocators

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Complexity: High Priority: Medium Status: Available Type: Request
Dominant language
C++
Stars
94
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [x] I did not find a duplicate of this feature request in the Github Issues section.

----------

### Description

C++17 introduces new polymorphic allocator support with [`std::polymorphic_allocator`](https://en.cppreference.com/w/cpp/memory/polymorphic_allocator), along with `std::memory_resource` and aliases of all container types as new vocabulary types inside of `std::pmr` namespace.

These utilities are extremely useful for supporting different allocation strategies in a composable way, and would be beneficial to be added to **Backport**

Contributor guide

Open the contributing guide

Research direction

The issue names C++17's std::polymorphic_allocator, std::memory_resource, and std::pmr container aliases, but it does not identify files, tests, or an implementation entry point. Start by locating the existing backported vocabulary types and determine the intended scope; done should mean the requested polymorphic allocator support is implemented with appropriate coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.