Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/align/detail/min_size.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 /* |
Chris@102 | 2 (c) 2014 Glen Joseph Fernandes |
Chris@102 | 3 glenjofe at gmail dot com |
Chris@102 | 4 |
Chris@102 | 5 Distributed under the Boost Software |
Chris@102 | 6 License, Version 1.0. |
Chris@102 | 7 http://boost.org/LICENSE_1_0.txt |
Chris@102 | 8 */ |
Chris@102 | 9 #ifndef BOOST_ALIGN_DETAIL_MIN_SIZE_HPP |
Chris@102 | 10 #define BOOST_ALIGN_DETAIL_MIN_SIZE_HPP |
Chris@102 | 11 |
Chris@102 | 12 #include <boost/align/detail/integral_constant.hpp> |
Chris@102 | 13 #include <cstddef> |
Chris@102 | 14 |
Chris@102 | 15 namespace boost { |
Chris@102 | 16 namespace alignment { |
Chris@102 | 17 namespace detail { |
Chris@102 | 18 template<std::size_t A, std::size_t B> |
Chris@102 | 19 struct min_size |
Chris@102 | 20 : integral_constant<std::size_t, |
Chris@102 | 21 (A < B) ? A : B> { |
Chris@102 | 22 }; |
Chris@102 | 23 } |
Chris@102 | 24 } |
Chris@102 | 25 } |
Chris@102 | 26 |
Chris@102 | 27 #endif |