Skip to content

Ensure types correctly use allocator_traits<A>::pointer #348

@Twon

Description

@Twon

Add tests to ensure types correctly use allocator_traits<A>::pointer, ideally based on boost::offset_ptr.

As @Quuxplusone points out on this PR there should be further testing added for testing to ensure types correctly make use of allocator_traits<A>::pointer.

Adding Boost as a dependency is a little heavy weight as we require a mechanism for supporting the dependency (perhaps Conan?). However, we could emulate this with a custom offset_ptr implementation for the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions