[#BloombergLP-bsls-AlignmentUtil-roundUpToMaximalAlignment] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AlignmentUtil.adoc[AlignmentUtil]::roundUpToMaximalAlignment :relfileprefix: ../../../ :mrdocs: Return the specified `size` (in bytes) rounded up to the smallest integral multiple of the maximum alignment. The behavior is undefined unless `0 <= size` and `size` satisfies: ` size <= std::numeric_limits<std::size_t>::max() ‐ BSLS_MAX_ALIGNMENT + 1 ` == Synopsis Declared in `<bsls_alignmentutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::size_t roundUpToMaximalAlignment(std::size_t size); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#