bsl::function::target

If TP is the same type as the target object, returns a pointer granting read-only access to the target; otherwise return a null pointer.

Synopsis

Declared in <bslstl_function.h>

template<class TP>
TP const*
target() const noexcept;