comparison DEPENDENCIES/generic/include/boost/align/detail/max_align.hpp @ 102:f46d142149f5

Whoops, finish that update
author Chris Cannam
date Mon, 07 Sep 2015 11:13:41 +0100
parents
children
comparison
equal deleted inserted replaced
101:c530137014c0 102:f46d142149f5
1 /*
2 (c) 2014 Glen Joseph Fernandes
3 glenjofe at gmail dot com
4
5 Distributed under the Boost Software
6 License, Version 1.0.
7 http://boost.org/LICENSE_1_0.txt
8 */
9 #ifndef BOOST_ALIGN_DETAIL_MAX_ALIGN_HPP
10 #define BOOST_ALIGN_DETAIL_MAX_ALIGN_HPP
11
12 #include <boost/align/detail/integral_constant.hpp>
13 #include <cstddef>
14
15 namespace boost {
16 namespace alignment {
17 namespace detail {
18 template<std::size_t A, std::size_t B>
19 struct max_align
20 : integral_constant<std::size_t,
21 (A > B) ? A : B> {
22 };
23 }
24 }
25 }
26
27 #endif