Skip to content
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

Give til::bitmap custom allocator support and add til::pmr::bitmap #8787

Merged
2 commits merged into from
Jan 19, 2021

Commits on Jan 14, 2021

  1. Add custom allocator support to til::bitmap

    til::details::bitmap<Allocator> will use Allocator for its
    dynamic_bitset, and it will use a rebound allocator for its run storage.
    
    Allocator should be an allocator type storing `unsigned long long`, the
    backing store type for dynamic_bitset.
    
    I've introduced a type alias, `til::bitmap`, which papers over the
    allocator choice for all existing code. I've also introduced a second
    type alias, `til::pmr::bitmap`, which lets a consumer use the C++
    polymorphic allocator system.
    DHowett committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    3a076ab View commit details
    Browse the repository at this point in the history
  2. SA + Format

    DHowett committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    3e732a4 View commit details
    Browse the repository at this point in the history