|
tetl 0.1.0
Embedded Template Library
|
Provides the nested type type, which is a trivial standard-layout type suitable for use as uninitialized storage for any object whose size is at most Len and whose alignment requirement is a divisor of Align. The default value of Align is the most stringent (the largest) alignment requirement for any object whose size is at most Len. If the default value is not used, Align must be the value of alignof(T) for some type T, or the behavior is undefined. More...
#include <aligned_storage.hpp>
Classes | |
| struct | type |
Related Symbols | |
(Note that these are not member symbols.) | |
| template<size_t Len, size_t Align = alignof(detail::aligned_storage_impl<Len>)> | |
| using | aligned_storage_t = typename aligned_storage< Len, Align >::type |
Provides the nested type type, which is a trivial standard-layout type suitable for use as uninitialized storage for any object whose size is at most Len and whose alignment requirement is a divisor of Align. The default value of Align is the most stringent (the largest) alignment requirement for any object whose size is at most Len. If the default value is not used, Align must be the value of alignof(T) for some type T, or the behavior is undefined.