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 the documentation for a snapshot of the develop branch, built from commit adcd4c09f0.
PrevUpHomeNext

max_align

Header <boost/core/max_align.hpp>

Authors

  • Peter Dimov

The header <boost/core/max_align.hpp> defines the type boost::core::max_align_t, a portable equivalent of std::max_align_t, and the constant boost::core::max_align, the alignment of max_align_t.

namespace boost
{
namespace core
{

union max_align_t;

constexpr std::size_t max_align = alignof(max_align_t);

} // namespace core
} // namespace boost

PrevUpHomeNext