[#bsl-function-0a-isInplace] = xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function]::isInplace :relfileprefix: ../../ :mrdocs: Return whether this object's target uses in‐place storage. == Synopsis Declared in `<bslstl_function.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isInplace() const noexcept; ---- == Description Return `true` if this `function` is empty or if it is non‐empty and its target qualifies for the small‐object optimization (and is thus allocated within this object's footprint); otherwise, return false. DEPRECATED: Runtime checking of this optimization is discouraged. == Return Value `true` if empty or the target is stored in‐place [.small]#Created with https://www.mrdocs.com[MrDocs]#