]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | (c) 2014 Glen Joseph Fernandes | |
3 | <glenjofe -at- gmail.com> | |
4 | ||
5 | Distributed under the Boost Software | |
6 | License, Version 1.0. | |
7 | http://boost.org/LICENSE_1_0.txt | |
8 | */ | |
9 | #ifndef ALIGNED_PTR_HPP | |
10 | #define ALIGNED_PTR_HPP | |
11 | ||
12 | #include <boost/align/aligned_delete.hpp> | |
13 | #include <memory> | |
14 | ||
15 | template<class T> | |
16 | using aligned_ptr = std::unique_ptr<T, | |
17 | boost::alignment::aligned_delete>; | |
18 | ||
19 | #endif |