2 (c) 2014 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_DETAIL_IS_ALIGNMENT_CONSTANT_HPP
10 #define BOOST_ALIGN_DETAIL_IS_ALIGNMENT_CONSTANT_HPP
12 #include <boost/align/detail/integral_constant.hpp>
19 template<std::size_t N>
20 struct is_alignment_constant
21 : integral_constant<bool, (N > 0) && ((N & (N - 1)) == 0)> { };