[#bsl-function-0a-target-0a9] = xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function]::target :relfileprefix: ../../ :mrdocs: `target` overloads == Synopses Declared in `<bslstl_function.h>` If `TP` is the same type as the target object, returns a pointer granting modifiable access to the target; otherwise return a null pointer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TP> TP* xref:bsl/function-0a/target-0ad.adoc[target]() noexcept; ---- [.small]#xref:bsl/function-0a/target-0ad.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TP> TP const* xref:bsl/function-0a/target-08.adoc[target]() const noexcept; ---- [.small]#xref:bsl/function-0a/target-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#