assume_aligned.hpp 767 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. (c) 2015 NumScale SAS
  3. (c) 2015 LRI UMR 8623 CNRS/University Paris Sud XI
  4. (c) 2015 Glen Joseph Fernandes
  5. <glenjofe -at- gmail.com>
  6. Distributed under the Boost Software
  7. License, Version 1.0.
  8. http://boost.org/LICENSE_1_0.txt
  9. */
  10. #ifndef BOOST_ALIGN_ASSUME_ALIGNED_HPP
  11. #define BOOST_ALIGN_ASSUME_ALIGNED_HPP
  12. #include <boost/config.hpp>
  13. #if defined(BOOST_MSVC)
  14. #include <boost/align/detail/assume_aligned_msvc.hpp>
  15. #elif defined(BOOST_CLANG) && defined(__has_builtin)
  16. #include <boost/align/detail/assume_aligned_clang.hpp>
  17. #elif BOOST_GCC_VERSION >= 40700
  18. #include <boost/align/detail/assume_aligned_gcc.hpp>
  19. #elif defined(__INTEL_COMPILER)
  20. #include <boost/align/detail/assume_aligned_intel.hpp>
  21. #else
  22. #include <boost/align/detail/assume_aligned.hpp>
  23. #endif
  24. #endif