[#BloombergLP-bslstl-Function_Rep-target] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_Rep.adoc[Function_Rep]::target :relfileprefix: ../../../ :mrdocs: If `typeid(TP) == this‐>target_type()`, return a pointer offering modifiable access to this object's target; otherwise return a null pointer. Note that this function is `const` but returns a non‐`const` pointer because, according to the C++ Standard, `function` (and therefore this representation) does not adhere to logical constness conventions. == Synopsis Declared in `<bslstl_function_rep.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TP> TP* target() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#