assume_aligned.hpp 786 B

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