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