Boost.Align aligned_allocator_adaptor review
Changing e-mail subject from 'Re: [boost] Boost.Align review request'. On Fri, Feb 28, 2014, Glen Fernandes wrote:
On Fri, Feb 28, 2014, Mathias Gaunard wrote:
It has functions to adapt any memory allocating scheme or C++ allocator into an aligned version.
Related to the first point, I recently implemented class template boost::aligned_allocator_adaptor to complement boost::aligned_allocator, but I think I could improve the implementation.
I've improved the implementation of aligned_allocator_adaptor; it does two things that I believe SIMD's version does not do yet: 1. It supports C++11 minimal allocators which do not need to provide all typedefs beyond value_type 2. It supports C++11 allocators which have 'pointer' as a smart pointer (or otherwise non-raw pointer) type Code: http://github.com/glenfe/align/blob/master/include/boost/align/aligned_alloc... I'd be happy to contribute this functionality to SIMD's allocator adaptor, via a patch or pull request, if you're interested. Glen
participants (1)
-
Glen Fernandes