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.
Add tests to ensure types correctly use
allocator_traits<A>::pointer, ideally based onboost::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_ptrimplementation for the tests.