Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Swap and move boost::pool

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
tooling

Research direction

Start by reviewing the boost::pool implementation and its current ownership and lifetime behavior. Define the expected swap and move semantics for pool instances, then identify how those semantics should be validated. Done means the requested operations have clear behavior and coverage for the stated object-owning use case.

Written by the indexing model from the issue text.

Description

Hello,
from a quick look (so I can easily be mistaken) at the implementation of boost::pool, it looks like allowing swap and move operations should not cause any major issue. Is that something that you would consider?

Use case: we do not use a global pool (bad for threading), we have a few big objects (usually no more than a handful, or maybe 1-2 per thread) that each own a pool for their internal needs, and we would like to provide swap/move operations on those objects. Wrapping the pool in a unique_ptr is a possibility, but it seems like an unnecessary (small) waste.

Dominant language
C++
Stars
58
Forks
52
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/pool

All issues in boostorg/pool

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.