mirror of
https://github.com/boostorg/align.git
synced 2026-01-22 04:52:09 +00:00
20 lines
375 B
C++
20 lines
375 B
C++
/*
|
|
(c) 2014 Glen Joseph Fernandes
|
|
glenjofe at gmail dot com
|
|
|
|
Distributed under the Boost Software
|
|
License, Version 1.0.
|
|
http://boost.org/LICENSE_1_0.txt
|
|
*/
|
|
#ifndef ALIGNED_PTR_HPP
|
|
#define ALIGNED_PTR_HPP
|
|
|
|
#include <boost/align/aligned_delete.hpp>
|
|
#include <memory>
|
|
|
|
template<class T>
|
|
using aligned_ptr = std::unique_ptr<T,
|
|
boost::alignment::aligned_delete>;
|
|
|
|
#endif
|