]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/align/detail/alignment_of_codegear.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / align / detail / alignment_of_codegear.hpp
CommitLineData
7c673cae 1/*
b32b8144
FG
2Copyright 2014 Glen Joseph Fernandes
3(glenjofe@gmail.com)
7c673cae 4
b32b8144
FG
5Distributed under the Boost Software License, Version 1.0.
6(http://www.boost.org/LICENSE_1_0.txt)
7c673cae
FG
7*/
8#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CODEGEAR_HPP
9#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CODEGEAR_HPP
10
11#include <boost/align/detail/integral_constant.hpp>
12#include <cstddef>
13
14namespace boost {
15namespace alignment {
16namespace detail {
17
18template<class T>
19struct alignment_of
20 : integral_constant<std::size_t, alignof(T)> { };
21
b32b8144
FG
22} /* detail */
23} /* alignment */
24} /* boost */
7c673cae
FG
25
26#endif