]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | ||
8 | [section:type_with_alignment type_with_alignment] | |
9 | ||
10 | template <std::size_t Align> | |
11 | struct type_with_alignment | |
12 | { | |
13 | typedef __below type; | |
14 | }; | |
15 | ||
16 | __type a built-in or POD type with an alignment | |
17 | that is a multiple of `Align`. | |
18 | ||
19 | __header ` #include <boost/type_traits/type_with_alignment.hpp>` or ` #include <boost/type_traits.hpp>` | |
20 | ||
21 | [endsect] | |
22 |