Custom swap function?

Open
#90 3 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
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
tooling

Research direction

The issue names no files, tests, or specific algorithms. Start by reviewing the sort algorithms and their current swap behavior, then determine which APIs would need a configurable swap operation. Done means the requested custom swap behavior is supported for the relevant algorithms and is covered by tests, including the stated signal-emitting use case.

Written by the indexing model from the issue text.

Description

Hello,

It will be great if these algorithms allow setting a custom swap function.
In my use-case besides swapping the values I need to do other work (on my qt application I need to fire also signals).

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

Contributor guide

No contributing guide indexed for this repository

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/sort

All issues in boostorg/sort

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.