| Home | Libraries | People | FAQ | More

## max_align

### Authors

- Peter Dimov

### Header <boost/core/max_align.hpp>

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`.

#### Synopsis

    namespace boost
    {
    namespace core
    {

    union max_align_t;

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

    } // namespace core
    } // namespace boost