bsl::function::isInplace

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.

Synopsis

Declared in <bslstl_function.h>

bool
isInplace() const noexcept;

Description

DEPRECATED: Runtime checking of this optimization is discouraged.