]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/align/include/boost/align/detail/assume_aligned_msvc.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / align / include / boost / align / detail / assume_aligned_msvc.hpp
1 /*
2 (c) 2015 NumScale SAS
3 (c) 2015 LRI UMR 8623 CNRS/University Paris Sud XI
4
5 (c) 2015 Glen Joseph Fernandes
6 <glenjofe -at- gmail.com>
7
8 Distributed under the Boost Software
9 License, Version 1.0.
10 http://boost.org/LICENSE_1_0.txt
11 */
12 #ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_MSVC_HPP
13 #define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_MSVC_HPP
14
15 #include <cstddef>
16
17 #define BOOST_ALIGN_ASSUME_ALIGNED(p, n) \
18 __assume(((std::size_t)(p) & ((n) - 1)) == 0)
19
20 #endif