[#BloombergLP-bslstl-Function_SmallObjectOptimization-SooFuncSize-value]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_SmallObjectOptimization.adoc[Function&lowbar;SmallObjectOptimization]::xref:BloombergLP/bslstl/Function_SmallObjectOptimization/SooFuncSize.adoc[SooFuncSize]::value
:relfileprefix: ../../../../
:mrdocs:

`value` encodes the size of the `TP` type using the algorithm defined in the documentation for this class&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;function&lowbar;smallobjectoptimization&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::size&lowbar;t const value = sizeof(TP) &plus; k&lowbar;SOO&lowbar;ENCODING&lowbar;OFFSET;
----


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