2 Copyright 2014 Glen Joseph Fernandes
5 Distributed under the Boost Software License, Version 1.0.
6 (http://www.boost.org/LICENSE_1_0.txt)
9 #ifndef BOOST_ALIGN_IS_ALIGNED_HPP
10 #define BOOST_ALIGN_IS_ALIGNED_HPP
12 #include <boost/align/detail/is_aligned.hpp>
17 BOOST_CONSTEXPR inline bool
18 is_aligned(std::size_t value, std::size_t alignment) BOOST_NOEXCEPT
20 return (value & (alignment - 1)) == 0;