Subject: Re: [boost] Boost.Align review begins today
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-04-12 17:41:07
On Saturday 12 April 2014 17:45:33 you wrote:
> 13. Feature request: Please, provide aligned_deleter function object in a
> separate header. The function object should call aligned_free() to free
> memory and can be used with unique_ptr. This pretty much is done in one of
> the examples in the docs.
Actually, I should clarify this. aligned_deleter should be not quite the same
as in the docs but rather:
typedef void result_type;
template< typename T >
result_type operator() (T* p) const
Note that the deleter is not a template. The point is not to duplicate the
pointee type in the unique_ptr specialization.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk