Imported Upstream version 1.64.0
[platform/upstream/boost.git] / boost / align / detail / assume_aligned_gcc.hpp
1 /*
2 Copyright 2015 NumScale SAS
3 Copyright 2015 LRI UMR 8623 CNRS/University Paris Sud XI
4
5 Copyright 2015 Glen Joseph Fernandes
6 (glenjofe@gmail.com)
7
8 Distributed under the Boost Software License, Version 1.0.
9 (http://www.boost.org/LICENSE_1_0.txt)
10 */
11 #ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_GCC_HPP
12 #define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_GCC_HPP
13
14 #define BOOST_ALIGN_ASSUME_ALIGNED(p, n) \
15 (p) = static_cast<__typeof__(p)>(__builtin_assume_aligned((p), (n)))
16
17 #endif