Skip to content

Custom allocator #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KingDuckZ
Copy link

Allow users to specify an allocator for the vector object used by the library. Also allow a functor to replace usage of std::make_unique with a custom version. Works with both C++14 and C++17.

This is the least intrusive change I could think of, but if you have suggestions I'm happy to make changes to this PR.

@codecov-commenter
Copy link

Codecov Report

Merging #2 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   98.69%   98.70%   +0.01%     
==========================================
  Files           3        3              
  Lines         153      155       +2     
==========================================
+ Hits          151      153       +2     
  Misses          2        2              
Impacted Files Coverage Δ
include/Quadtree.h 98.37% <100.00%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fec2e1a...0c512f8. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants