type_with_alignment.qbk 546 B

12345678910111213141516171819202122
  1. [/
  2. Copyright 2007 John Maddock.
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt).
  6. ]
  7. [section:type_with_alignment type_with_alignment]
  8. template <std::size_t Align>
  9. struct type_with_alignment
  10. {
  11. typedef __below type;
  12. };
  13. __type a built-in or POD type with an alignment
  14. that is a multiple of `Align`.
  15. __header ` #include <boost/type_traits/type_with_alignment.hpp>` or ` #include <boost/type_traits.hpp>`
  16. [endsect]