mcpputil/include/mcpputil/mcpputil/alignment.hpp
inline size_t align(size_t sz, size_t alignment) noexcept
  {
    ::gsl::narrow<ptrdiff_t>(sz);
    ::gsl::narrow<ptrdiff_t>(alignment);
    return ::gsl::narrow<size_t>(((sz + alignment - 1) / alignment) * alignment);
  }
/**
   * \brief Align size to alignment.
   **/
\brief Align size to alignment.
\ brief Align size to alignment .
inline size_t align(size_t sz, size_t alignment) noexcept
  {
    ::gsl::narrow<ptrdiff_t>(sz);
    ::gsl::narrow<ptrdiff_t>(alignment);
    return ::gsl::narrow<size_t>(((sz + alignment - 1) / alignment) * alignment);
  }
inline size_t align ( size_t sz , size_t alignment ) noexcept { :: gsl :: narrow < ptrdiff_t > ( sz ) ; :: gsl :: narrow < ptrdiff_t > ( alignment ) ; return :: gsl :: narrow < size_t > ( ( ( sz + alignment - 1 ) / alignment ) * alignment ) ; }
\brief Align size to alignment.
\ brief Align size to alignment .