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)
8 #ifndef BOOST_ALIGN_DETAIL_IS_ALIGNMENT_HPP
9 #define BOOST_ALIGN_DETAIL_IS_ALIGNMENT_HPP
11 #include <boost/config.hpp>
18 BOOST_CONSTEXPR inline bool
19 is_alignment(std::size_t value) BOOST_NOEXCEPT
21 return (value > 0) && ((value & (value - 1)) == 0);