Imported Upstream version 1.49.0
[platform/upstream/boost.git] / libs / type_traits / doc / aligned_storage.qbk
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:aligned_storage aligned_storage]
9
10    template <std::size_t Size, std::size_t Align>
11    struct aligned_storage
12    {
13       typedef __below type;
14    };
15   
16 __type a built-in or POD type with size `Size` and an alignment 
17 that is a multiple of `Align`.  
18
19 __header ` #include <boost/type_traits/aligned_storage.hpp>` or ` #include <boost/type_traits.hpp>`
20
21 [endsect]
22