|
Boost : |
Subject: Re: [boost] Review request for Boost.Align
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2014-02-28 18:20:18
On Fri, Feb 28, 2014, Mathias Gaunard wrote:
> The code is here if you're interested:
> <https://github.com/MetaScale/nt2/tree/master/modules/boost/simd/sdk/include/boost/simd/memory>
>
> It has functions to adapt any memory allocating scheme or C++ allocator into
> an aligned version.
> It has a mechanism similar to Boost.Assert where you can globally define
> your underlying custom memory allocator.
>
> It also has functions to make use of system-specific functions, which are
> used by default.
Thanks. 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.
The mechanism to supporting globally defining a custom allocator is
interesting. I'll take a look; thanks.
Glen
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk