2 Copyright 2015 Glen Joseph Fernandes
5 Distributed under the Boost Software License, Version 1.0.
6 (http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_ALIGN_ALIGN_UP_HPP
9 #define BOOST_ALIGN_ALIGN_UP_HPP
11 #include <boost/align/detail/align_up.hpp>
16 BOOST_CONSTEXPR inline std::size_t
17 align_up(std::size_t value, std::size_t alignment) BOOST_NOEXCEPT
19 return (value + alignment - 1) & ~(alignment - 1);