2 (c) 2015 Glen Joseph Fernandes
3 <glenjofe -at- gmail.com>
5 Distributed under the Boost Software
7 http://boost.org/LICENSE_1_0.txt
9 #ifndef BOOST_ALIGN_ALIGN_DOWN_HPP
10 #define BOOST_ALIGN_ALIGN_DOWN_HPP
12 #include <boost/align/detail/align_down.hpp>
13 #include <boost/align/align_down_forward.hpp>
18 BOOST_CONSTEXPR inline std::size_t align_down(std::size_t value,
19 std::size_t alignment) BOOST_NOEXCEPT
21 return value & ~(alignment - 1);