[#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&period; The behavior is undefined unless `0 &lt;&equals; size`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;platformutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
roundUpToMaximalAlignment(int size);
----

== Description

lmf&lowbar;ForwardingTypeDEPRECATED&colon; Use `AlignmentUtil&colon;&colon;roundUpToMaximalAlignment` instead&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
