]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/align/include/boost/align/detail/alignment_of_codegear.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / align / include / boost / align / detail / alignment_of_codegear.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 BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CODEGEAR_HPP
10#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CODEGEAR_HPP
11
12#include <boost/align/detail/integral_constant.hpp>
13#include <cstddef>
14
15namespace boost {
16namespace alignment {
17namespace detail {
18
19template<class T>
20struct alignment_of
21 : integral_constant<std::size_t, alignof(T)> { };
22
23} /* .detail */
24} /* .alignment */
25} /* .boost */
26
27#endif