2 (c) 2014-2015 Glen Joseph Fernandes
3 <glenjofe -at- gmail.com>
5 Distributed under the Boost Software
7 http://boost.org/LICENSE_1_0.txt
9 #ifndef BOOST_ALIGN_ALIGNED_DELETE_HPP
10 #define BOOST_ALIGN_ALIGNED_DELETE_HPP
12 #include <boost/align/aligned_alloc.hpp>
13 #include <boost/align/aligned_delete_forward.hpp>
18 struct aligned_delete {
20 void operator()(T* ptr) const
21 BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(ptr->~T())) {
24 boost::alignment::aligned_free(ptr);