]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/align/example/aligned_vector.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / align / example / aligned_vector.hpp
CommitLineData
7c673cae
FG
1/*
2(c) 2014 Glen Joseph Fernandes
3<glenjofe -at- gmail.com>
4
5Distributed under the Boost Software
6License, Version 1.0.
7http://boost.org/LICENSE_1_0.txt
8*/
9#ifndef ALIGNED_VECTOR_HPP
10#define ALIGNED_VECTOR_HPP
11
12#include <boost/align/aligned_allocator.hpp>
13#include <vector>
14
15template<class T, std::size_t Alignment = 1>
16using aligned_vector = std::vector<T,
17 boost::alignment::aligned_allocator<T, Alignment> >;
18
19#endif