[#BloombergLP-bsls-PlatformUtil-roundUpToMaximalAlignment] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/PlatformUtil.adoc[PlatformUtil]::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`. == Synopsis Declared in `<bsls_platformutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int roundUpToMaximalAlignment(int size); ---- == Description lmf_ForwardingTypeDEPRECATED: Use `AlignmentUtil::roundUpToMaximalAlignment` instead. [.small]#Created with https://www.mrdocs.com[MrDocs]#