Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.90.0.
template <std::size_t Size, std::size_t Align>
struct aligned_storage
{
typedef see-below type;
};
type: a built-in or POD type with size
Size and an alignment that
is a multiple of Align.
Header: #include
<boost/type_traits/aligned_storage.hpp>
or #include <boost/type_traits.hpp>